Is there a way to re-assign the value for the Ant property task? Or is there another task available for that purpose?
property
Depending on how you want to use the modified property, you can use macrodefs.
macrodef
For example, instead of writing the following:
and not being able to call ant foo with another message, you could write:
ant foo