Author: nickboldt
Date: 2012-05-04 14:57:04 -0400 (Fri, 04 May 2012)
New Revision: 40803
Modified:
branches/jbosstools-3.3.0.Beta3/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: branches/jbosstools-3.3.0.Beta3/build/aggregate/build.xml
===================================================================
--- branches/jbosstools-3.3.0.Beta3/build/aggregate/build.xml 2012-05-04 18:57:04 UTC (rev
40802)
+++ branches/jbosstools-3.3.0.Beta3/build/aggregate/build.xml 2012-05-04 18:57:04 UTC (rev
40803)
@@ -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 />
Show replies by date