forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject cvs commit: xml-forrest/src/resources/forrest-shbat forrest.build.xml
Date Sat, 02 Nov 2002 10:37:40 GMT
crossley    2002/11/02 02:37:40

  Modified:    src/resources/forrest-shbat forrest.build.xml
  Log:
  Commenced using RELAX NG validation for important config files.
  Started with skinconf.xml
  
  Revision  Changes    Path
  1.7       +13 -1     xml-forrest/src/resources/forrest-shbat/forrest.build.xml
  
  Index: forrest.build.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/forrest-shbat/forrest.build.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- forrest.build.xml	2 Nov 2002 05:23:10 -0000	1.6
  +++ forrest.build.xml	2 Nov 2002 10:37:40 -0000	1.7
  @@ -89,9 +89,21 @@
       <property name="tools.jar"           location="${java.home}/../lib/tools.jar"/>
       <available file="${tools.jar}"       property="tools.jar.present"/>
   
  +    <!-- validation of certain key files using RELAX NG -->
  + <!-- FIXME: Still testing -->
  +    <echo message=" "/>
  +    <echo message="Conducting RELAX NG validation of skinconf.xml"/>
  +    <taskdef name="jing" classname="com.thaiopensource.relaxng.util.JingTask">
  +     <classpath>
  +      <fileset dir="${forrest.home}/WEB-INF/lib" includes="*.jar" />
  +     </classpath>
  +    </taskdef>
  +    <jing rngfile="${forrest.home}/context/resources/schema/relax/skinconf-v10.rng">
  +     <fileset dir="${project.content-dir}" includes="**/skinconf.xml"/>
  +    </jing>
  +
       <!-- echo settings in -Dforrest.echo=true mode -->
       <antcall target="echo-settings" />
  -
     </target>
   
     <!-- Load properties from user's skinconf.xml, if it is defined -->
  
  
  

Mime
View raw message