ANN: xmltask 1.9

From: Brian Agnew (brian_at_oopsconsultancy.com)
Date: 12/31/03


Date: Wed, 31 Dec 2003 18:52:42 +0000


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.



Relevant Pages

  • ANN: xmltask 1.8.1 (Ant task)
    ... Version 1.8.1 of xmltask is out now. ... etc. e.g. you can now count XML nodes, ... Unlike the standard filter task provided with Ant, ...
    (comp.lang.java.programmer)
  • Re: Google and validation
    ... Inkscape uses it (SVG is IIRC an XML ... ant uses it. ... XML is adopted as the native format on the premise that information ...
    (alt.internet.search-engines)
  • Re: Google and validation
    ... Inkscape uses it (SVG is IIRC an XML ... ant uses it. ... XML is adopted as the native format on the premise that information ...
    (alt.internet.search-engines)
  • Re: Servlet generiert XML aus DB-Inhalt
    ... das vom Grundgedanke her überhaupt eine Aufgabe für ein Servlet? ... dann auch mein XML als Stream... ... Sonst halt in doGet. ... JDBC-Connection zur Datenbank aufbauen ...
    (de.comp.lang.java)
  • Re: Google and validation
    ... Inkscape uses it (SVG is IIRC an XML ... ant uses it. ... OTOH clones implies exchange with other programs :-) ...
    (alt.internet.search-engines)