You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2004/07/15 03:50:54 UTC

svn commit: rev 22920 - forrest/trunk/src/core/targets

Author: crossley
Date: Wed Jul 14 18:50:53 2004
New Revision: 22920

Modified:
   forrest/trunk/src/core/targets/validate.xml
Log:
Add descriptions for various build targets,
so that they are listed with 'forrest -projecthelp'.
Issue: FOR-216


Modified: forrest/trunk/src/core/targets/validate.xml
==============================================================================
--- forrest/trunk/src/core/targets/validate.xml	(original)
+++ forrest/trunk/src/core/targets/validate.xml	Wed Jul 14 18:50:53 2004
@@ -19,7 +19,7 @@
 
   <target name="validate" depends="validation-props, validate-xdocs,
     validate-skinconf, validate-sitemap, validate-skins, validate-skinchoice,
-    validate-stylesheets"  description="Validates XML doc files in the project"/>
+    validate-stylesheets"  description="Conduct various validations: xdocs, skins, sitemap"/>
     
   <target name="validation-props" depends="examine-proj">
     <!-- Validation flags -->
@@ -137,7 +137,8 @@
     <echo message="...validated site"/>
   </target>
 
-  <target name="validate-xdocs" depends="validation-props" if="validate.xdocs">
+  <target name="validate-xdocs" depends="validation-props" if="validate.xdocs"
+      description="Validate the project xdocs">
     <xmlvalidate failonerror="${forrest.validate.xdocs.failonerror}" lenient="no" warn="yes">
       <attribute name="http://apache.org/xml/features/validation/dynamic"  value="true"/>
       <xmlcatalog refid="fcatalog" />
@@ -161,7 +162,7 @@
   </target>
 
   <target name="validate-sitemap" depends="validation-props"
-    if="validate.sitemap" description="Validate project sitemaps">
+    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"/>