Skip to content
Robert Blust edited this page Jan 27, 2015 · 3 revisions

Required (preferred) IDE

Download the latest Eclipse Modeling Tools and install additional features: (Help > Install New Software...)

Luna - http://download.eclipse.org/releases/luna

  • EMF - Eclipse Modeling Framework Xcore SDK
  • Xtext complete SDK
  • m2e - Maven Integration for Eclipse
  • m2e - Extensions Development Support

http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-tycho/0.8.0/N/0.8.0.201409231215/

  • Tycho Project Configurators

Setup the workspace

  • Clone the cdo-server repo and import all projects as maven projects
  • Set the target platform to ch.flatland.cdo.targetplatform

Create keystore

RSA Key for SSL (https)

keytool -keystore PATH_to_keystore\keystore -alias flatland -genkey -keyalg RSA

Trust cert for ldaps (optional)

keytool -import -alias flatlandldaps -file <PATH>ldaps.crt -keystore PATH_to_keystore\keystore

Xcore Gen Model Annotations

@GenModel(featureDelegation="Dynamic",
   rootExtendsClass="org.eclipse.emf.internal.cdo.CDOObjectImpl",
   rootExtendsInterface="org.eclipse.emf.cdo.CDOObject",
   modelPluginVariables="org.eclipse.xtext.xbase.lib org.eclipse.emf.ecore.xcore.lib org.eclipse.emf.cdo",
   childCreationExtenders="true")