You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by ni...@apache.org on 2004/04/24 01:01:12 UTC

svn commit: rev 10206 - xml/forrest/branches/copyless/src/core/targets

Author: nicolaken
Date: Fri Apr 23 16:01:11 2004
New Revision: 10206

Modified:
   xml/forrest/branches/copyless/src/core/targets/validate.xml
Log:
Definately not a good idea to validate gifs...

Modified: xml/forrest/branches/copyless/src/core/targets/validate.xml
==============================================================================
--- xml/forrest/branches/copyless/src/core/targets/validate.xml	(original)
+++ xml/forrest/branches/copyless/src/core/targets/validate.xml	Fri Apr 23 16:01:11 2004
@@ -30,7 +30,17 @@
     <property name="forrest.validate.failonerror" value="true" />
     <property name="forrest.validate.includes" value="**/*"/>
     <property name="forrest.validate.excludes" value=""/>
-  </target>
+    <property name="forrest.validate.xdocs.includes" value="**/*.xml"/>
+    <property name="forrest.validate.xdocs.excludes" value="site.xml,.*.swp"/>
+    <property name="forrest.validate.skinconf.includes" value="${skinconf-file}"/>
+    <property name="forrest.validate.skinconf.excludes" value=""/>
+    <property name="forrest.validate.stylesheets.includes" value="**/*.xsl"/>
+    <property name="forrest.validate.skinconf.excludes" value=""/>
+    <property name="forrest.validate.skins.includes" value="**/*"/>
+    <property name="forrest.validate.skins.excludes" value="**/*.xsl"/>
+    <property name="forrest.validate.skins.stylesheets.includes" value="**/*.xsl"/>
+    <property name="forrest.validate.skins.stylesheets.excludes" value=""/>
+  </target>    
         
   <target name="validate-site" depends="load-project-props">
     <condition property="forrest.validate.skinconf.disable-xml-link">
@@ -66,8 +76,8 @@
       <attribute name="http://apache.org/xml/features/validation/dynamic"  value="true"/>
       <xmlcatalog refid="fcatalog" />
       <fileset dir="${xdocs-dir}"
-        includes="${forrest.validate.includes}"
-        excludes="${forrest.validate.excludes}"/>
+        includes="${forrest.validate.xdocs.includes}"
+        excludes="${forrest.validate.xdocs.excludes}"/>
     </xmlvalidate>
     <echo message="...validated xdocs"/>
   </target>