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
Here is what I do: Undefined: tomcat.username Undefined: tomcat.password Undefined: tomcatURL Deploying ${basedir}/${project.war} to ${tomcatURL} The key is failonerror="false" for the undeploy task. Tim -Original Messag

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