I'm not sure how you have set up your environment. But i would start inspecting my 
build.xml file. In there all your targets are defined. If you have one called deploy i 
would try it out. Otherwise i would add a target called deploy and the command needed 
to copy the file to your deployment catalog.

If you just want to see if it works without ant, all you need is to copy your war file 
to the webapps catalog of your tomcat installation.

Here is my deploy target frommy build.xml file :

 <target name="deploy" depends="war">
    <!--<exec executable="${env.CATALINA_HOME}/bin/shutdown.bat" 
output="shutdown.log"/>-->
    <delete dir="${env.CATALINA_HOME}/webapps/${baseName}"/>
    <copy file="${baseName}.war" todir="${env.CATALINA_HOME}/webapps/" 
overwrite="Yes"/>
    <echo>Please start the web server</echo>
  </target>

Good luck!

Abid

-----Original Message-----
From: Astrid Wagner [mailto:[EMAIL PROTECTED]
Sent: 14. juli 2003 13:03
To: [EMAIL PROTECTED]
Subject: deploying with ant


Hi,
I am trying to "install" my web application into a tomcat web installation.
I thought "ant install" is the right thing to do and it successfully 
performed but I can not
see any of my web part within the tomcat installation and neither can I 
call one of my  servlets.
 I thought I would see my application under the webapps directory but I 
did not. Do I have to make a "ant deploy"?
The documentation does not say so but how do I get the web application 
to the tomcat installation?
Thanks.

Astrid


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to