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=27732>. 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=27732 Duplicate usage of task "deploy" won't reported by ant V.1.6.x Summary: Duplicate usage of task "deploy" won't reported by ant V.1.6.x Product: Ant Version: 1.6.1 Platform: Other URL: http://www.eurodata.de OS/Version: Linux Status: NEW Severity: Major Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] On using the task "deploy" with Tomcat 4.x/5.x, ant V1.6x (including the beta1 and the final 1.6.1 won't report the duplicate usage of the same target. I had the same target used twice, for explanation, here's a code snippet of my build.xml: ---snip--- <!-- Deployment --> <target name="deploy" depends="deploy:foo,deploy:bar"/> <target name="deploy.do"> <deploy url="${tomcat_url}" username="${tomcat_user}" password="${tomcat_pass}" path="${subproject.app_path}" war="${deploy}/myproj_${subproject.name}_${version}.war"/> </target> <!--target name="deploy" depends="deploy:foo,deploy:bar"/--> <target name="deploy:foo" depends="war:foo"> <antcall target="deploy.do"> <param name="subproject.name" value="foo"/> <param name="subproject.app_path" value="/Foo"/> </antcall> </target> <target name="deploy:bar" depends="war:bar"> <antcall target="deploy.do"> <param name="subproject.name" value="bar"/> <param name="subproject.app_path" value="/Bar"/> </antcall> </target> ---snip--- As you cann see above, the line with the two depends terms is twice in the file. The elder ant version 1.5.4 marked the build.xml as buggy and reported the mistake of using the task twice...Shouldn't this be reported the new ant versions too? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
