I am using ant, and I have a problem with if/then/else task, (ant-contrib-1.0b3.jar).
I am running something that can be simplified with build.xml below.
I am ex
I know this is old, but should prove handy to others searching for a solution.
to re-assign a property without using ant-contrib, use macrodef with a script.
then in anywhere in ant, just call this like the property tag
to Implement this in your original version of xml, it would look like this:
This sample is given purely as an example on writing a macro to replace the command in ant-contrib. In a situation like this one, where the
Hope this helps.