Author: crossley
Date: Thu Jan 13 04:09:54 2011
New Revision: 1058405
URL: http://svn.apache.org/viewvc?rev=1058405&view=rev
Log:
Added standalone 'validate-site' build target to validate the project status
changes file.
Modified:
forrest/trunk/main/targets/validate.xml
forrest/trunk/site-author/status.xml
Modified: forrest/trunk/main/targets/validate.xml
URL:
http://svn.apache.org/viewvc/forrest/trunk/main/targets/validate.xml?rev=1058405&r1=1058404&r2=1058405&view=diff
==============================================================================
--- forrest/trunk/main/targets/validate.xml (original)
+++ forrest/trunk/main/targets/validate.xml Thu Jan 13 04:09:54 2011
@@ -141,6 +141,13 @@ then generate your site with 'forrest',
</xmlvalidate>
<echo level="info" message="...validated xdocs"/>
</target>
+ <target name="validate-status" depends="init" description="Validate the
project status changes file">
+ <xmlvalidate file="${project.status}" failonerror="yes" lenient="no"
warn="yes" classpathref="forrest.cp"
classname="org.apache.xerces.parsers.SAXParser">
+ <attribute name="http://apache.org/xml/features/validation/dynamic"
value="true"/>
+ <xmlcatalog refid="fcatalog"/>
+ </xmlvalidate>
+ <echo level="info" message="...validated ${project.status}"/>
+ </target>
<target name="validate-skinconf" depends="validation-props"
if="validate.skinconf" description="Validate skinconf">
<xmlvalidate failonerror="${forrest.validate.skinconf.failonerror}"
Modified: forrest/trunk/site-author/status.xml
URL:
http://svn.apache.org/viewvc/forrest/trunk/site-author/status.xml?rev=1058405&r1=1058404&r2=1058405&view=diff
==============================================================================
--- forrest/trunk/site-author/status.xml (original)
+++ forrest/trunk/site-author/status.xml Thu Jan 13 04:09:54 2011
@@ -154,6 +154,10 @@
<link href="site:upgrading_09">upgrading to v0.9</link>
</action>
<!-- 2011-01 -->
+ <action context="code" type="build" dev="DC">
+ Added standalone 'validate-site' build target to validate the project
+ status changes file.
+ </action>
<action context="code" type="fix" dev="DC" fixes-bug="FOR-1012">
ForrestBar: Enabled access to some more intermediate processing data
via the "Dev" menu.
@@ -427,7 +431,7 @@
<action context="code" type="update" dev="TS" fixes-bug="FOR-733">
The "wholesite" html/pdf ability was broken with the locationmap.
</action>
- <action context="code" type="fix" dev="RGD" fixes-bug="FOR-905"
due-to="Mark Eggers">
+ <action context="code" type="fix" dev="RDG" fixes-bug="FOR-905"
due-to="Mark Eggers">
Fixed the "forrest" command to cope with recent Cygwin changes with
expanding pathnames.
</action>
<!-- 2007-12 -->