1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 06:05:24 +02:00

Renaming packages produced from the build according to the platform conventions.

This commit is contained in:
David Dykstal 2006-05-17 17:14:57 +00:00
parent 9219c76a0c
commit b2e7d3f480
3 changed files with 11 additions and 3 deletions

View file

@ -5,7 +5,7 @@ archivePrefix=eclipse
collectingFolder=${archivePrefix}
buildType=P
buildId=unknown
buildLabel=${buildType}-${release}-${buildId}
buildLabel=${buildId}
mapVersionTag=HEAD
#this is set to the tag from the map file unless forced here

View file

@ -46,8 +46,8 @@ packageDirectory = "#{working}/package"
publishDirectory = "#{working}/publish"
tag = ask("Enter tag to fetch from CVS", "HEAD")
buildType = ask("Enter build type (N=Nightly, I=Integration, M=Milestone)", "N")
buildId = ask("Enter the build id", Time.now.strftime("%Y%m%d-%H%M"))
buildType = ask("Enter build type (P=Personal, N=Nightly, I=Integration, S=Stable)", "P")
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 += "-application org.eclipse.ant.core.antRunner "

View file

@ -183,6 +183,14 @@
<!-- Steps to do after the build is done. -->
<!-- ===================================================================== -->
<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>
<!-- ===================================================================== -->