Hello John,

I wouldn't mind see your working version even if it is copy/pasted.
At least we know that it works and can extend from that example.

thanks,

jake

Wednesday, May 22, 2002, 10:07:59 AM, you wrote:

>> -----Original Message-----
>> From: Marc Logemann [mailto:[EMAIL PROTECTED]] 
>> Sent: 22 May 2002 15:03
>> To: [EMAIL PROTECTED]
>> Subject: reloading with ant
>> 
>> 
>> Hi,
>> 
>> i just wanna ask if the following scenario is the best for 
>> re-deploying WARs:
>> 
>> I am doing my build task with ant and transfer the WAR file 
>> of my application into the webapps folder of tomcat. Then i 
>> do a GET task with ant in order to re-deploy it, exacltly i 
>> would do a MANAGER REMOVE and MANAGER INSTALL with ant. I 
>> could delete the existing appfolder before i do install, but 
>> it should be the same.
>> 
>> Are there any better routines for automatic re-deploy or hot-deploy? 
>> 
>> Of course in order to do a manager remoce or manager install, 
>> i have to edit the web.xml of the manager app in order not to 
>> come up with basic http authentication or?
>> 
>> I am quite sure that there must be tons of developers which 
>> solved this problem cause the ANT-Tomcat workflow seems very common :)
>> 
>> 

JN> Marc

JN> Have you looked at the sample build.xml that comes with the sample webapp
JN> with Tomcat?  I merged that with the catalina-ant tasks (using the Ant
JN> script snippets in the manager-app howto) to create a generic build file
JN> that I use for most web-app development.

JN> Now I can deploy and remove my web-app during a build.  I also use a "list"
JN> task just so I'm sure my web-app has been deployed!

JN> I'd recommend you start by looking at these two files and seeing if you can
JN> extend them to suit your needs.  If you're still having problems, let me
JN> know, and I'll post "my" build.xml ("mine", in that I did the
JN> copying/pasting...!)

JN> HTH
JN> John

JN>  --
JN> John Niven
JN> Please reply through mailing list

JN> --
JN> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
JN> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



-- 
Best regards,
 Jacob                            mailto:[EMAIL PROTECTED]


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

Reply via email to