ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Deferring references
Date Mon, 25 Sep 2006 04:27:58 GMT
On Fri, 22 Sep 2006, Peter Reilly <> 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 name="sub1">
        <script language="netrexx"><![CDATA[
          theEcho.setMessage("In sub1")

      <target name="sub2">
        <script language="javascript"><![CDATA[
          theEcho.setMessage("In sub2");

      <target name="main" depends="sub1,sub2"/>

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

This example predates Ant 1.2 IIRC.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message