You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Brian Agnew <br...@oopsconsultancy.com> on 2003/12/31 19:48:25 UTC

ANN: xmltask 1.9

Version 1.9 of xmltask is out now. This version allows calling of ant 
targets for XML nodes identified by XPath expressions e.g.

<xmltask source="web.xml">
    <call path="web-app/servlet" target="servlet" buffer="servletDef">
      <param name="class" path="servlet-class/text()"/>
    </call>

will call the 'servlet' target for each servlet definition in web.xml, 
passing the classname as a property 'class', and the complete servlet 
definition in the xmltask buffer 'servletDef'.

This facility can be used to drive builds from XML deployment 
descriptors, or to drive complex builds from a simplified XML file 
acting as a 'meta' build.xml (if you need to do such a thing!).

Other minor tweaks / fixes incorporated. See the CHANGES file for details.

Tested againt Ant 1.5 / 1.6

See http://www.oopsconsultancy.com/software/xmltask.html

xmltask provides the facility for automatically editing XML files as
part of an Ant build. Unlike the standard filter task provided with Ant,
it is XML-sensitive, but doesn't require you to define XSLTs.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org