diff options
author | Silenio Quarti | 2012-04-17 21:42:12 +0000 |
---|---|---|
committer | Silenio Quarti | 2012-04-17 21:42:12 +0000 |
commit | 170f5b417d6dc0867adae3ab848ce0477fd4f543 (patch) | |
tree | 90a03e65d6397522deb9537407499f921812023e /releng | |
parent | 3011e6a9c0142036bd38851224e8e030936dc858 (diff) | |
download | rt.equinox.framework-170f5b417d6dc0867adae3ab848ce0477fd4f543.tar.gz rt.equinox.framework-170f5b417d6dc0867adae3ab848ce0477fd4f543.tar.xz rt.equinox.framework-170f5b417d6dc0867adae3ab848ce0477fd4f543.zip |
Binaries v20120417-1742v20120417-2142I20120425-1200I20120425-0800I20120424-1700I20120424-1600I20120424-0800
Diffstat (limited to 'releng')
-rw-r--r-- | releng/org.eclipse.equinox.launcher.releng/build.xml | 27 |
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 "Recompiled binaries ${commitMsg}"" /> + <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 "Binaries ${tag} ${commitMsg}"" /> + </target> </project> |