Have you tried Ant Props?
http://ant.apache.org/antlibs/props/index.html
https://svn.apache.org/repos/asf/ant/antlibs/props/trunk/src/tests/antunit/s
tringops-test.xml
- testReplaceFirst
- testReplaceAll
- testPackageMapping

Jan

> -----Ursprüngliche Nachricht-----
> Von: Peter West [mailto:li...@pbw.id.au]
> Gesendet: Mittwoch, 15. Mai 2013 04:08
> An: Ant Users List
> Betreff: editstring macro
> 
> I have posted a discussion and code for a macro to edit a string value,
> placing the result into a property.  I'm sure various people have done
> the same sort of thing before, but this might be a handy reference.
> 
> http://codepulsive.blogspot.com.au/2013/05/ant-edit-property-
> values.html
> 
> An example build.xml is available at
> <http://pbw.id.au/editstring/build.xml>.
> 
> 
> Peter West
> 
> "When the Spirit of truth comes, he will guide you into all the
> truth..."
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional
> commands, e-mail: user-h...@ant.apache.org



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

Reply via email to