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.
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.
For additional information please read to the subversive installation guide:
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.
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.
GenGMF relies heavily on openArchitectureWare. So we will install the latest Version of it form the current update site:
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.
Next we need to install AspectJ. This can be done from the following update site.
Now we need to install epsilon. Again we will need to create a new update site.
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:
Groovy is needed by COPE so we need to install it too using the following update site:
Now run a n new Eclipse instance. But run it without the demo projects!