In ant documentation there is a description of Common Attributes of all Tasks. There's an attribute id that is "a Unique identifier for this task instance, can be used to reference this task in scripts. "
I'm very curious of how this can be used. I get the impression it can be used as shorthand for calling defined tasks or something. I've fiddled with stuff such as this (with no success, needless to say :| ): <target name="atest" id="test1"> <echo id="test.echo" message="The test."/> </target> <target name="wontwork"> <test1 /> <antcall target="test1"/> <test.echo /> <antcall target="test.echo"/> </target> What is the use of the general id attribute? I know of the id/refid mechanism for patternsets, filesets etc, can it be used for other types as well? /George ===== -\|/-/|\-\|/-/|\-\|/-/|\-\|/-/|\-\|/-/|\-\|/- George Spalding Private: [EMAIL PROTECTED] Phone: Mobile: +46 701 849 507 Home: +46 8 21 36 59 -/|\-\|/-/|\-\|/-/|\-\|/-/|\-\|/-/|\-/|\-\|/- __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>