Sandeep -

The ant deploy task you need is found in catalina-ant.jar in $TOMCAT_HOME/server/lib.

Then in your build file a target like this should do:

<target name="deploy">
        <deploy url="127.0.0.1:8080"
                username="${manager_username}"
                password="${manager_password}"
                path="${webapp_path}"
                war="${war_file}"
                update="true"/>
</target>

Hope this helps!

-Mike Fowler
"I could be a genius if I just put my mind to it, and I,
I could do anything, if only I could get 'round to it"

Sandeep Kang wrote:
Hi all,

I have been trying hard to deploy my webapp on Tomcat-5.0.27 using a WAR
file. I have searched through the mail archives but havent been able to
find a well defined proceudre for deploying webapps using WAR files.

Plz can someone guide me on how to do that using Ant build.xml. Kindly
give detailed step by step procedure.

Thanks in advance.

Bye.




--------------------------------------------------------------------- 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