Author: sebb
Date: Fri Jul 15 16:32:08 2005
New Revision: 219262
URL: http://svn.apache.org/viewcvs?rev=219262&view=rev
Log:
Add target to check site.xsl for multiple attributes
Modified:
jakarta/site/build.xml
Modified: jakarta/site/build.xml
URL:
http://svn.apache.org/viewcvs/jakarta/site/build.xml?rev=219262&r1=219261&r2=219262&view=diff
==============================================================================
--- jakarta/site/build.xml (original)
+++ jakarta/site/build.xml Fri Jul 15 16:32:08 2005
@@ -21,7 +21,7 @@
<delete dir="${target.dir}" quiet="yes"/>
</target>
- <target name="docs"
+ <target name="docs" depends="CheckXSL"
description="Render HTML Pages via XSLT">
<condition property="target.vm" value="valid">
@@ -166,6 +166,13 @@
This project has no Java code, therefore, it has no
javadocs. This target is here to make Gumpy happy.
</echo>
+ </target>
+
+ <target name="CheckXSL" description="Check site.xsl for tags with more than
one attribute">
+ <xslt in="${docs.src}/stylesheets/site.xsl"
+ out="${docs.src}/stylesheets/dummy.tmp"
+ style="${docs.src}/stylesheets/sitechk.xsl"/>
+ <delete file="${docs.src}/stylesheets/dummy.tmp"/>
</target>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]