forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From che...@apache.org
Subject cvs commit: xml-forrest/src/resources/forrest-shbat forrest.build.xml
Date Sun, 14 Sep 2003 13:40:57 GMT
cheche      2003/09/14 06:40:57

  Modified:    src/resources/forrest-shbat forrest.build.xml
  Log:
  Validate-site target fail if a site does not have xml link enable.
  
  Revision  Changes    Path
  1.98      +14 -2     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.97
  retrieving revision 1.98
  diff -u -r1.97 -r1.98
  --- forrest.build.xml	13 Sep 2003 05:08:08 -0000	1.97
  +++ forrest.build.xml	14 Sep 2003 13:40:57 -0000	1.98
  @@ -855,7 +855,19 @@
       validate-skinconf, validate-sitemap, validate-skins, validate-skinchoice,
       validate-stylesheets"  description="Validates XML doc files in the project"/>
   
  -  <target name="validate-site" depends="validation-props" >
  +  <target name="validate-site" depends="load-project-props">
  +    <condition property="forrest.validate.skinconf.disable-xml-link">
  +      <and>
  +        <istrue value="${skinconfig.disable-xml-link}"/>
  +      </and>
  +    </condition>
  +    <fail if="forrest.validate.skinconf.disable-xml-link">
  +---------------------------------------     
  +${skinconfig.project-name} have disable-xml-link
  +please change it on ${project.skinconf} 
  +to validate this site.
  +---------------------------------------     
  +    </fail>
       <xmlvalidate failonerror="${forrest.validate.site.failonerror}" lenient="no" warn="yes">
         <xmlcatalog>
           <catalogpath>
  
  
  

Mime
View raw message