Author: nickboldt
Date: 2010-05-03 21:59:49 -0400 (Mon, 03 May 2010)
New Revision: 21876
Modified:
branches/modular_build/build/build.xml
Log:
archive the whole overall update site, not just the site zip; this way publishing is a
single scp/rsync
Modified: branches/modular_build/build/build.xml
===================================================================
--- branches/modular_build/build/build.xml 2010-05-03 22:20:44 UTC (rev 21875)
+++ branches/modular_build/build/build.xml 2010-05-04 01:59:49 UTC (rev 21876)
@@ -638,6 +638,20 @@
<param name="COMPONENTS.to.build" value="site" />
<param name="update.site.path" value="site" />
</antcall>
+
+ <!-- Copy overall site into workspace so it can be archived by Hudson -->
+ <if>
+ <not>
+ <equals arg1="${basedir}" arg2="${WORKINGDIR}" />
+ </not>
+ <then>
+ <mkdir dir="${basedir}/${update.site.path}/target" />
+ <copy todir="${basedir}/${update.site.path}/target"
overwrite="true">
+ <fileset dir="${WORKINGDIR}/${update.site.path}/target/site" />
+ </copy>
+ </then>
+ </if>
+
</target>
<target name="build.update.site">
@@ -900,6 +914,7 @@
</fail>
</else>
</if>
+
</target>
<!-- ************************************ TESTS ************************************
-->
Show replies by date