Author: crossley Date: Sat Jan 5 07:14:04 2013 New Revision: 1429215 URL: http://svn.apache.org/viewvc?rev=1429215&view=rev Log: Add a Cocoon cli.xconf and exclude any problem docs. Issue: FOR-1201
Modified: forrest/trunk/main/build.xml Modified: forrest/trunk/main/build.xml URL: http://svn.apache.org/viewvc/forrest/trunk/main/build.xml?rev=1429215&r1=1429214&r2=1429215&view=diff ============================================================================== --- forrest/trunk/main/build.xml (original) +++ forrest/trunk/main/build.xml Sat Jan 5 07:14:04 2013 @@ -525,6 +525,16 @@ See other notes above. <target name="gump-forrest-test" depends="init" 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" + 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/forrest.properties" + match="^# layout properties$" + replace="project.configfile=${project.home}/src/documentation/conf/cli.xconf" + byline="true"/> <!-- <echo level="info">Raise verbosity of xml catalogs</echo> <replaceregexp file="${forrest.home}/main/fresh-site/src/documentation/classes/CatalogManager.properties" @@ -541,6 +551,10 @@ See other notes above. <param name="test.site.type" value="skinned"/> </antcall> <echo level="info">Doing post-run configuration:</echo> + <delete file="${forrest.home}/main/fresh-site/src/documentation/conf/cli.xconf"/> + <replace file="${forrest.home}/main/fresh-site/forrest.properties" + token="project.configfile=${project.home}/src/documentation/conf/cli.xconf" + value="# layout properties"/> <!-- <echo level="info">Reset verbosity of xml catalogs</echo> <replaceregexp file="${forrest.home}/main/fresh-site/src/documentation/classes/CatalogManager.properties"