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...@
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
Here is a skeleton which could be what you need.
ant test -Dtestclass=xy -Dtestmethod=xy : runs the testmethod in that test
class
ant test -Dtestclass=xy : runs all tests in that test class
ant test-Dtestmethod=xy : invalid as the class must be