forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: rev 55001 - forrest/trunk/src/core/targets
Date Mon, 18 Oct 2004 13:00:28 GMT
Author: crossley
Date: Mon Oct 18 06:00:27 2004
New Revision: 55001

Modified:
   forrest/trunk/src/core/targets/validate.xml
Log:
The "validate-sitemap" target is a lot simpler with the new project sitemap.


Modified: forrest/trunk/src/core/targets/validate.xml
==============================================================================
--- forrest/trunk/src/core/targets/validate.xml	(original)
+++ forrest/trunk/src/core/targets/validate.xml	Mon Oct 18 06:00:27 2004
@@ -163,31 +163,15 @@
   </target>
 
   <target name="validate-sitemap" depends="validation-props"
-    if="validate.sitemap" description="Validate the project sitemaps">
-    <available property="version-specific-sitemap" file="${sitemap-dir}/forrest-${version}.xmap"
type="file"/>
-    <available property="version-specific-sitemap" file="${sitemap-dir}/aggregate-${version}.xmap"
type="file"/>
-    <available property="version-specific-sitemap" file="${sitemap-dir}/dtd-${version}.xmap"
type="file"/>
-    <available property="version-specific-sitemap" file="${sitemap-dir}/faq-${version}.xmap"
type="file"/>
-    <available property="version-specific-sitemap" file="${sitemap-dir}/forrest-${version}.xmap"
type="file"/>
-    <available property="version-specific-sitemap" file="${sitemap-dir}/issues-${version}.xmap"
type="file"/>
-    <available property="version-specific-sitemap" file="${sitemap-dir}/linkmap-${version}.xmap"
type="file"/>
-    <available property="version-specific-sitemap" file="${sitemap-dir}/menu-${version}.xmap"
type="file"/>
-    <available property="version-specific-sitemap" file="${sitemap-dir}/profiler-${version}.xmap"
type="file"/>
-    <available property="version-specific-sitemap" file="${sitemap-dir}/raw-${version}.xmap"
type="file"/>
-    <available property="version-specific-sitemap" file="${sitemap-dir}/resources-${version}.xmap"
type="file"/>
-    <available property="version-specific-sitemap" file="${sitemap-dir}/revisions-${version}.xmap"
type="file"/>
-    <available property="version-specific-sitemap" file="${sitemap-dir}/sitemap-${version}.xmap"
type="file"/>
-    <available property="version-specific-sitemap" file="${sitemap-dir}/status-${version}.xmap"
type="file"/>
-
+    if="validate.sitemap" description="Validate the project sitemap">
     <jing rngfile="${forrest.home}/context/resources/schema/relaxng/sitemap-v06.rng">
       <fileset dir="${content-dir}"
         includes="${forrest.validate.sitemap.includes}"
         excludes="${forrest.validate.sitemap.excludes}">
-        <include name="*.xmap" unless="version-specific-sitemap"/>
-        <include name="*-${version}.xmap" if="version-specific-sitemap"/>
+        <include name="sitemap.xmap"/>
       </fileset>
     </jing>
-    <echo message="...validated sitemap"/>
+    <echo message="...validated project sitemap"/>
   </target>
 
   <target name="validate-stylesheets" depends="validation-props"

Mime
View raw message