DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=33159>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33159 Summary: ant <deploy> task should cause a failure in target when encountering a failure Product: Tomcat 5 Version: 5.0.28 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Webapps:Manager AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] I have an ant target as follows (for remote deploying): <target name="remote-deploy" description="Deploy application to remote host"> <echo message="Deploying war to remote host: ${host} with tag ${tag.war}"/> <deploy url="http://${host}:8080/manager" username="${tomcat.username}" password="${tomcat.password}" path="/${app.name}" update="true" tag="${tag.war}" war="file:${gen.dir}/war/${webapp.war}"/> </target> A few days ago I noticed the following output from my nightly ant build: [deploy] FAIL - Encountered exception java.io.FileNotFoundException: /servers/jakarta-tomcat-5.0.24/work/Catalina/localhost/manager/sws-1.1-prod-2005 -01-10-2341/sws.war (No such file or directory) Something had happened to the filesystem, so the deploy wasn't successful. Even though the deploy failed, I got a BUILD SUCCESSFUL at the end of the ant output. Shouldn't that instead be a BUILD FAILED? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]