RE: Redeploying a war file from a build script

2006-06-01 Thread William Press
Thank you. This is incredibly helpful. - Bill -Original Message- From: Tim Lucia [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 4:17 AM To: 'Tomcat Users List' Subject: RE: Redeploying a war file from a build script Here is what I do: Undefined: tomca

RE: Redeploying a war file from a build script

2006-06-01 Thread Tim Lucia
--Original Message- From: William Press [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 7:41 PM To: users@tomcat.apache.org Subject: Redeploying a war file from a build script I am writing a build script that would redeploy a war file at the end of the build. If I use DeployTa

Re: Redeploying a war file from a build script

2006-05-31 Thread Marc Farrow
do some sort of iffail type error handling with your ant script. On 5/31/06, William Press <[EMAIL PROTECTED]> wrote: I am writing a build script that would redeploy a war file at the end of the build. If I use DeployTask and the application was already deployed from a previous build, I get

Redeploying a war file from a build script

2006-05-31 Thread William Press
I am writing a build script that would redeploy a war file at the end of the build. If I use DeployTask and the application was already deployed from a previous build, I get an error. If I use UndeployTask first and the application is not already deployed (which would happen the first time