diff options
author | Andrew Niefer | 2011-07-07 18:58:40 +0000 |
---|---|---|
committer | Andrew Niefer | 2011-07-07 18:58:40 +0000 |
commit | e26650eef1961f7e5a082a0f43c17eec0faceb3f (patch) | |
tree | 4524cbfb958b4b13eb8307f827327c69831f18e7 /bundles/org.eclipse.equinox.launcher.wpf.win32.x86 | |
parent | c9990d8796c41553a2a7991595ab52881c4e863e (diff) | |
download | rt.equinox.framework-e26650eef1961f7e5a082a0f43c17eec0faceb3f.tar.gz rt.equinox.framework-e26650eef1961f7e5a082a0f43c17eec0faceb3f.tar.xz rt.equinox.framework-e26650eef1961f7e5a082a0f43c17eec0faceb3f.zip |
Bug 350102 - Update launcher releng scripts to support moving to git
Diffstat (limited to 'bundles/org.eclipse.equinox.launcher.wpf.win32.x86')
-rw-r--r-- | bundles/org.eclipse.equinox.launcher.wpf.win32.x86/build.properties | 3 | ||||
-rw-r--r-- | bundles/org.eclipse.equinox.launcher.wpf.win32.x86/customBuildCallbacks.xml | 122 |
2 files changed, 124 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.launcher.wpf.win32.x86/build.properties b/bundles/org.eclipse.equinox.launcher.wpf.win32.x86/build.properties index 36289e9d1..e8409729d 100644 --- a/bundles/org.eclipse.equinox.launcher.wpf.win32.x86/build.properties +++ b/bundles/org.eclipse.equinox.launcher.wpf.win32.x86/build.properties @@ -14,4 +14,5 @@ bin.includes = META-INF/,\ launcher.wpf.win32.x86.properties,\ about.html generateSourceBundle=false -binaryTag=R3_7 +customBuildCallbacks=customBuildCallbacks.xml +binaryTag=v20110707-1425 diff --git a/bundles/org.eclipse.equinox.launcher.wpf.win32.x86/customBuildCallbacks.xml b/bundles/org.eclipse.equinox.launcher.wpf.win32.x86/customBuildCallbacks.xml new file mode 100644 index 000000000..6125df47b --- /dev/null +++ b/bundles/org.eclipse.equinox.launcher.wpf.win32.x86/customBuildCallbacks.xml @@ -0,0 +1,122 @@ +<!-- ===================================================================== --> +<!-- Custom targets called from a project's generated build.xml --> +<!-- Set customBuildCallbacks=<path/to/this/file> in your build.properties.--> +<!-- ===================================================================== --> +<project name="Build specific targets and properties" default="noDefault"> + + <!-- ===================================================================== --> + <!-- Default target --> + <!-- ===================================================================== --> + <target name="noDefault"> + <echo message="This file must be called with explicit targets" /> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do before the target build.jars --> + <!-- Available parameters : --> + <!-- build.result.folder - folder to contain the build results --> + <!-- ===================================================================== --> + <target name="pre.build.jars"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the target build.jars --> + <!-- Available parameters : --> + <!-- build.result.folder - folder to contain the build results --> + <!-- ===================================================================== --> + <target name="post.build.jars"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do before the target build.sources --> + <!-- Available parameters : --> + <!-- build.result.folder - folder to contain the build results --> + <!-- ===================================================================== --> + <target name="pre.build.sources"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the target build.sources --> + <!-- Available parameters : --> + <!-- build.result.folder - folder to contain the build results --> + <!-- ===================================================================== --> + <target name="post.build.sources"> + </target> + + <target name="pre.gather.bin.parts"> + <basename file="${basedir}" property="fragmentName" /> + <available file="/gitroot/equinox/rt.equinox.binaries.git" type="dir" property="gitRepo" value="/gitroot/equinox/rt.equinox.binaries.git" /> + <property name="gitRepo" value="ssh://git.eclipse.org/gitroot/equinox/rt.equinox.binaries.git" /> + + <exec dir="${basedir}" executable="git" output="${basedir}/binary.tar" errorproperty="errorResult" > + <arg line="archive --format=tar --remote=${gitRepo} ${binaryTag} ${fragmentName}" /> + </exec> + + <copy todir="${basedir}"> + <tarfileset includes="${fragmentName}/**" src="${basedir}/binary.tar" /> + <globmapper from="${fragmentName}/*" to="*" /> + </copy> + + <delete file="${basedir}/binary.tar" failonerror="false" quiet="true" /> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the target gather.bin.parts --> + <!-- Available parameters : --> + <!-- base.dir - root of the project --> + <!-- build.result.folder - folder containing the build results --> + <!-- target.folder - destination folder --> + <!-- ===================================================================== --> + <target name="post.gather.bin.parts"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do before the target gather.sources --> + <!-- Available parameters : --> + <!-- destination.temp.folder - destination folder --> + <!-- ===================================================================== --> + <target name="pre.gather.sources"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the target gather.sources --> + <!-- Available parameters : --> + <!-- destination.temp.folder - destination folder --> + <!-- ===================================================================== --> + <target name="post.gather.sources"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do before the target gather.logs --> + <!-- Available parameters : --> + <!-- destination.temp.folder - destination folder --> + <!-- ===================================================================== --> + <target name="pre.gather.logs"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the target gather.logs --> + <!-- Available parameters : --> + <!-- destination.temp.folder - destination folder --> + <!-- ===================================================================== --> + <target name="post.gather.logs"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do before the target clean --> + <!-- Available parameters : --> + <!-- destination.temp.folder - destination folder --> + <!-- ===================================================================== --> + <target name="pre.clean"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the target clean --> + <!-- Available parameters : --> + <!-- plugin.destination - final destination of the build --> + <!-- build.result.folder - results of the compilation --> + <!-- temp.folder - temporary folder --> + <!-- ===================================================================== --> + <target name="post.clean"> + </target> +</project> |