From 5f6855bb040afc2607edcd0c77c4b76600156416 Mon Sep 17 00:00:00 2001 From: Anna Dushistova Date: Fri, 26 Mar 2010 01:10:14 +0000 Subject: [PATCH] [releng] Nick's suggestions on build scripts improvements. --- releng/org.eclipse.tm.releng/build.properties | 46 ++++------ releng/org.eclipse.tm.releng/build.xml | 89 +++++++------------ releng/org.eclipse.tm.releng/buildExtra.xml | 25 ------ 3 files changed, 49 insertions(+), 111 deletions(-) diff --git a/releng/org.eclipse.tm.releng/build.properties b/releng/org.eclipse.tm.releng/build.properties index f80d9d605db..cca2c23448c 100644 --- a/releng/org.eclipse.tm.releng/build.properties +++ b/releng/org.eclipse.tm.releng/build.properties @@ -7,6 +7,7 @@ # # Contributors: # Anna Dushistova (Mentor Graphics) - initial API and implementation +# Nick Boldt (RedHat) - [307014][releng] Improvements to build script for Athena ############################################################################### ## BEGIN PROJECT BUILD PROPERTIES ## @@ -26,33 +27,25 @@ branch=HEAD mainFeatureToBuildID=org.eclipse.tm.releng.master testFeatureToBuildID=org.eclipse.rse.tests -# MUST BE SET # -#Anna's settings -#JAVA_HOME=/usr/lib/jvm/jre -#JAVA_HOME=/usr/java/j2re1.4.2_19 -#JAVA14_HOME=/usr/java/j2re1.4.2_19 -#JAVA50_HOME=/usr/java/jdk1.5.0_15 -#JAVADOC14_HOME=/usr/bin -#JAVA_FOUNDATION_HOME=/home/anna/cdc-foundation/ -#PACK200_JAVA_HOME=${JAVA50_HOME} +JAVA60_HOME=${JAVA_HOME} +JAVA50_HOME=${JAVA_HOME} +JAVA14_HOME=${JAVA_HOME} -#Default settings -JAVA60_HOME=/opt/public/common/ibm-java-jdk-ppc-60 -JAVA50_64_HOME=/opt/public/common/ibm-java2-ppc64-50 -JAVA50_HOME=/opt/public/common/ibm-java2-ppc-50 -JAVA14_HOME=/opt/public/common/ibm-java2-142 -JAVA_FOUNDATION_HOME=/opt/public/common/org.eclipse.sdk-feature/libs -JAVA_HOME=${JAVA50_HOME} +repositoryURLs=\ +http://download.jboss.org/jbosstools/updates/helios/ +IUsToInstall=org.eclipse.sdk.feature.group+org.eclipse.sdk.ide+org.eclipse.core.net+org.eclipse.equinox.common+org.eclipse.core.runtime+org.eclipse.debug.core+org.eclipse.rcp.feature.group+\ +org.eclipse.emf.feature.group+\ +org.eclipse.xsd.feature.group +#dependencyURLs= http://download.eclipse.org/eclipse/downloads/drops/R-3.5.1-200909170800/eclipse-SDK-3.5.1-linux-gtk-ppc.tar.gz,\ +#http://download.eclipse.org/modeling/emf/emf/downloads/drops/2.5.0/R200906151043/emf-runtime-2.5.0.zip,\ +#http://rxtx.qbang.org/eclipse/downloads/RXTX-runtime-I20071016-1945.zip +#https://build.eclipse.org/hudson/view/Athena%20CBI/job/cbi-tm-3.2-nightly/ws/build/downloads/RXTX-runtime-I20071016-1945.zip +dependencyURLs=http://download.eclipse.org/athena/runnables/RXTX-runtime-I20071016-1945.zip -dependencyURLs= http://download.eclipse.org/eclipse/downloads/drops/S-3.6M6-201003121448/eclipse-SDK-3.6M6-linux-gtk-ppc.tar.gz,\ -http://download.eclipse.org/modeling/emf/emf/downloads/drops/2.5.0/R200906151043/emf-runtime-2.5.0.zip,\ -http://download.eclipse.org/athena/runnables/RXTX-runtime-I20071016-1945.zip - -#what steps should we do? default: build.steps=buildZips,buildTests,generateDigests,test,publish,cleanup -build.steps=buildUpdate,buildZips,buildTests,generateDigests,test,publish,cleanup -#build.steps=buildUpdate +build.steps=buildUpdate,buildExtra,buildTests,generateDigests,testLocal,publish,cleanup +# this is now set in build.xml #localSourceCheckoutDir=/home/anna/RSETM-BUILD-workspace/org.eclipse.tm.tree compilerArg=-enableJavadoc -encoding ISO-8859-1 @@ -63,13 +56,6 @@ flattenDependencies=true parallelCompilation=true generateFeatureVersionSuffix=true - -# For windows, must be explicit about paths using correct slashes (/); dirs with spaces should be avoided -#relengBuilderDir=C:/workspace/org.eclipse.gef.releng -#relengBaseBuilderDir=C:/workspace/org.eclipse.releng.basebuilder -#relengCommonBuilderDir=C:/workspace/org.eclipse.dash.common.releng -#writableBuildRoot=C:/tmp/build - # use this to omit pack200 step (does not yet work on Windows - https://bugs.eclipse.org/bugs/show_bug.cgi?id=268405) skipPack=true skipSign=true diff --git a/releng/org.eclipse.tm.releng/build.xml b/releng/org.eclipse.tm.releng/build.xml index b2fe69d5e0b..7c7eeed59ea 100644 --- a/releng/org.eclipse.tm.releng/build.xml +++ b/releng/org.eclipse.tm.releng/build.xml @@ -1,67 +1,44 @@ - + + - + - - + - + + + + + + + + + + + - - - - - - - - + + + diff --git a/releng/org.eclipse.tm.releng/buildExtra.xml b/releng/org.eclipse.tm.releng/buildExtra.xml index a91b0b509b9..d8ea4e44093 100644 --- a/releng/org.eclipse.tm.releng/buildExtra.xml +++ b/releng/org.eclipse.tm.releng/buildExtra.xml @@ -153,31 +153,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - -