ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: <comment> task
Date Thu, 08 Jan 2004 15:41:22 GMT
> From: Stefan Bodewig [mailto:bodewig@apache.org]
>
> [bodewig@bodewig tmp]$ cat > foo.xml
> <project>
>   <typedef name="foo" classname="java.lang.Object"/>
>   <foo id="my-foo"/>
>   <property name="my-foo.toString()" refid="my-foo"/>
>   <echo>${my-foo.toString()}</echo>
> </project>
> [bodewig@bodewig tmp]$ ant -f foo.xml
> Buildfile: foo.xml
>      [echo] java.lang.Object@4aeb52

Whoa, for a second there I though you could call methods off a reference,
before the <property name="my-foo.toString()" refid="my-foo"/> registered
in my brain ;-)  That would be way cool actually!!!

Hey Peter, can't you code that? ;-) --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message