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.
CDO Source Installation
Contents
Introduction
This tutorial describes how to install the CDO workspace using Buckminster. This new version checks out the workspace projects from SVN. The deprecated CVS version can be found here.
Prepare the IDE
Download and install Eclipse 3.7 from http://download.eclipse.org/eclipse/downloads
Then open a fresh development workspace.
Add the following plug-ins from the Indigo p2 repository (http://download.eclipse.org/releases/indigo)
Install the following features:
- EMF - Eclipse Modeling Framework SDK
- Buckminster - Core
- Buckminster - Subversive Support
- Buckminster - PDE Support
- Subversive SVN Team Provider (after a restart you'll be prompted to install a connector from Polarion)
- Graphical Modeling Framework SDK (needed for CDO Dawn)
Hint: You may alternatively install from the buckminster update site. Subclipse support is available there. Add http://download.eclipse.org/tools/buckminster/updates-3.7 to your update sites and select the required features.
Now you have prepared your IDE with the required tools.
Create the Target Platform
For the target platfrom first create an empty project called "_target".
Now create an empty target definition that Buckminster later can fill with the needed plug-ins (Windows->Preferences->Plugin Development->Target Platform)
Insert the name for the target platform.
Click 'Add'.
Add the directory location ${workspace_loc}/_target.
Activate the platform.
Create the API Baseline
Now an API baseline will be created. Non-committers may skip this section.
Create a new workspace project called "_baseline"
- Download a fresh Eclipse 3.6, extract and run it.
- Install all features from http://net4j.sourceforge.net/update/.
- Install all features from http://download.eclipse.org/modeling/emf/cdo/updates/3.0-releases/.
- Copy or move the plugins/ folder from the new Eclipse installation into the _baseline workspace project.
- Delete the rest of the new Eclipse installation.
Now add the API baseline: Open the Preferences (Window->Preferences) and open the "API Baselines" page.
Click "Add Baseline...". Give it the name CDO 3.0 GA Baseline and choose the path to your _baseline project as destination. Then the API baseline is created and set active for your workspace.
Bootstrap the Releng Project
Now you need to checkout the releng project (Buckminster releng component).
Download this Team Project Set file: bootstrap.psf Committers use: bootstrap-committers.psf
Select File|Import... and choose the Team Project Set import wizard. Select the downloaded bootstrap.psf
Note, if you want to work on CDO 3.0 switch the branch with Team|Switch to "R3_0_maintenance" branch (not tag!)
Materialize the Sources and the Target Platform
To materialize the sources right-click the local.mspec, select Buckminster|Import...
While the following dialog is running go and fetch a coffee, or two, or three...
Finally hit the 'Finish' button
Updating the Workspace
You can update your development workspace with re-importing the local.mpec as described above. Then the whole workspace and the target platform are updated.
Note, that re-importing doesn't update your source from CVS repository.