Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'releng/org.eclipse.equinox.launcher.releng/build.xml')
-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