Install the following features: Technology -> MoDisco Java Feature (Incubation) (make sure to install latest version (here: 0.11.x), you might also get 0.9.2.x listed here)
Right-click into your Eclipse Package Explorer
Select "Import", then "Plugin Development -> Plugins and Fragments" -> "Next"
For "Import from" select "The active target platform"
For "Import as" select "projects with source folders" and click "Next"
Select "org.eclipse.gmt.modisco.java" and import the plugin
Select this plugins in your workspace, open the "model" folder and select the "java.genmodel"
Right-click "java.genmodel" and select "Generate Model Code", then "Generate Edit Code"
Checkout the following SVN repositories using an external(!, see hints below) SVN client
Use File -> Import -> Plugin-Development -> Plug-ins and Fragments and import all repositories from an directory
Generate the mode and edit code
Select org.emftrace.metamodel plugin and open the model folder
Open the generator model (MetaModel.genmodel)
Open the context menu (right-click) of MetaModel and
"Generate Model Code" and wait until the process finished
"Generate Edit Code" and wait until the process finished
Build the plugin-projects with Eclipse
Add Debug and Run Configurations for EMFStore Server
Open the Debug/Launch-configurations of Eclipse
Search for the type "Eclipse Application"
Create a new child element: EMFStore Server
On the main-tab, select ''Run a product'' and enter "org.eclipse.emf.emfstore.server.server"
Open the "Plug-ins" tab
Launch with: "plug-ins selected below only"
Add the following plugins:
org.emftrace.metamodel
org.emftrace.metamodel.edit
Select "Add Required Plug-ins"
Validate Plugins-Ins and Apply
Add Debug and Run Configurations for EMFTrace Client
Open the Debug/Launch-configurations of Eclipse
Search for the type "Eclipse Application"
Create a new child element: EMFTrace Client
On the main-tab, select ''Run as product'' and enter "org.eclipse.platform.ide"
Open the "Plug-ins" tab and add the following plugins:
Launch with: "plug-ins selected below only"
Add the following plugins:
org.eclipse.gmt.modisco.java
org.eclipse.gmt.modisco.java.edit
org.emftrace.core
org.emftrace.metamodel
org.emftrace.metamodel.edit
org.emftrace.ui
Select "Add Required Plug-ins"
Validate Plugins-Ins and Apply
Search for "emf.ecp", all ECP plug-ins should be added
Run JUnit Plug-in Tests
Open org.emftrace.core -> src -> org.emftrace.core.test
Select AllTests.java
Right click: Run As -> JUnit Plug-in Tests
Make sure all tests run successfully
Hints and pitfalls
You can also use a SVN client like Subversive to check out the repositories. But make sure the repositories are configured as Plugins-Projects within Eclipse. In some cases they will not be recognized as Plug-in Projects. We recommend to import the plug-ins via File -> Import -> Plugin-Development -> Plug-ins and Fragments, after that you can use Subversive to update the project.
If you get "FileNotFoundExceptions" or "ClassNotFoundException" please check the class path setting ("Bundle-ClassPath") in your MANIFEST.MF files and just use a dot (.) here. We already set the dot here but in some cases it will be modified by Eclipse.