ant - update an attribute value using wildcards -


I would have thought that if you have not given a destination, then the XML processing source will modify the file and change it, but Apparently this is not the case because the following code does not work:

  & lt; Xmltask source = "** \ plugin.xml" & gt; & Lt; Attr path = "plugin" attr = "version" value = "12345" /> & Lt; / Xmltask & gt;  

If I specify a destination, I get an error by saying "Many inputs, but only one destination":

   & Lt; / Xmltask & gt;  

How do I work with wildcards? Is this possible? Instead of specifying an output file with

dest , Todir :

  & lt; Xmltask source = "** \ plugin.xml" todir = "output" & gt; Specify an output directory with. & Lt; Attr path = "plugin" attr = "version" value = "12345" /> & Lt; / Xmltask & gt;  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -