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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
  name="%pluginName"
  id="org.apache.ant"
  version="1.5.4"
  provider-name="%providerName">

  <runtime>
    <library name="lib/ant.jar">
      <export name="*"/>
      <packages prefixes="org.apache.tools"/>
    </library>
    <library name="lib/optional.jar">
      <export name="*"/>
      <packages prefixes="org.apache.tools.ant"/>
    </library>
    <library name="lib/catalina-ant.jar">
      <export name="*"/>
      <packages prefixes="org.apache.catalina.ant"/>
    </library>
  </runtime>
</plugin>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to