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=21180>. 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=21180 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW ------- Additional Comments From [EMAIL PROTECTED] 2006-08-31 09:22 ------- This was originally reported when <import> was first introduced - it doesn't seem to happen any more. The original issue occurred in the following situation: a.xml: <project name="project-a" basedir="." default=""> <target name="target-a"> <echo message="This is target a"/> </target> </project> b.xml: <project name="project-b" basedir="." default=""> <import file="./a.xml"/> <target name="target-b" depends="target-a"> <echo message="This is target b"/> </target> </project> c.xml: <project name="project-c" basedir="." default=""> <import file="./a.xml"/> <target name="target-c" depends="target-a"> <echo message="This is target c"/> </target> </project> d.xml: <project name="project-d" basedir="." default=""> <import file="./b.xml"/> <import file="./c.xml"/> <target name="target-d" depends="target-b,target-c"> <echo message="This is target d"/> </target> </project> ant -f d.xml target-d This used to warn about multiple inclusion of a.xml, but doesn't seem to in the latest build of ANT. The above style of use (a 'diamond' of imports) seemed a reasonable one to want to use - the only thing worth checking is that whether ANT is tolerant of multiple imports - I assume it is because it doesn't complain. -- 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]