Author: crossley
Date: Wed Oct  1 00:29:30 2008
New Revision: 700702

URL: http://svn.apache.org/viewvc?rev=700702&view=rev
Log:
We often recommend that the "validate-xdocs" target be run on its own.
However, now that plugins can provide their own DTDs and catalogs etc. the
plugins need to be initialised first. So depend on the "init" target.

Modified:
    forrest/trunk/main/targets/validate.xml

Modified: forrest/trunk/main/targets/validate.xml
URL: 
http://svn.apache.org/viewvc/forrest/trunk/main/targets/validate.xml?rev=700702&r1=700701&r2=700702&view=diff
==============================================================================
--- forrest/trunk/main/targets/validate.xml (original)
+++ forrest/trunk/main/targets/validate.xml Wed Oct  1 00:29:30 2008
@@ -127,7 +127,7 @@
     </xmlvalidate>
     <echo message="...validated site"/>
   </target>
-  <target name="validate-xdocs" depends="validation-props" if="validate.xdocs"
+  <target name="validate-xdocs" depends="init, validation-props" 
if="validate.xdocs"
       description="Validate the project xdocs">
     <echo level="verbose" message="Using these catalog descriptors:
 forrest.core.webapp=${forrest.core.webapp}/resources/schema/catalog.xcat