Is there a way to re-assign the value for the Ant property task? Or is there another task available for that purpose?
For the sake of justice, there is a hack that allows to alter ant's immutable properties without any additional libs (since java 6):
project.setProperty(attributes.get("name"), attributes.get("value"));
Usage:
${x}
As others mentioned, this should be used with care after all canonical approaches proved not to fit.