Hey David.... Try this.....
Little bit of ant script to deploy your WAR as many times as you want.... I
like!
Now if the original user had to say put 3 contexts on 5 different
machines... very cool!
Just read the ant script.....
<project name="Deployer" default="compile" basedir=".">
<path id="deployer.classpath">
<fileset dir="${basedir}/lib">
<include name="*.jar"/>
</fileset>
</path>
<taskdef resource="org/apache/catalina/ant/catalina.tasks"
classpathref="deployer.classpath"/>
<!-- point url at manager -->
<!-- change to username and password to Tomcat Admin -->
<!-- war is the path to the thing you trying to install -->
<!-- dont change update -->
<!-- path is the Context (the name you want it to be)-->
<!-- In Netbeans right click and run task deploy
then change to next context and do again and again and again
can deploy same war to many contexts.....
-->
<target name="deploy" description="Deploy web application">
<deploy url="http://localhost:8080/manager" username="admin" password=""
war="D:\\DEV\\PROJECTS\\GangBangDemo\\dist\\GangBangDemo.war"
update="true"
path="/Test2"
/>
</target>
</project>
<!-- MAKE a simple java application
make a "lib" folder under the application folder
add
catalina-ant.jar
catalina-deployer.jar
el-api.jar
jasper.jar
jasper-el.jar
jsp-api.jar
servlet-api.jar
tomcat-juli.jar
They are all in your Tomcat Libs....
Note if you add 'localWar' parameter to deploy
you can set the destination web-app location on the "local" machine
So in theory you can stick wars all over your machine... not just
under tomcat web-apps.... but if you want deploy to another machine
that probably wont work over network... coz you wont even know if the
folder exists
ONLY TESTED ON Netbeans
-->
----- Original Message -----
From: "David kerber" <[EMAIL PROTECTED]>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]