Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
STP Build Using Buckminster
Contents
Introduce
The purpose of this document is to supply some information on the new STP build system based on Buckminster. If you only want to use it to build STP plugins, then it needn't any backgrounds of Buckminster at all, otherwise, say extend the build system to add your new plugins to STP build system, then an understanding of Buckminster will be good.
Use Build System
This section will introduce on how to use the new build system to build STP quickly, here I will show commands based on Linux, building on Window is similar except some different arguments, I will give more detail at the end of this section.
Prerequisite
Target Platform
You need setup a target platform first before you building STP, the target platform is just a Eclipse SDK installation plus all the prerequisite plugins needed by STP, e.g. you need install plugins below to /shared/eclipse_java/eclipse directory:
- eclipse-SDK-3.3.1.1-linux-gtk.tar.gz
- wtp-sdk-R-2.0.1-20070926042742.zip
- GEF-SDK-3.3.1.zip
- GMF-sdk-2.0.1.zip
- emf-sdo-xsd-SDK-2.3.1.zip
- emf-query-SDK-1.1.zip
- emf-validation-SDK-1.1.1.zip
- emf-transaction-SDK-1.1.1.zip
- mdt-ocl-SDK-1.1.1.zip
- m2t-jet-SDK-incubation-0.8.1.zip
- orbit-R200709171314.zip
- jsr_jars-0.7.0
Since STP is under developing, so all the plugins list here will be changed, you can refer STP download page to get the latest information: http://download.eclipse.org/stp/downloads/
To run unit test, you need install test framework plugins too:
- eclipse-test-framework-3.3.1.1.zip
Again, please make sure you install all those to /shared/eclipse_java/eclipse directory.
JDK Installation
Install a JDK 1.5 on your build machine, make sure you can access javac and java from command line.
Apache Ant
Install a Apache Ant 1.7.0 on your build machine, make sure you can access ant from command line.
Build STP
1. check out build system from svn $svn co http://dev.eclipse.org/svnroot/stp/trunk/build/buckminster buckminster 2. build STP $cd buckminster $ant #this will show a help message to you $ant -Dbase.directory=/local/temp/download build #kick off resolve and build for STP waiting for about 5 minutes, when finishing, you can find build results from