You could do this, although it seems to me that it is more likely that you would like a script in advance, or something that you could call from Ant.
Task:
<echo file="my.xml"></echo>
This, of course, will be tedious because everything needs to be avoided, but you can do it.
source
share