Hi Tim,

what you also can do is just checking if the directory of the webapp exists.
So this would be a check on the filesystem and not in Tomcat, but should
work as well.

Cheers

Bernhard
 
> -----Ursprüngliche Nachricht-----
> Von: Tim Diggins [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 23. Juni 2005 13:28
> An: Tomcat
> Betreff: 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