tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Mahar" <DMa...@penson.ca>
Subject Tip: Eclipse 3.0, Ant 1.5.4, Tomcat 5.0 Manager Ant tasks
Date Mon, 19 Jan 2004 17:37:21 GMT
Here's how to install the Tomcat 5.0 Manager Ant tasks into the Eclipse
3.0 Ant plugin:

1. Copy $CATALINA_HOME/server/lib/catalina-ant.jar to
$ECLIPSE_HOME/plugins/org.apache.ant_1.5.4/.

2. Insert the following library element into
$ECLIPSE_HOME/plugins/org.apache.ant_1.5.4/plugin.xml (see attached
file):

<library name="lib/catalina-ant.jar">
  <export name="*"/>
  <packages prefixes="org.apache.catalina.ant"/>
</library>

3. Restart Eclipse, display the Ant view, add a new Tomcat Ant build
file.  You should see all the Tomcat Manager Ant tasks such as deploy,
list, reload, undeploy.

Eclipse
The best Java development environment on the planet.
http://www.eclipse.org

Apache Ant
http://ant.apache.org

Derek

Mime
View raw message