mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-17 05:05:43 +02:00
Renaming packages produced from the build according to the platform conventions.
This commit is contained in:
parent
9219c76a0c
commit
b2e7d3f480
3 changed files with 11 additions and 3 deletions
|
@ -5,7 +5,7 @@ archivePrefix=eclipse
|
||||||
collectingFolder=${archivePrefix}
|
collectingFolder=${archivePrefix}
|
||||||
buildType=P
|
buildType=P
|
||||||
buildId=unknown
|
buildId=unknown
|
||||||
buildLabel=${buildType}-${release}-${buildId}
|
buildLabel=${buildId}
|
||||||
mapVersionTag=HEAD
|
mapVersionTag=HEAD
|
||||||
|
|
||||||
#this is set to the tag from the map file unless forced here
|
#this is set to the tag from the map file unless forced here
|
||||||
|
|
|
@ -46,8 +46,8 @@ packageDirectory = "#{working}/package"
|
||||||
publishDirectory = "#{working}/publish"
|
publishDirectory = "#{working}/publish"
|
||||||
|
|
||||||
tag = ask("Enter tag to fetch from CVS", "HEAD")
|
tag = ask("Enter tag to fetch from CVS", "HEAD")
|
||||||
buildType = ask("Enter build type (N=Nightly, I=Integration, M=Milestone)", "N")
|
buildType = ask("Enter build type (P=Personal, N=Nightly, I=Integration, S=Stable)", "P")
|
||||||
buildId = ask("Enter the build id", Time.now.strftime("%Y%m%d-%H%M"))
|
buildId = ask("Enter the build id", buildType + Time.now.strftime("%Y%m%d-%H%M"))
|
||||||
|
|
||||||
command = "java -cp #{eclipse}/startup.jar org.eclipse.core.launcher.Main "
|
command = "java -cp #{eclipse}/startup.jar org.eclipse.core.launcher.Main "
|
||||||
command += "-application org.eclipse.ant.core.antRunner "
|
command += "-application org.eclipse.ant.core.antRunner "
|
||||||
|
|
|
@ -183,6 +183,14 @@
|
||||||
<!-- Steps to do after the build is done. -->
|
<!-- Steps to do after the build is done. -->
|
||||||
<!-- ===================================================================== -->
|
<!-- ===================================================================== -->
|
||||||
<target name="postBuild">
|
<target name="postBuild">
|
||||||
|
<move todir="${buildDirectory}/${buildLabel}">
|
||||||
|
<fileset dir="${buildDirectory}/${buildLabel}" includes="org.eclipse.rse.sdk-*"/>
|
||||||
|
<mapper type="glob" from="org.eclipse.rse.sdk-*" to="RSE-SDK-*"/>
|
||||||
|
</move>
|
||||||
|
<move todir="${buildDirectory}/${buildLabel}">
|
||||||
|
<fileset dir="${buildDirectory}/${buildLabel}" includes="org.eclipse.rse.*" excludes="org.eclipse.rse.sdk-*"/>
|
||||||
|
<mapper type="glob" from="org.eclipse.rse.*" to="RSE-runtime-*"/>
|
||||||
|
</move>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- ===================================================================== -->
|
<!-- ===================================================================== -->
|
||||||
|
|
Loading…
Add table
Reference in a new issue