1. Use AntContrib <propertyregexp> and youŽll depend on ant-contrib.jar 2. use <script> and youŽll depend on bsf.jar + <language>.jar 3. use your own task and youŽll depend on that
Your choice :-) Jan > -----Ursprüngliche Nachricht----- > Von: Benoît Lubek [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 27. Oktober 2004 14:57 > An: [EMAIL PROTECTED] > Betreff: Simple manipulation of a property value > > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >