Check out sources

Setting up Eclipse

To get involved with GenGMF we will start with a fresh Eclipse installation to make sure that every step in the tutorial can be executed the same way. You are free to run the tutorial on your own Eclipse distribution. If something goes wrong you can return to this step and download a fresh one.

We will start with the modeling distribution of Eclipse. Download the appropriate version for your system from the site below.

http://www.eclipse.org/downloads/packages/eclipse-modeling-tools-includes-incubating-components/galileor

After starting Eclipse we need an SVN client. We are using Subversive but if you like to you can of course use SubClipse.

Because Subversive is not included in a fresh installation we need to install it. Choose “Help / Install Software” and insert subversive in the following dialog.

Subversive installation

For additional information please read to the subversive installation guide:

http://www.eclipse.org/subversive/documen…Subversive/install.php

Import the GenGMF sources

After restarting Eclipse go to the SVN Perspective and add a new repository location with the url https://gengmf.svn.sourceforge.net/svnroot/gengmf.

Go into the trunk and select all projects not ending in “.feature” or “.update-site” and also not the demo directory. Check out the projects using the context menu.

After downloading the source you will see a workspace with looks like the following one.

gengmf3

Installing additional dependencies

Now the workspace contains a lot of errors. You might ask “Why the hell do we checkout such a workspace?”. The answer is, that solving this problems will give you quite a good feeling which components are used by GenGMF.

openArchitectureWare

GenGMF relies heavily on openArchitectureWare. So we will install the latest Version of it form the current update site:

http://www.openarchitectureware.org/updatesite/milestone/4.3.1/p2/

TO create the new update site copy the url to the “work with:” input menu on the p2 install manage and click add.

Install it, re-launch the platform and you will see that a lot of problems will be solved.

AspectJ

Next we need to install AspectJ. This can be done from the following update site.

http://download.eclipse.org/tools/ajdt/35/update

Epsilon

Now we need to install epsilon. Again we will need to create a new update site.

http://download.eclipse.org/modeling/gmt/epsilon/updates/site.xml

COPE

You now can see that the most errors are gone. Only wrong interpreted oAW errors and an unsatisfied dependencies to COPE remain. To solve the cope problem:

http://cope.in.tum.de/update-site/site.xml

Groovy

Groovy is needed by COPE so we need to install it too using the following update site:

http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.5/

Run GenGMF

Now run a n new Eclipse instance. But run it without the demo projects!

Leave a Reply