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="</cocoon>" + replace="<exclude pattern='**linking.pdf'/><exclude pattern='**custom.html'/></cocoon>"/> <replaceregexp file="${forrest.home}/main/fresh-site/forrest.properties" match="^# layout properties$" replace="project.configfile=${project.home}/src/documentation/conf/cli.xconf"