[Laszlo-checkins] r12790 - tools/trunk/build-tools/nightly
ptw@openlaszlo.org
ptw at openlaszlo.org
Sat Feb 7 14:15:24 PST 2009
Author: ptw
Date: 2009-02-07 14:15:21 -0800 (Sat, 07 Feb 2009)
New Revision: 12790
Modified:
tools/trunk/build-tools/nightly/build.xml
Log:
Change 20090207-ptw-w by ptw at dueling-banjos.home on 2009-02-07 17:14:30 EST
in /Users/ptw/OpenLaszlo/tools/trunk/build-tools/nightly
for http://svn.openlaszlo.org/tools/trunk/build-tools/nightly
Summary: Automatically create the build-id 'comment'
Modified: tools/trunk/build-tools/nightly/build.xml
===================================================================
--- tools/trunk/build-tools/nightly/build.xml 2009-02-07 20:29:45 UTC (rev 12789)
+++ tools/trunk/build-tools/nightly/build.xml 2009-02-07 22:15:21 UTC (rev 12790)
@@ -65,6 +65,9 @@
var branchstr = nightly.getProperty("build.branch");
var betterstr = branchstr.replace("/", "-");
nightly.setProperty("build.branch-no-dashes", betterstr);
+ var buildID = nightly.getProperty("build.id");
+ var buildIDFile = encodeURIComponent(buildID);
+ nightly.setProperty("build.id-file", buildIDFile);
]]></script>
<property name="build.name"
@@ -388,6 +391,8 @@
</target>
<target name="push-to-download" if="build.post.do">
+ <!-- Create the build-id 'comment' -->
+ <touch file="${tmp.dir}/${build.name}/${build.id-file}" />
<!-- Push the os-generic versions from the master build machine, linux-builder -->
<apply executable="scp">
<fileset dir="${tmp.dir}/${build.name}/">
@@ -396,6 +401,7 @@
<include name="LICENSE.*" />
<include name="README.*" />
<include name="docs/release-notes.*" />
+ <include name="${build.id-file}" />
</fileset>
<srcfile />
<arg value="openlaszlo at download.openlaszlo.org:~/download.openlaszlo.org/nightly/${build.name}" />
More information about the Laszlo-checkins
mailing list