Reputation: 1024
If i understand correctly, once a property is bound to a value in ant, it cannot be reassigned to a value. I am using a propertyregex on a path to do some complex regex mapping, is there any way to accomplish this ?
Upvotes: 0
Views: 1327
Reputation: 1024
I found that the propertyregex has an override attribute which can be used to override the previous value in a loop. works for me.
Upvotes: 3
Reputation: 534
I'm not sure about the propertyregex stuff, but the variable task in ant is mutable (though discouraged). See http://ant-contrib.sourceforge.net/tasks/tasks/variable_task.html
Upvotes: 2