cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject cvs commit: xml-cocoon2 build.xml
Date Mon, 11 Nov 2002 09:49:24 GMT
crossley    2002/11/11 01:49:24

  Modified:    .        build.xml
  Log:
  Now validate all stylesheets too.
  
  Revision  Changes    Path
  1.278     +11 -2     xml-cocoon2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.xml,v
  retrieving revision 1.277
  retrieving revision 1.278
  diff -u -r1.277 -r1.278
  --- build.xml	5 Nov 2002 23:05:58 -0000	1.277
  +++ build.xml	11 Nov 2002 09:49:24 -0000	1.278
  @@ -2163,7 +2163,6 @@
     <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>
  @@ -2180,10 +2179,20 @@
       <fileset dir="${build.dir}" includes="**/cocoon.roles"/>
      </jing>
   
  +   <!-- All stylesheets **/*.xsl -->
  +   <echo message="Validating all stylesheets ..."/>
  +   <jing rngfile="${webapp.dir}/WEB-INF/entities/xslt-20020523.rng">
  +<!-- FIXME: Need catalog entity resolver, so excluding catalog tester xsl -->
  +<!-- FIXME: Excluding the "hello world" SWF sitemap (minor issue) -->
  +    <fileset dir="./src" includes="**/*.xsl"
  +      excludes="**/catalog/style.xsl, **/simple-page2swf.xsl"/>
  +    <fileset dir="./tools" includes="**/*.xsl"/>
  +   </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."/>
  +   <echo message="FIXME: The sitemaps and their RNG grammar still need tweaking."/>
      <jing rngfile="${webapp.dir}/WEB-INF/entities/sitemap-v05.rng">
       <fileset dir="${build.dir}" includes="**/sitemap.xmap"/>
      </jing>
  
  
  

----------------------------------------------------------------------
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


Mime
View raw message