ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Advanced Configuration of the Spring MVC Framework
Subject:   Automated editing of XML configurations
Date:   2006-03-24 05:58:05
From:   brianagnew
After battling with similar problems of editing XML configs, I wrote the freely available Ant plugin task XmlTask ( http://www.oopsconsultancy.com/software/xmltask ).


This permits easy property substitution and automated editing of XML configs whilst maintaining XML-correctness and validity (e.g. character encodings, entity encoding etc.)


You can go further and insert or remove subsections of XML as you require.


It was originally designed for J2EE configurations, but it's certainly suitable for other problem domains, such as the Spring configs shown here.