[jbosstools-commits] JBoss Tools SVN: r40802 - trunk/build/aggregate.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri May 4 14:57:04 EDT 2012


Author: nickboldt
Date: 2012-05-04 14:57:04 -0400 (Fri, 04 May 2012)
New Revision: 40802

Modified:
   trunk/build/aggregate/build.xml
Log:
allow individual aggregates to override the template file (eg., for webtools site which can will for now be used for both Indigo and Juno)

Modified: trunk/build/aggregate/build.xml
===================================================================
--- trunk/build/aggregate/build.xml	2012-05-04 18:54:50 UTC (rev 40801)
+++ trunk/build/aggregate/build.xml	2012-05-04 18:57:04 UTC (rev 40802)
@@ -544,8 +544,11 @@
 		
 		<antcallback target="generate.directory.xml" return="directory.xml.html"/>
 		
+	        <condition property="index-template.html" value="${output.dir}/index-template.html" else="${basedir}/index-template.html">
+        	        <available file="${output.dir}/index-template.html" />
+	        </condition>
 		<copy todir="${output.dir}" overwrite="true">
-			<fileset file="${basedir}/index-template.html" />
+			<fileset file="${index-template.html}" />
 			<mapper type="merge" to="index.html" />
 			<filterchain>
 				<expandproperties />



More information about the jbosstools-commits mailing list