ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raja Nagendra Kumar <Nagendra.R...@tejasoft.com>
Subject Re: AW: AW: properties echo with absolute values
Date Mon, 05 Oct 2009 14:42:37 GMT

Thank you Jan, nice to know 1.8 has many things which we are looking to..

Also, would it be possible to have more default protocol handers such as
"toFile"  ,"toLocation" , "toURL" etc as built in ones. or more generically
name of the the method as protocol

Regards,
Nagendra

Jan.Materne wrote:
> 
> For upcoming Ant 1.8.0 there is a hook you can plugin for resolving
> properties.
> ${protocol:name} and a 'protocol'handler will convert 'name' to a String.
> 
> http://svn.apache.org/repos/asf/ant/core/trunk/docs/manual/using.html#propertyHelper
> 
> 
> Jan
> 
>>-----Urspr√ľngliche Nachricht-----
>>Von: Raja Nagendra Kumar [mailto:Nagendra.Raja@tejasoft.com] 
>>Gesendet: Freitag, 2. Oktober 2009 08:04
>>An: user@ant.apache.org
>>Betreff: Re: AW: properties echo with absolute values
>>
>>
>>Hi Jan,
>>
>>In our context, we are using <var> task to set this variable. 
>>Var does not
>>seem to support location. Properties read only-set only once 
>>approach would
>>not work with us, as this value would get chanced in each call to that
>>target.
>>
>>I saw there are some thing like property hooks which 
>>supporting ${toString:
>>xyz} kind of resolutions. It would be nice, if there are more 
>>such hooks -
>>say to call any method of that object. This avoids adding 
>>another explicit
>>property.
>>
>>Regards,
>>Nagendra
>>
>>
>>
>>
>>-- 
>>View this message in context: 
>>http://www.nabble.com/properties-echo-with-absolute-values-tp25
>>704095p25710820.html
>>Sent from the Ant - Users mailing list archive at Nabble.com.
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>For additional commands, e-mail: user-help@ant.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/properties-echo-with-absolute-values-tp25704095p25752120.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message