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=27641>. 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=27641 Ordering of targets affects processing of macro instance validation. Summary: Ordering of targets affects processing of macro instance validation. Product: Ant Version: 1.6.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In a build.xml, the following works or doesn't work depending on the declaration order of targets "case0" and "case1". If "case1" is defined first like below, everything works (and it should not). If "case0" is defined first things fail (as it should). [ --- snip --- ] <?xml version="1.0"?> <project name="testcase" default="case1"> <macrodef name="ATC" uri="phffht"> <attribute name="msg" default="'normal'"/> <sequential> <echo message="@{msg}"/> </sequential> </macrodef> <target name="case1"> <ATC xmlns="phffht"/> <ATC msg="hi" xmlns="phffht"/> <ATC /> </target> <target name="case0"> <ATC xmlns="phffht"/> <ATC /> </target> </project> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]