You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2006/04/13 03:44:05 UTC
svn commit: r393680 - /forrest/trunk/main/build.xml
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"