From 1ec18cdaf50db261ac92e87a5074ab33858853c5 Mon Sep 17 00:00:00 2001 From: Vivian Kong Date: Wed, 9 Apr 2008 15:19:39 +0000 Subject: [PATCH] adding utilities plug-in to build --- releng/org.eclipse.cdt.master/feature.xml | 4 + releng/org.eclipse.cdt.releng/build.xml | 12 ++ releng/org.eclipse.cdt.releng/buildindex.html | 1 + releng/org.eclipse.cdt.releng/buildsite.xml | 3 + releng/org.eclipse.cdt.releng/maps/cdt.map | 6 +- .../util/build.properties | 94 +++++++++++++ .../util/customTargets.xml | 133 ++++++++++++++++++ 7 files changed, 252 insertions(+), 1 deletion(-) create mode 100644 releng/org.eclipse.cdt.releng/util/build.properties create mode 100644 releng/org.eclipse.cdt.releng/util/customTargets.xml diff --git a/releng/org.eclipse.cdt.master/feature.xml b/releng/org.eclipse.cdt.master/feature.xml index 525d5942aa9..46ab8686961 100644 --- a/releng/org.eclipse.cdt.master/feature.xml +++ b/releng/org.eclipse.cdt.master/feature.xml @@ -44,5 +44,9 @@ + + diff --git a/releng/org.eclipse.cdt.releng/build.xml b/releng/org.eclipse.cdt.releng/build.xml index b2c482b04cd..98cc1238ece 100644 --- a/releng/org.eclipse.cdt.releng/build.xml +++ b/releng/org.eclipse.cdt.releng/build.xml @@ -64,6 +64,9 @@ + + + @@ -82,6 +85,9 @@ + + + @@ -378,6 +384,12 @@ + + + + + + diff --git a/releng/org.eclipse.cdt.releng/buildindex.html b/releng/org.eclipse.cdt.releng/buildindex.html index 002bdb49063..48eb28a6e27 100644 --- a/releng/org.eclipse.cdt.releng/buildindex.html +++ b/releng/org.eclipse.cdt.releng/buildindex.html @@ -24,6 +24,7 @@ you want to install. You will at nead require the C/C++ Development Tooling feat
  • GDB Hardware Debugging - Provides a launch configuration for launching gdb to do hardware debugging.
  • XL C/C++ Compiler Support - Provides an error parser and managed build support for IBM's XL C/C++ compilers.
  • LR Parser - Provides a parser for the ISO/IEC 9899:1999 variant of the C programming language (aka C99), generated from a grammar using the LPG parser generator. The grammar can be reused and extended to create your own parser for variants on the C programming language.
  • +
  • CDT Utilities - Provides utilities for C/C++ Development Tools
  • CDT Testing Feature - includes all test plugins required for running automated JUnit tests
  • diff --git a/releng/org.eclipse.cdt.releng/buildsite.xml b/releng/org.eclipse.cdt.releng/buildsite.xml index f1d0b705dcf..595b7364215 100644 --- a/releng/org.eclipse.cdt.releng/buildsite.xml +++ b/releng/org.eclipse.cdt.releng/buildsite.xml @@ -21,6 +21,9 @@ + + + diff --git a/releng/org.eclipse.cdt.releng/maps/cdt.map b/releng/org.eclipse.cdt.releng/maps/cdt.map index 8f2f48332de..3198e411636 100644 --- a/releng/org.eclipse.cdt.releng/maps/cdt.map +++ b/releng/org.eclipse.cdt.releng/maps/cdt.map @@ -74,5 +74,9 @@ feature@org.eclipse.cdt.xlc.sdk=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvs ! LR parser plugin@org.eclipse.cdt.core.lrparser=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/lrparser/org.eclipse.cdt.core.lrparser -plugin@net.sourceforge.lpg.lpgjavaruntime,1.1.0=GET,http://download.eclipse.org/tools/orbit/downloads/drops/S20080209163815/bundles/net.sourceforge.lpg.lpgjavaruntime_1.1.0.v200711021030.jar +plugin@net.sourceforge.lpg.lpgjavaruntime,1.1.0=GET,http://download.eclipse.org/tools/orbit/downloads/drops/S20080326131619/bundles/net.sourceforge.lpg.lpgjavaruntime_1.1.0.v200803061910.jar feature@org.eclipse.cdt.core.lrparser.feature=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/lrparser/org.eclipse.cdt.core.lrparser.feature + +! CDT Utilities +plugin@org.eclipse.cdt.util=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/util/org.eclipse.cdt.util +feature@org.eclipse.cdt.util.feature=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/util/org.eclipse.cdt.util-feature diff --git a/releng/org.eclipse.cdt.releng/util/build.properties b/releng/org.eclipse.cdt.releng/util/build.properties new file mode 100644 index 00000000000..6d93b4839e2 --- /dev/null +++ b/releng/org.eclipse.cdt.releng/util/build.properties @@ -0,0 +1,94 @@ +############################################################################### +# Copyright (c) 2008 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +############################################################################### +##################### +# 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 + +cdtTag=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=*,*,* + +archivesFormat=*,*,*-zip + +#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=on + +# Whether or not to fail the build if there are compiler errors +javacfailonerror=true + +# The version of the source code +javacSource=1.5 + +# The version of the byte code targeted +javacTarget=1.5 diff --git a/releng/org.eclipse.cdt.releng/util/customTargets.xml b/releng/org.eclipse.cdt.releng/util/customTargets.xml new file mode 100644 index 00000000000..6c16afa794e --- /dev/null +++ b/releng/org.eclipse.cdt.releng/util/customTargets.xml @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +