ant-user mailing list archives

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

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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message