Mailing List Archive

svn commit: r1429651 - /forrest/trunk/main/build.xml
Author: crossley
Date: Mon Jan 7 03:01:18 2013
New Revision: 1429651

URL: http://svn.apache.org/viewvc?rev=1429651&view=rev
Log:
Exclude various problem docs via cli.xconf

Modified:
forrest/trunk/main/build.xml

Modified: forrest/trunk/main/build.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/build.xml?rev=1429651&r1=1429650&r2=1429651&view=diff
==============================================================================
--- forrest/trunk/main/build.xml (original)
+++ forrest/trunk/main/build.xml Mon Jan 7 03:01:18 2013
@@ -526,11 +526,12 @@ See other notes above.
description="Target used by Gump: forrest-test">
<echo level="info">Doing pre-run configuration:</echo>
<echo level="info">Add a Cocoon cli.xconf and exclude any problem docs.</echo>
- <copy file="${forrest.home}/main/webapp/WEB-INF/cli.xconf"
+ <copy overwrite="true"
+ file="${forrest.home}/main/webapp/WEB-INF/cli.xconf"
todir="${forrest.home}/main/fresh-site/src/documentation/conf/"/>
- <replace file="${forrest.home}/main/fresh-site/src/documentation/conf/cli.xconf"
- token="api/**"
- value="**linking.pdf"/>
+ <replaceregexp file="${forrest.home}/main/fresh-site/src/documentation/conf/cli.xconf"
+ match="&lt;/cocoon>"
+ replace="&lt;exclude pattern='**linking.pdf'/>&lt;exclude pattern='**custom.html'/>&lt;/cocoon>"/>
<replaceregexp file="${forrest.home}/main/fresh-site/forrest.properties"
match="^# layout properties$"
replace="project.configfile=${project.home}/src/documentation/conf/cli.xconf"