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

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Wed Oct 19 11:27:12 EDT 2011


Author: nickboldt
Date: 2011-10-19 11:27:11 -0400 (Wed, 19 Oct 2011)
New Revision: 35812

Modified:
   trunk/build/aggregate/site/build.xml
Log:
externalize list of files to add to site/ and site_assembly.zip into property for reuse

Modified: trunk/build/aggregate/site/build.xml
===================================================================
--- trunk/build/aggregate/site/build.xml	2011-10-19 15:27:02 UTC (rev 35811)
+++ trunk/build/aggregate/site/build.xml	2011-10-19 15:27:11 UTC (rev 35812)
@@ -31,6 +31,8 @@
 	<property name="aggregateSite.properties" value="aggregateSite.jbosstools.properties" />
 	<property file="${aggregateSite.properties}" />
 
+	<property name="web.content.files" value="index.html, **/*.css, README*, *directory.xml"/>
+
 	<target name="init">
 		<ant antfile="${build.xml}" target="init" />
 		<taskdef resource="net/sf/antcontrib/antlib.xml">
@@ -400,7 +402,7 @@
 	</target>
 
 	<target name="pack.zip">
-		<zip destfile="${output.dir}/target/site_assembly.zip" update="true" basedir="${update.site.source.dir}" includes="content.* index.html, web/*.css, README*" />
+		<zip destfile="${output.dir}/target/site_assembly.zip" update="true" basedir="${update.site.source.dir}" includes="content.*, ${web.content.files}" />
 	</target>
 
 	<target name="check.target">
@@ -489,7 +491,7 @@
 &lt;/directory>
 </echo>
 		<copy todir="${update.site.source.dir}">
-			<fileset dir="${output.dir}" includes="index.html, **/*.css, README*, *directory.xml" />
+			<fileset dir="${output.dir}" includes="${web.content.files}" />
 		</copy>
 	</target>
 



More information about the jbosstools-commits mailing list