tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Tomcat Wiki] Update of "AntDeploy" by KonstantinKolinko
Date Fri, 29 Jul 2011 22:58:48 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.

The "AntDeploy" page has been changed by KonstantinKolinko:
http://wiki.apache.org/tomcat/AntDeploy?action=diff&rev1=2&rev2=3

Comment:
Update links. Update for newer Tomcat versions. Remove link to a good but old article (it
talks about TC4.1 and 5.0).

  You can deploy a war file using the following ant tasks - 
- Read this first http://tomcat.apache.org/tomcat-5.0-doc/manager-howto.html
+ Read this first http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html
- 1.  You need to have the tomcat manager application available for the host - add a context
manager.xml file
- pointing to ${catalina.home}/server/webapps/manager, which should be installed by default
  
+ 1.  You need to have the tomcat manager application available for the host. In Tomcat 6
and later it is like any other web application in {{{${catalina.base}/webapps}}}. In Tomcat
5.5 it is configured by reference -- as context file {{{manager.xml}}} in {{{${catalina.base}/conf/Catalina/localhost}}}
pointing to {{{${catalina.home}/server/webapps/manager}}}.
+ 
- 2.  Add the catalina-ant.jar to your classpath... mine was in ${catalina.home}/server/lib
+ 2.  Add the {{{catalina-ant.jar}}} to your classpath... mine was in {{{${catalina.home}/lib}}}
  
  {{{
  <taskdef resource="org/apache/catalina/ant/catalina.tasks" classpathref="your.class.path"
/>
@@ -27, +27 @@

  </target>
  }}}
  
- See also http://raibledesigns.com/wiki/Wiki.jsp?page=TomcatAntTasks
+ ----
+ [[CategoryFAQ]]
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message