ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: scriptdef
Date Wed, 18 Jun 2003 05:07:17 GMT
On Wed, 18 Jun 2003 07:10 am, Alexey Solofnenko wrote:
> There seems a bug in <scriptdef> - it does not expand properties:
>
>   <scriptdef name="test" language="jython">
>     <attribute name="name"/>
> #script
> print ">>>>>> name='"+str(attributes.get('name'))+"'"
>   </scriptdef>
>   <property name="test" value="--test--"/>
>   <test name="${test}"/>
>
> prints
>
> >>>>>> name='${test}'
>
> Do I need to do it manually?
>

No, it's a bug - I'll look into it.

Thanks
Conor


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


Mime
View raw message