cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject cvs commit: cocoon-2.1/tools/targets validate-build.xml
Date Thu, 15 Apr 2004 03:03:24 GMT
crossley    2004/04/14 20:03:24

  Modified:    .        status.xml
               tools/targets validate-build.xml
  Log:
  Added standalone build target "validate-stylesheets".
  
  Revision  Changes    Path
  1.302     +2 -1      cocoon-2.1/status.xml
  
  Index: status.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/status.xml,v
  retrieving revision 1.301
  retrieving revision 1.302
  diff -u -r1.301 -r1.302
  --- status.xml	15 Apr 2004 01:16:39 -0000	1.301
  +++ status.xml	15 Apr 2004 03:03:24 -0000	1.302
  @@ -214,6 +214,7 @@
    <release version="@version@" date="@date@">
      <action dev="DC" type="add">
        Added standalone build target "validate-sitemaps".
  +     Added standalone build target "validate-stylesheets".
      </action>
      <action dev="AG" type="update">
        Updated Xindice to 1.1b4, xmldb-api to 20030701, xmldb-common to 20030701 and xmldb-xupdate
to 20040205
  
  
  
  1.8       +9 -4      cocoon-2.1/tools/targets/validate-build.xml
  
  Index: validate-build.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/tools/targets/validate-build.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- validate-build.xml	15 Apr 2004 01:16:39 -0000	1.7
  +++ validate-build.xml	15 Apr 2004 03:03:24 -0000	1.8
  @@ -121,10 +121,6 @@
       </xmlvalidate>
   -->
   
  -<!--    <echo message="Validating all documentation stylesheets using RELAX NG ..."/>
  -    <jing rngfile="${webapp}/WEB-INF/entities/xslt-20020523.rng">
  -      <fileset dir="${build.context}/stylesheets" includes="**/*.xsl"/>
  -    </jing>-->
     </target>
   
     <target name="validate-sitemaps" depends="init-tasks"
  @@ -144,6 +140,15 @@
   <!--
         <fileset dir="${docs}" includes="**/drafts/sitemap-working-draft.xmap"/>
   -->
  +    </jing>
  +  </target>
  +
  +  <target name="validate-stylesheets" depends="init-tasks"
  +          description="Standalone target to validate all stylesheets">
  +    <echo message="Validating all XSLT stylesheets using RELAX NG ..."/>
  +    <jing rngfile="${webapp}/WEB-INF/entities/xslt-20020523.rng">
  +      <fileset dir="${src}" includes="**/*.xsl*"
  +        excludes="webapp/samples/catalog/*.xsl"/>
       </jing>
     </target>
   </project>
  
  
  

Mime
View raw message