ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.rei...@corvil.com>
Subject Re: <comment> task
Date Thu, 08 Jan 2004 15:43:27 GMT
Dominique Devienne wrote:

>>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
>  
>
I think that this is coded already using the jexl property support
in proposal/embed.

Peter


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


Mime
View raw message