Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorSilenio Quarti2012-04-17 17:42:12 -0400
committerSilenio Quarti2012-04-17 17:42:12 -0400
commit170f5b417d6dc0867adae3ab848ce0477fd4f543 (patch)
tree90a03e65d6397522deb9537407499f921812023e /releng
parent3011e6a9c0142036bd38851224e8e030936dc858 (diff)
downloadrt.equinox.framework-170f5b417d6dc0867adae3ab848ce0477fd4f543.tar.gz
rt.equinox.framework-170f5b417d6dc0867adae3ab848ce0477fd4f543.tar.xz
rt.equinox.framework-170f5b417d6dc0867adae3ab848ce0477fd4f543.zip
Diffstat (limited to 'releng')
-rw-r--r--releng/org.eclipse.equinox.launcher.releng/build.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/releng/org.eclipse.equinox.launcher.releng/build.xml b/releng/org.eclipse.equinox.launcher.releng/build.xml
index f406a3026..1ad64c643 100644
--- a/releng/org.eclipse.equinox.launcher.releng/build.xml
+++ b/releng/org.eclipse.equinox.launcher.releng/build.xml
@@ -26,6 +26,19 @@
</sequential>
</macrodef>
+ <!-- macro for invoking git -->
+ <macrodef name="git">
+ <attribute name="dir" />
+ <attribute name="command" />
+ <attribute name="arguments" default="" />
+ <sequential>
+ <exec dir="@{dir}" executable="git" >
+ <arg value="@{command}"/>
+ <arg line="@{arguments}"/>
+ </exec>
+ </sequential>
+ </macrodef>
+
<target name="init_exeFolder" >
<!-- set to "bin" or "contributed" according to which folder under org.eclipse.equinox.executable to store the built eclipse -->
<condition property="exeFolder" value="contributed" else="bin">
@@ -180,4 +193,18 @@
command="rm -rf ${remotetmpdir}; rm ${remotebuilddir}/${zip_file}"/>
<delete file="${basedir}/${zip_file}"/>
</target>
+
+ <target name="commitBinaries" depends="initProperties">
+ <tstamp/>
+ <property name="tag" value="v${DSTAMP}-${TSTAMP}"/>
+ <property name="commitMsg" value="" />
+
+ <git dir="${localGit}/rt.equinox.binaries" command="commit" arguments="-a -m &quot;Recompiled binaries ${commitMsg}&quot;" />
+ <git dir="${localGit}/rt.equinox.binaries" command="tag" arguments="${tag}" />
+
+ <replaceregexp match="binaryTag=(.*)" replace="binaryTag=${tag}" >
+ <fileset dir="${localGit}/rt.equinox.framework" includes="**/build.properties" />
+ </replaceregexp>
+ <git dir="${localGit}/rt.equinox.framework" command="commit" arguments="-a -m &quot;Binaries ${tag} ${commitMsg}&quot;" />
+ </target>
</project>

Back to the top