forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r393680 - /forrest/trunk/main/build.xml
Date Thu, 13 Apr 2006 01:44:05 GMT
Author: crossley
Date: Wed Apr 12 18:44:03 2006
New Revision: 393680

URL: http://svn.apache.org/viewcvs?rev=393680&view=rev
Log:
Convenience for running tidy.sf.net on a single xml file.
Issue: FOR-644

Modified:
    forrest/trunk/main/build.xml

Modified: forrest/trunk/main/build.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/build.xml?rev=393680&r1=393679&r2=393680&view=diff
==============================================================================
--- forrest/trunk/main/build.xml (original)
+++ forrest/trunk/main/build.xml Wed Apr 12 18:44:03 2006
@@ -147,6 +147,17 @@
     depends="clean,dist-shbat" />
 
   <!-- =================================================================== -->
+  <!-- Use tidy.sf.net on a single xml-type file                           -->
+  <!-- See also etc/tidy-xml.pl                                            -->
+  <!-- =================================================================== -->
+  <target name="tidy-xml-file" depends="init">
+    <exec dir="${build.dir}" executable="tidy">
+      <arg line="-config ${forrest.home}/etc/tidy-rc.txt"/>
+      <arg line="${forrest.home}/etc/test-whitespace/test-1.xml"/>
+    </exec>
+  </target>
+
+  <!-- =================================================================== -->
   <!-- Validate the important core configuration files                     -->
   <!-- =================================================================== -->
   <target name="validate-config" depends="init"



Mime
View raw message