You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cr...@apache.org on 2002/11/01 06:42:03 UTC
cvs commit: xml-cocoon2 build.xml
crossley 2002/10/31 21:42:03
Modified: . build.xml
Log:
Target 'validate' now does **/book.xml too.
Revision Changes Path
1.276 +8 -0 xml-cocoon2/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/build.xml,v
retrieving revision 1.275
retrieving revision 1.276
diff -u -r1.275 -r1.276
--- build.xml 30 Oct 2002 07:04:23 -0000 1.275
+++ build.xml 1 Nov 2002 05:42:03 -0000 1.276
@@ -2157,10 +2157,17 @@
<target name="validate" description="Validation using RELAX NG"
depends="prepare-docs, prepare-webapp, prepare-webapp-scratchpad">
<echo message="Validating various XML instances using RELAX NG."/>
+ <echo message="Currently doing: book.xml, cocoon.roles, sitemap.xmap"/>
<taskdef name="jing" classname="com.thaiopensource.relaxng.util.JingTask">
<classpath refid="anttasks.classpath"/>
</taskdef>
+ <!-- book.xml -->
+ <echo message="Validating all book.xml instances ..."/>
+ <jing rngfile="${webapp.dir}/WEB-INF/entities/book-v01.rng">
+ <fileset dir="${build.context}" includes="**/book.xml"/>
+ </jing>
+
<!-- cocoon.roles -->
<echo message="Validating all cocoon.roles instances ..."/>
<jing rngfile="${webapp.dir}/WEB-INF/entities/roles-v01.rng">
@@ -2168,6 +2175,7 @@
</jing>
<!-- sitemap.xmap -->
+ <!-- leaving this until last because it is the one most likely to break -->
<echo message="Validating all sitemap.xmap instances ..."/>
<echo message="FIXME: The RNG grammar and sitemaps still need tweaking."/>
<jing rngfile="${webapp.dir}/WEB-INF/entities/sitemap-v05.rng">
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org