ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BenoƮt Lubek <benoit.lu...@pegasis.fr>
Subject Simple manipulation of a property value
Date Wed, 27 Oct 2004 12:56:43 GMT
Hi,

I have a property :

<property name="version" value="v1.0.2" />

And I'd like to manipulate it a bit, ie, change the "." to "_" (so it 
can be used for a cvs tag). So I'd like to have a property with the 
value "v1_0_2".

Is there a way to do that with the core tasks? I realize it would be 
easy to do it with the <script> task, but I would prefer to avoid the 
need to depend on another jar for our project... Any idea?

Thank you very much for your help.

B.LUBEK

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


Mime
View raw message