- http://bill.dudney.net/roller/bill/entry/catalina_aka_tomcat_ant_tasks
- http://raibledesigns.com/rd/entry/deploying_to_tomcat_using_ant
- http://tomcat.apache.org/tomcat-6.0-doc/api/index.html
Here is what is working for me:
<path id="tomcat.classpath"><pathelement location="${tomcat.home}/bin/tomcat-juli.jar"/><pathelement location="${tomcat.home}/lib/catalina-ant.jar"/><pathelement location="${tomcat.home}/lib/jasper.jar"/><pathelement location="${tomcat.home}/lib/servlet-api.jar"/></path><taskdef resourcce="org/apache/catalina/ant/catalina.tasks"classpathref="tomcat.classpath"/>
<target name="deploy" depends="make-war" if="tomcat.home"description="deploy Tomcat to the remote server"><deploy url="${manager.url}"username="${manager.username}"password="${manager.password}"path="${webappPath}"war="file:${dist.dir}/${webappPath}.war"update="true"/></target>
Nice to see your doing some work out there Brian!
ReplyDelete