From 581c730a73654563d787f6306a2ef23def68c4a7 Mon Sep 17 00:00:00 2001 From: Doug Schaefer Date: Mon, 8 Mar 2004 18:41:52 +0000 Subject: [PATCH] New release engineering scripts --- releng/org.eclipse.cdt.releng/.cvsignore | 3 + releng/org.eclipse.cdt.releng/build.sh | 6 +- releng/org.eclipse.cdt.releng/build.xml | 89 +++++--- releng/org.eclipse.cdt.releng/index.xsl | 198 ++++++++++++++++++ releng/org.eclipse.cdt.releng/maps/cdt.map | 8 + releng/org.eclipse.cdt.releng/message.txt | 6 + .../testing/build.properties | 81 +++++++ .../testing/customTargets.xml | 130 ++++++++++++ 8 files changed, 488 insertions(+), 33 deletions(-) create mode 100644 releng/org.eclipse.cdt.releng/.cvsignore create mode 100644 releng/org.eclipse.cdt.releng/index.xsl create mode 100644 releng/org.eclipse.cdt.releng/message.txt create mode 100644 releng/org.eclipse.cdt.releng/testing/build.properties create mode 100644 releng/org.eclipse.cdt.releng/testing/customTargets.xml diff --git a/releng/org.eclipse.cdt.releng/.cvsignore b/releng/org.eclipse.cdt.releng/.cvsignore new file mode 100644 index 00000000000..56a0b346cf3 --- /dev/null +++ b/releng/org.eclipse.cdt.releng/.cvsignore @@ -0,0 +1,3 @@ +eclipse-SDK.zip +results +workspace diff --git a/releng/org.eclipse.cdt.releng/build.sh b/releng/org.eclipse.cdt.releng/build.sh index 0e5b70f6e07..d20704e0cc0 100644 --- a/releng/org.eclipse.cdt.releng/build.sh +++ b/releng/org.eclipse.cdt.releng/build.sh @@ -6,8 +6,4 @@ export PATH=$JAVA_HOME/bin:$PATH cd `dirname $0` -rm -fr results - -java -cp eclipse/startup.jar org.eclipse.core.launcher.Main -application org.eclipse.ant.core.antRunner $* \ - -DbaseLocation=$PWD/eclipse \ - -DbuildDirectory=$PWD/results +java -cp ../../startup.jar org.eclipse.core.launcher.Main -application org.eclipse.ant.core.antRunner $* diff --git a/releng/org.eclipse.cdt.releng/build.xml b/releng/org.eclipse.cdt.releng/build.xml index 6da7ec7a885..2f7068d90b0 100644 --- a/releng/org.eclipse.cdt.releng/build.xml +++ b/releng/org.eclipse.cdt.releng/build.xml @@ -1,25 +1,30 @@ - + - - - + + + + - + - - + + + + - - - + + + + + - + @@ -29,14 +34,30 @@ - + + + + + + + + + + + + + + + + + + - + - - - - @@ -46,33 +67,45 @@ - - - + - - + - + + + + + - + - - - - + + + + + + + + + + + + + diff --git a/releng/org.eclipse.cdt.releng/index.xsl b/releng/org.eclipse.cdt.releng/index.xsl new file mode 100644 index 00000000000..b035df8de75 --- /dev/null +++ b/releng/org.eclipse.cdt.releng/index.xsl @@ -0,0 +1,198 @@ + + + + + + + + + CDT 2.0 Build Page + + +

CDT 2.0 Build Page

+

+ The nightly builds are currently run every weeknight + To get download and install the builds, add the following + as a site bookmark in Eclipse's Update Manager perspective: +

+

+ http://update.eclipse.org/tools/cdt/updates/builds/2.0 +

+

+ There is one category for each build. Expanding the + category will reveal the installable features. + Currently the following features are available. + You must install the main CDT feature as well as one + or both of the builder features. +

+

Builds

+

+ The reports from the automated build verification test suites + are linked below. +

+
    + +
