Hi Tim,
To prevent the Undeploy task failing to stop the process you can wrap it
in a TryCatch task from ant contrib.
Take a look at http://ant-contrib.sourceforge.net/

-- 
Nicolas

-----Original Message-----
From: Tim Diggins [mailto:[EMAIL PROTECTED] 
Sent: jeudi 23 juin 2005 13:28
To: Tomcat
Subject: tomcat list ant task queries

Hi -

(using ant to deploy an application for testing purposes)

Is there a way to use the "list" anttask to put the list of installed 
tasks into a property?

That way I could make a very flexible "reload" target which would check 
if the context was already in the list, and if it was then undeploy it, 
and then finally deploy it (otherwise the undeploy task generates an 
error which stops the process).

Or is there another (better) way to do this?

thanks in advance

Tim

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