On Fri, 22 Sep 2006, Peter Reilly <[EMAIL PROTECTED]> wrote: > I propose that we defer handing id's until the processing > stage.
Will probably break something like <project name="testscript" default="main"> <target name="sub"> <echo id="theEcho"/> </target> <target name="sub1"> <script language="netrexx"><![CDATA[ theEcho.setMessage("In sub1") sub.execute ]]></script> </target> <target name="sub2"> <script language="javascript"><![CDATA[ theEcho.setMessage("In sub2"); sub.execute(); ]]></script> </target> <target name="main" depends="sub1,sub2"/> </project> which is copied straight from the examples for <script> in the Ant manual for version 1.6.5. I.e. it breaks something that was documented to work before. One could even assume it was a best practice, given it was used in the manual. This example predates Ant 1.2 IIRC. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]