Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorDoug Schaefer2006-12-18 16:54:40 +0000
committerDoug Schaefer2006-12-18 16:54:40 +0000
commit75b955b6e6163cf2cb30288ca61a274fcabcde95 (patch)
tree60d358778bc2d1fce6aaf20620556d969e1eb9e9 /releng
parentbc2311e1aa60f7dba27397f0bc9abf3e2474b572 (diff)
downloadorg.eclipse.cdt-75b955b6e6163cf2cb30288ca61a274fcabcde95.tar.gz
org.eclipse.cdt-75b955b6e6163cf2cb30288ca61a274fcabcde95.tar.xz
org.eclipse.cdt-75b955b6e6163cf2cb30288ca61a274fcabcde95.zip
Get ready for Windows feature builds.
Diffstat (limited to 'releng')
-rw-r--r--releng/org.eclipse.cdt.releng/build.xml99
-rw-r--r--releng/org.eclipse.cdt.releng/buildindex.html2
-rw-r--r--releng/org.eclipse.cdt.releng/maps/cdt.map9
-rw-r--r--releng/org.eclipse.cdt.releng/windows/build.properties95
-rw-r--r--releng/org.eclipse.cdt.releng/windows/customTargets.xml133
-rw-r--r--releng/org.eclipse.cdt.releng/xlc/build.properties95
-rw-r--r--releng/org.eclipse.cdt.releng/xlc/customTargets.xml133
7 files changed, 520 insertions, 46 deletions
diff --git a/releng/org.eclipse.cdt.releng/build.xml b/releng/org.eclipse.cdt.releng/build.xml
index 4dc8680c423..caed63bb100 100644
--- a/releng/org.eclipse.cdt.releng/build.xml
+++ b/releng/org.eclipse.cdt.releng/build.xml
@@ -47,12 +47,18 @@
<ant antfile="build.xml" dir="${pde.build.scripts}" target="preBuild">
<property name="builder" value="${basedir}/sdk"/>
</ant>
+ <ant antfile="build.xml" dir="${pde.build.scripts}" target="preBuild">
+ <property name="builder" value="${basedir}/windows"/>
+ </ant>
<ant antfile="build.xml" dir="${pde.build.scripts}" target="fetch">
<property name="builder" value="${basedir}/platform"/>
</ant>
<ant antfile="build.xml" dir="${pde.build.scripts}" target="fetch">
<property name="builder" value="${basedir}/sdk"/>
</ant>
+ <ant antfile="build.xml" dir="${pde.build.scripts}" target="fetch">
+ <property name="builder" value="${basedir}/windows"/>
+ </ant>
</target>
<target name="unzip" depends="init" unless="dontUnzip">
@@ -69,6 +75,9 @@
<ant antfile="build.xml" dir="${pde.build.scripts}">
<property name="builder" value="${basedir}/sdk" />
</ant>
+ <ant antfile="build.xml" dir="${pde.build.scripts}">
+ <property name="builder" value="${basedir}/windows" />
+ </ant>
<concat destfile="${zipsdir}/compilelog.txt">
<fileset dir="${buildDirectory}/plugins" includes="**/*.bin.log"/>
</concat>
@@ -188,125 +197,133 @@
<target name="tag" depends="init">
<property name="cdtTag" value="${tagname}"/>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-core/org.eclipse.cdt.core"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.core"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-core/org.eclipse.cdt.core.aix"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.core.aix"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-core/org.eclipse.cdt.core.linux"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.core.linux"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-core/org.eclipse.cdt.core.linux.ia64"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.core.linux.ia64"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-core/org.eclipse.cdt.core.linux.ppc"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.core.linux.ppc"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-core/org.eclipse.cdt.core.linux.x86"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.core.linux.x86"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-core/org.eclipse.cdt.core.linux.x86_64"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.core.linux.x86_64"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-core/org.eclipse.cdt.core.macosx"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.core.macosx"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-core/org.eclipse.cdt.core.qnx"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.core.qnx"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-core/org.eclipse.cdt.core.solaris"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.core.solaris"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-core/org.eclipse.cdt.core.tests"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.core.tests"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-core/org.eclipse.cdt.core.win32"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.core.win32"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-core/org.eclipse.cdt.refactoring"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.refactoring"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-core/org.eclipse.cdt.refactoring.tests"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.refactoring.tests"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-core/org.eclipse.cdt.ui"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.ui"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-core/org.eclipse.cdt.ui.tests"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.ui.tests"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-build/org.eclipse.cdt.make.core"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.make.core"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-build/org.eclipse.cdt.make.core.tests"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.make.core.tests"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-build/org.eclipse.cdt.make.ui"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.make.ui"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-build/org.eclipse.cdt.managedbuilder.core"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.managedbuilder.core"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-build/org.eclipse.cdt.managedbuilder.core.tests"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.managedbuilder.core.tests"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-build/org.eclipse.cdt.managedbuilder.gnu.ui"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.managedbuilder.gnu.ui"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-build/org.eclipse.cdt.managedbuilder.ui"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.managedbuilder.ui"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-build/org.eclipse.cdt.managedbuilder.ui.tests"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.managedbuilder.ui.tests"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-debug/org.eclipse.cdt.debug.core"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.debug.core"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-debug/org.eclipse.cdt.debug.core.tests"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.debug.core.tests"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-debug/org.eclipse.cdt.debug.mi.core"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.debug.mi.core"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-debug/org.eclipse.cdt.debug.mi.ui"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.debug.mi.ui"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-debug/org.eclipse.cdt.debug.ui"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.debug.ui"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-debug/org.eclipse.cdt.debug.ui.tests"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.debug.ui.tests"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-doc/org.eclipse.cdt.doc.isv"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.doc.isv"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-doc/org.eclipse.cdt.doc.user"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.doc.user"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-launch/org.eclipse.cdt.launch"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.launch"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-releng/org.eclipse.cdt"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-releng/org.eclipse.cdt-feature"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt-feature"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-releng/org.eclipse.cdt.releng"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.releng"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-releng/org.eclipse.cdt.sdk"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.sdk"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-releng/org.eclipse.cdt.sdk-feature"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.sdk-feature"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-releng/org.eclipse.cdt.testing"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.testing"/>
</antcall>
<antcall target="tagone">
- <param name="tagmodule" value="org.eclipse.cdt-releng/org.eclipse.cdt.testing-feature"/>
+ <param name="tagmodule" value="org.eclipse.cdt/all/org.eclipse.cdt.testing-feature"/>
+ </antcall>
+ <antcall target="tagone">
+ <param name="tagmodule" value="org.eclipse.cdt/windows/org.eclipse.cdt.windows.build"/>
+ </antcall>
+ <antcall target="tagone">
+ <param name="tagmodule" value="org.eclipse.cdt/windows/org.eclipse.cdt.windows"/>
+ </antcall>
+ <antcall target="tagone">
+ <param name="tagmodule" value="org.eclipse.cdt/windows/org.eclipse.cdt.windows-feature"/>
</antcall>
</target>
-
</project>
diff --git a/releng/org.eclipse.cdt.releng/buildindex.html b/releng/org.eclipse.cdt.releng/buildindex.html
index db357b3a223..00b94b35c0e 100644
--- a/releng/org.eclipse.cdt.releng/buildindex.html
+++ b/releng/org.eclipse.cdt.releng/buildindex.html
@@ -59,7 +59,7 @@ integrations for build/debug, user documentation<br>
<td style="vertical-align: top;">QNX/x86<br>
</td>
<td style="vertical-align: top;">
- <a href="cdt-@branchVersion@-@buildId@-qnx.x86.tar.gz">cdt-cdt-@branchVersion@-@buildId@-qnx.x86.tar.gz</a><br>
+ <a href="cdt-@branchVersion@-@buildId@-qnx.x86.tar.gz">cdt-@branchVersion@-@buildId@-qnx.x86.tar.gz</a><br>
</td>
</tr>
<tr>
diff --git a/releng/org.eclipse.cdt.releng/maps/cdt.map b/releng/org.eclipse.cdt.releng/maps/cdt.map
index 78253b9e738..cbf559af387 100644
--- a/releng/org.eclipse.cdt.releng/maps/cdt.map
+++ b/releng/org.eclipse.cdt.releng/maps/cdt.map
@@ -1,5 +1,4 @@
! Cross platform
-
plugin@org.eclipse.cdt.core=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/all/org.eclipse.cdt.core
plugin@org.eclipse.cdt.ui=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/all/org.eclipse.cdt.ui
plugin@org.eclipse.cdt.refactoring=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/all/org.eclipse.cdt.refactoring
@@ -26,7 +25,6 @@ plugin@org.eclipse.cdt=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tool
feature@org.eclipse.cdt=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/all/org.eclipse.cdt-feature
! Platform specific
-
fragment@org.eclipse.cdt.core.aix=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/all/org.eclipse.cdt.core.aix
fragment@org.eclipse.cdt.core.linux=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/all/org.eclipse.cdt.core.linux
fragment@org.eclipse.cdt.core.linux.ia64=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/all/org.eclipse.cdt.core.linux.ia64
@@ -39,7 +37,6 @@ fragment@org.eclipse.cdt.core.solaris=@cdtTag@,:pserver:anonymous@dev.eclipse.or
fragment@org.eclipse.cdt.core.win32=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/all/org.eclipse.cdt.core.win32
! Testing feature
-
plugin@org.eclipse.cdt.core.tests=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/all/org.eclipse.cdt.core.tests
plugin@org.eclipse.cdt.ui.tests=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/all/org.eclipse.cdt.ui.tests
plugin@org.eclipse.cdt.refactoring.tests=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/all/org.eclipse.cdt.refactoring.tests
@@ -52,6 +49,10 @@ fragment@org.eclipse.ant.optional.junit=HEAD,:pserver:anonymous@dev.eclipse.org:
feature@org.eclipse.cdt.testing=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/all/org.eclipse.cdt.testing-feature
! SDK Feature
-
plugin@org.eclipse.cdt.sdk=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/all/org.eclipse.cdt.sdk
feature@org.eclipse.cdt.sdk=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/all/org.eclipse.cdt.sdk-feature
+
+! Windows Feature
+plugin@org.eclipse.cdt.windows.build=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/windows/org.eclipse.cdt.windows.build
+plugin@org.eclipse.cdt.windows=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/windows/org.eclipse.cdt.windows
+feature@org.eclipse.cdt.windows=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/windows/org.eclipse.cdt.windows-feature
diff --git a/releng/org.eclipse.cdt.releng/windows/build.properties b/releng/org.eclipse.cdt.releng/windows/build.properties
new file mode 100644
index 00000000000..e01f24b529f
--- /dev/null
+++ b/releng/org.eclipse.cdt.releng/windows/build.properties
@@ -0,0 +1,95 @@
+###############################################################################
+# Copyright (c) 2005, 2006 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
+# Markus Schorn (Wind River Systems)
+###############################################################################
+#####################
+# 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.4
+
+# The version of the byte code targeted
+javacTarget=1.4
diff --git a/releng/org.eclipse.cdt.releng/windows/customTargets.xml b/releng/org.eclipse.cdt.releng/windows/customTargets.xml
new file mode 100644
index 00000000000..4a7fd2c868b
--- /dev/null
+++ b/releng/org.eclipse.cdt.releng/windows/customTargets.xml
@@ -0,0 +1,133 @@
+<project name="Build specific targets and properties" default="noDefault" >
+
+<property name="basews" value="gtk" />
+<property name="baseos" value="linux" />
+<property name="basearch" value="x86" />
+<property name="basenl" value="en_US" />
+
+<!-- ===================================================================== -->
+<!-- Run a given ${target} on all elements being built -->
+<!-- Add on <ant> task for each top level element being built. -->
+<!-- ===================================================================== -->
+<target name="allElements">
+ <ant antfile="${genericTargets}" target="${target}" >
+ <property name="type" value="feature" />
+ <property name="id" value="org.eclipse.cdt.windows" />
+ </ant>
+</target>
+
+<!-- ===================================================================== -->
+<!-- Targets to assemble the built elements for particular configurations -->
+<!-- These generally call the generated assemble scripts (named in -->
+<!-- ${assembleScriptName}) but may also add pre and post processing -->
+<!-- Add one target for each root element and each configuration -->
+<!-- ===================================================================== -->
+
+<target name="assemble.org.eclipse.cdt.windows">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="archiveName" value="cdt-windows-${branchVersion}-${buildId}.zip"/>
+ </ant>
+</target>
+
+<!-- ===================================================================== -->
+<!-- Check out map files from correct repository -->
+<!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
+<!-- ===================================================================== -->
+<target name="getMapFiles">
+ <copy file="${builder}/../maps/cdt.map" todir="${buildDirectory}/maps"/>
+ <replace file="${buildDirectory}/maps/cdt.map">
+ <replacefilter token="@cdtTag@" value="${cdtTag}"/>
+ </replace>
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do before setup -->
+<!-- ===================================================================== -->
+<target name="preSetup">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do after setup but before starting the build proper -->
+<!-- ===================================================================== -->
+<target name="postSetup">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do before fetching the build elements -->
+<!-- ===================================================================== -->
+<target name="preFetch">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do after fetching the build elements -->
+<!-- ===================================================================== -->
+<target name="postFetch">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do before generating the build scripts. -->
+<!-- ===================================================================== -->
+<target name="preGenerate">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do after generating the build scripts. -->
+<!-- ===================================================================== -->
+<target name="postGenerate">
+</target>
+
+
+<!-- ===================================================================== -->
+<!-- Steps to do before running the build.xmls for the elements being built. -->
+<!-- ===================================================================== -->
+<target name="preProcess">
+ <replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@build@">
+ <include name="**/about.mappings" />
+ </replace>
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do after running the build.xmls for the elements being built. -->
+<!-- ===================================================================== -->
+<target name="postProcess">
+</target>
+
+
+<!-- ===================================================================== -->
+<!-- Steps to do before running assemble. -->
+<!-- ===================================================================== -->
+<target name="preAssemble">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do after running assemble. -->
+<!-- ===================================================================== -->
+<target name="postAssemble">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do after the build is done. -->
+<!-- ===================================================================== -->
+<target name="postBuild">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do to test the build results -->
+<!-- ===================================================================== -->
+<target name="test">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do to publish the build results -->
+<!-- ===================================================================== -->
+<target name="publish">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Default target -->
+<!-- ===================================================================== -->
+<target name="noDefault">
+ <echo message="You must specify a target when invoking this file" />
+</target>
+
+</project>
diff --git a/releng/org.eclipse.cdt.releng/xlc/build.properties b/releng/org.eclipse.cdt.releng/xlc/build.properties
new file mode 100644
index 00000000000..e01f24b529f
--- /dev/null
+++ b/releng/org.eclipse.cdt.releng/xlc/build.properties
@@ -0,0 +1,95 @@
+###############################################################################
+# Copyright (c) 2005, 2006 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
+# Markus Schorn (Wind River Systems)
+###############################################################################
+#####################
+# 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.4
+
+# The version of the byte code targeted
+javacTarget=1.4
diff --git a/releng/org.eclipse.cdt.releng/xlc/customTargets.xml b/releng/org.eclipse.cdt.releng/xlc/customTargets.xml
new file mode 100644
index 00000000000..1a04346bb26
--- /dev/null
+++ b/releng/org.eclipse.cdt.releng/xlc/customTargets.xml
@@ -0,0 +1,133 @@
+<project name="Build specific targets and properties" default="noDefault" >
+
+<property name="basews" value="gtk" />
+<property name="baseos" value="linux" />
+<property name="basearch" value="x86" />
+<property name="basenl" value="en_US" />
+
+<!-- ===================================================================== -->
+<!-- Run a given ${target} on all elements being built -->
+<!-- Add on <ant> task for each top level element being built. -->
+<!-- ===================================================================== -->
+<target name="allElements">
+ <ant antfile="${genericTargets}" target="${target}" >
+ <property name="type" value="feature" />
+ <property name="id" value="org.eclipse.cdt.xlc.feature" />
+ </ant>
+</target>
+
+<!-- ===================================================================== -->
+<!-- Targets to assemble the built elements for particular configurations -->
+<!-- These generally call the generated assemble scripts (named in -->
+<!-- ${assembleScriptName}) but may also add pre and post processing -->
+<!-- Add one target for each root element and each configuration -->
+<!-- ===================================================================== -->
+
+<target name="assemble.org.eclipse.cdt.xlc.feature">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="archiveName" value="cdt-xlc-${branchVersion}-${buildId}.zip"/>
+ </ant>
+</target>
+
+<!-- ===================================================================== -->
+<!-- Check out map files from correct repository -->
+<!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
+<!-- ===================================================================== -->
+<target name="getMapFiles">
+ <copy file="${builder}/../maps/cdt.map" todir="${buildDirectory}/maps"/>
+ <replace file="${buildDirectory}/maps/cdt.map">
+ <replacefilter token="@cdtTag@" value="${cdtTag}"/>
+ </replace>
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do before setup -->
+<!-- ===================================================================== -->
+<target name="preSetup">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do after setup but before starting the build proper -->
+<!-- ===================================================================== -->
+<target name="postSetup">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do before fetching the build elements -->
+<!-- ===================================================================== -->
+<target name="preFetch">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do after fetching the build elements -->
+<!-- ===================================================================== -->
+<target name="postFetch">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do before generating the build scripts. -->
+<!-- ===================================================================== -->
+<target name="preGenerate">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do after generating the build scripts. -->
+<!-- ===================================================================== -->
+<target name="postGenerate">
+</target>
+
+
+<!-- ===================================================================== -->
+<!-- Steps to do before running the build.xmls for the elements being built. -->
+<!-- ===================================================================== -->
+<target name="preProcess">
+ <replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@build@">
+ <include name="**/about.mappings" />
+ </replace>
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do after running the build.xmls for the elements being built. -->
+<!-- ===================================================================== -->
+<target name="postProcess">
+</target>
+
+
+<!-- ===================================================================== -->
+<!-- Steps to do before running assemble. -->
+<!-- ===================================================================== -->
+<target name="preAssemble">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do after running assemble. -->
+<!-- ===================================================================== -->
+<target name="postAssemble">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do after the build is done. -->
+<!-- ===================================================================== -->
+<target name="postBuild">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do to test the build results -->
+<!-- ===================================================================== -->
+<target name="test">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do to publish the build results -->
+<!-- ===================================================================== -->
+<target name="publish">
+</target>
+
+<!-- ===================================================================== -->
+<!-- Default target -->
+<!-- ===================================================================== -->
+<target name="noDefault">
+ <echo message="You must specify a target when invoking this file" />
+</target>
+
+</project>

Back to the top