Re: tomcat list ant task queries
Karasek-XID, Nicolas wrote: 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/ superb -- what a great task/project, totally changes my view of ant. many thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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]
RE: tomcat list ant task queries
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]
AW: tomcat list ant task queries
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]