Update attribute value using wildcards
I would have thought that if you didn’t provide a destination, the xmltask would modify the original file and replace it, but apparently this is not the case as the code below does not work:
<xmltask source="**\plugin.xml">
<attr path="plugin" attr="version" value="12345" />
</xmltask>
If I specify a destination, I get the error "Multiple inputs, but only one destination":
<xmltask source="**\plugin.xml" dest="**\plugin.xml">
<attr path="plugin" attr="version" value="12345" />
</xmltask>
How can I get this to work with wildcards? Is it possible?
0
Michael
source
to share