Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
DTP Releng Instructions
Contents
Description
This page mainly decribes how to set up headless PDE build system for DTP and start the build. Since the build server is a Linux server, below instructions are based on Linux environment.
Prerequisites
1. CVS version 1.10 or higher.
2. 1.4 level JDK.(Compiler JDK version of DTP 1.6 is 1.4)
3. Info-Zip zip and unzip.
4. org.eclipse.releng.basebuilder.
5. org.eclipse.datatools.releng.builder.
6. Eclipse 3.3.2 SDK
7. EMF 2.2(emf+sdo)
8. GEF 3.3
Setup
1. Add the zip, unzip, tar, gzip and cvs executables to your path as required.
2. Add the jre/bin directory of the installed JDK to your path.
3. Check out org.eclipse.releng.basebuilder and org.eclipse.dtp.releng.builder into local server.
We recommend to use tagged version of org.eclipse.releng.basebuilder. The HEAD version is not stable and may have changes which will lead to build failure. The examples below are tested with tag version vI20070209-1006
4. Create a new directory as baseLocation.
5. Extract Eclipse SDK, EMF, GEF into baseLocation. The root folder should be plugins/ and features/.
Start the Build
cd to org.eclipse.dtp.releng.builder directory and execute the following command:
./bootstrap.sh N
This shell script actually excutes below command:
(buildCommand="$antRunner -q -buildfile buildAll.xml $mail $testBuild $compareMaps
-DmapVersionTag=$mapVersionTag -DpostingDirectory=$postingDirectory
-Dbootclasspath=$bootclasspath -DbuildType=$buildType -D$buildType=true
-DbuildId=$buildId -Dbuildid=$buildId -DbuildLabel=$buildId -Dtimestamp=$timestamp $tagMaps
-DJ2SE-1.5=$bootclasspath_15 -DlogExtension=.xml $updateSite
-Djava15-home=$bootclasspath_15 -DbuildDirectory=/home/adb/releng.dtp/src
-DbaseLocation=/home/adb/releng.dtp/baseLocation
-DgroupConfiguration=true -DjavacVerbose=true
-Dbasebuilder=/home/adb/releng.dtp/org.eclipse.releng.basebuilder
-Djvm15_home=$jvm15_home -DmapTag.properties=/home/adb/releng.dtp/org.eclipse.datatools.releng.builder/mapTag.properties
-Dbuild.date=$builddate -Dpackage.version=1.6M6-$timestamp
-DmapCvsRoot=:ext:anonymouse@dev.eclipse.org:/cvsroot/datatools
-DmapVersionTag=HEAD -DjavacTarget=1.4 -DjavacSource=1.4"
)
Component Introduction
Ant Properties Settings
The following properties are pre-defined in the build.properties file for the specified component. They can be overridden by setting them at the command line at build time or by changing them directly in the component's build.properties file.
Build Server Directory Structure
Path | Purpose/Description |
---|---|
/home/adb/releng.dtp/ |
Working directory of daily build |
/home/adb/releng.dtp/src/maps |
location to store Map files |
/home/adb/releng.dtp/src/plugins |
location to store DTP plugins checked out from CVS |
/home/adb/releng.dtp/src/features |
location to store DTP features checked out from CVS |
/home/adb/releng.dtp/org.eclipse.releng.basebuilder |
where PDE basebuilder locates |
/home/adb/releng.dtp/org.eclipse.dtp.releng.builder |
where org.eclipse.dtp.releng.builderlocates |
/home/adb/releng.dtp/output |
the output directory where exported and packaged zip can be found |
/home/adb/releng.dtp/baseLocation |
baselocation where Eclipse platform/EMF/GEF prerequisites locate |
/home/adb/releng.dtp/baseLocation/plugins |
where prerequisites plugins locate |
/home/adb/releng.dtp/baseLocation/features |
where prerequisites features locate |