forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/forrest-shbat forrest.build.xml
Date Wed, 30 Oct 2002 15:30:22 GMT
jefft       2002/10/30 07:30:22

  Modified:    src/resources/forrest-shbat forrest.build.xml
  Log:
  Oops, wasn't properly validating
  
  Revision  Changes    Path
  1.2       +5 -3      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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- forrest.build.xml	30 Oct 2002 08:39:17 -0000	1.1
  +++ forrest.build.xml	30 Oct 2002 15:30:22 -0000	1.2
  @@ -81,6 +81,8 @@
       <property name="project.lib-dir"     value="${project.content-dir}/lib" />
       <property name="project.classes-dir" value="${project.content-dir}/classes" />
   
  +    <property name="forrest.validate.failonerror" value="true" />
  +
       <!-- checks for presence of required classes and/or resources -->
       <property name="tools.jar"           location="${java.home}/../lib/tools.jar"/>
       <available file="${tools.jar}"       property="tools.jar.present"/>
  @@ -585,11 +587,11 @@
     <!-- ===============================================================
          Validates all XML documents in the projects-context dir.
          =============================================================== -->
  -  <target name="validate" depends="init-props">
  -    <xmlvalidate failonerror="no" lenient="yes" warn="yes">
  + <target name="validate" depends="init-props, examine-proj">
  +   <xmlvalidate failonerror="${forrest.validate.failonerror}" lenient="no" warn="yes">
         <xmlcatalog>
           <catalogfiles dir="${project.schema-dir}">
  -          <include name="catalog" />
  +          <include name="catalog*"/>
           </catalogfiles>
           <catalogfiles dir="${forrest.home}/context/resources/schema">
             <include name="catalog" />
  
  
  

Mime
View raw message