+ + +
+ + +
  • + + +
  • +
    + +
    diff --git a/releng/org.eclipse.cdt.releng/maps/cdt.map b/releng/org.eclipse.cdt.releng/maps/cdt.map index c0aa6c2076e..47e7996c16d 100644 --- a/releng/org.eclipse.cdt.releng/maps/cdt.map +++ b/releng/org.eclipse.cdt.releng/maps/cdt.map @@ -34,5 +34,13 @@ plugin@org.eclipse.cdt.managedbuilder.core=HEAD,:pserver:anonymous@dev.eclipse.o plugin@org.eclipse.cdt.managedbuilder.ui=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, feature@org.eclipse.cdt.managedbuilder=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools,,org.eclipse.cdt.managedbuilder-feature +! Testing feature + +plugin@org.eclipse.cdt.core.tests=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, +plugin@org.eclipse.cdt.ui.tests=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, +plugin@org.eclipse.cdt.debug.ui.tests=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, +plugin@org.eclipse.cdt.testing=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools, +feature@org.eclipse.cdt.testing=HEAD,:pserver:anonymous@dev.eclipse.org:/home/tools,,org.eclipse.cdt.testing-feature + ! Source Feature diff --git a/releng/org.eclipse.cdt.releng/message.txt b/releng/org.eclipse.cdt.releng/message.txt new file mode 100644 index 00000000000..2f53bb3cfc0 --- /dev/null +++ b/releng/org.eclipse.cdt.releng/message.txt @@ -0,0 +1,6 @@ +The build is available at + + http://update.eclipse.org/tools/cdt/updates/builds/2.0 + +Cheers, +dschaefer2, the buildmaster... diff --git a/releng/org.eclipse.cdt.releng/testing/build.properties b/releng/org.eclipse.cdt.releng/testing/build.properties new file mode 100644 index 00000000000..aa12a1152a4 --- /dev/null +++ b/releng/org.eclipse.cdt.releng/testing/build.properties @@ -0,0 +1,81 @@ +##################### +# Parameters describing how and where to execute the build. +# Typical users need only update the following properties: +# baseLocation - where things you are building against are installed +# bootclasspath - The base jars to compile against (typicaly rt.jar) +# configs - the list of {os, ws, arch} configurations to build. +# +# Of course any of the settings here can be overridden by spec'ing +# them on the command line (e.g., -DbaseLocation=d:/eclipse + +############# CVS CONTROL ################ +# The CVS tag to use when fetching the map files from the repository +mapVersionTag=HEAD + +# The CVS tag to use when fetching elements to build. By default the +# builder will use whatever is in the maps. Use this value to override +# for example, when doing a nightly build out of HEAD +# fetchTag=HEAD + + +############## BUILD / GENERATION CONTROL ################ +# The directory into which the build elements will be fetched and where +# the build will take place. buildDirectory and install should be the same +# value. +buildDirectory=build + +# Type of build. Used in naming the build output. Typically this value is +# one of I, N, M, S, ... +buildType=I + +# ID of the build. Used in naming the build output. +buildId=TestBuild + +# Label for the build. Used in naming the build output +buildLabel=${buildType}.${buildId} + +# Timestamp for the build. Used in naming the build output +timestamp=007 + +# Base location for anything the build needs to compile against. For example, +# when building GEF, the baseLocation should be the location of a previously +# installed Eclipse against which the GEF code will be compiled. +baseLocation= + +#Os/Ws/Arch/nl of the eclipse specified by baseLocation +#baseos +#basews +#basearch +#basenl + +# The location underwhich all of the build output will be collected. This will be +# the root path in the resultant zip file. +collPlace=eclipse + +# The directory in which to execute zip of the ${collPlace} directory +collBase=. + +# The list of {os, ws, arch} configurations to build. This +# value is a '&' separated list of ',' separate triples. For example, +# configs=win32,win32,x86 & linux,motif,x86 +# By default the value is *,*,* +configs=*,*,* + +#Arguments to send to the zip executable +zipargs= + +############# JAVA COMPILER OPTIONS ############## +# The location of the Java jars to compile against. Typically the rt.jar for your JDK/JRE +#bootclasspath=d:/ibm1.3.1/jre/lib/rt.jar + +# Whether or not to include debug info in the output jars +javacDebugInfo=false + +# Whether or not to fail the build if there are compiler errors +javacfailonerror=true + +# The version of the source code +#javaSource=1.3 + +# The version of the byte code targeted +#javacTarget=1.1 diff --git a/releng/org.eclipse.cdt.releng/testing/customTargets.xml b/releng/org.eclipse.cdt.releng/testing/customTargets.xml new file mode 100644 index 00000000000..b8fa302c549 --- /dev/null +++ b/releng/org.eclipse.cdt.releng/testing/customTargets.xml @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +