Author: crossley
Date: Sun Apr  8 22:20:28 2007
New Revision: 526655

URL: http://svn.apache.org/viewvc?view=rev&rev=526655
Log:
Add Ant target "xmlformat-single" for processing an explicit single xml file.

Modified:
    forrest/trunk/main/build.xml

Modified: forrest/trunk/main/build.xml
URL: 
http://svn.apache.org/viewvc/forrest/trunk/main/build.xml?view=diff&rev=526655&r1=526654&r2=526655
==============================================================================
--- forrest/trunk/main/build.xml (original)
+++ forrest/trunk/main/build.xml Sun Apr  8 22:20:28 2007
@@ -196,6 +196,14 @@
     </apply>
   </target>
 
+  <target name="xmlformat-single" depends="init">
+    <exec dir="${build.dir}" executable="xmlformat">
+      <arg line="-f${forrest.home}/etc/xmlformat.conf"/>
+      <arg line="-i"/>
+      <arg line="${forrest.home}/etc/test-whitespace/test-1.xml"/>
+    </exec>
+  </target>
+
   <!-- =================================================================== -->
   <!-- Test tidy.sf.net on a single xml-type file                          -->
   <!-- See also etc/tidy-xml.pl                                            -->