DTU 
 

 

ATSE (f15): Eclipse Installation

 

The project of this course is based on Eclipse the Eclipse Modeling Framework (EMF), the Graphical Modeling Framework (GMF)/GMP, and some related model-based software engineering technologies.

 

Therefore, you need to install Eclipse (version 4.4, Luna) with EMF, GMF and some other extensions on your computer. Note that you will need to install Eclipes even in the case you are deciding for the project using Android (you will be needing it for the tutorials).

 

Here are the steps for installing Eclipse 4.4 (Luna) and the additional extensions that will need for this course:

  • If you have not installed a JRE 6.0 (or higher) on your computer yet, install it first.

     

  • Download "Eclipse Standard 4.4" (Luna) for your platform from http://www.eclipse.org/downloads/packages/release/Luna/R.

     

  • Extract the downloaded file to whichever location you want Eclipse to be installed in.

     

  • Start Eclipse on your platform (by starting the executable file called "eclipse" in the folder to which you extracted Eclipse).

     

  • The first time you start Eclipse, it will ask you for a directory where the workspace and all its contents should be saved. In principle, you can chose any location you like; on Windows platforms you should chose a very short path (otherwise you might run into problems with too long path names later).

     

  • Click on the arrow icon ("Workbench") on the right-hand side to go to the workspace.

     

  • Next, you need to install the EMF and GMF extensions. Since GMF depends on EMF and Eclipse automatically installs all required extensions (if the resp. checkbox is checked), you just need to select GMF. In order to install new software (extensions) for Eclipse select "Help->Install New Software...". In the opened dialog, select the Luna update site ("Luna - http://download.eclipse.org/releases/luna"). Then, enter the text "(GMF)" in the filter field. This should reduce the choices of extensions to the "Graphical Modeling Framework (GMF) ..." features; select all these features and follow through the installation process. Remember that you need to check the box "Contact all update sites during install ..."; and remember that you must accept the license at some point in order to proceed.

     

  • In the same way as above, install the "OCL Examples and Editors SDK" extension to your Eclipse (also from the above Luna update site).

     

  • In order to get a more convenient editor for the EMF (ecore) models (and to edit the ecore diagrams deployed with some of our projects, you should also install "Ecore Tools". Actually, you need to install the old version of Ecore tools: 1.2. To do this, you need to create a new update site in for your installation of Eclipse: Ecore Tools SDK (1.2 - old) - http://download.eclipse.org/modeling/emft/ecoretools/updates/1.2/201306071421. You can create it by opeing the "Install" dialog "Help->Install New Software..."; then press the "Add" button and enter the URL http://download.eclipse.org/modeling/emft/ecoretools/updates/1.2/201306071421 to the open "Add Repository" dialog and some name (e.g. Ecore Tools SDK 1.2). Then select this update site in the "Install" dialog and select "Diagram Editor for Ecore (SDK)"; then proceed through the installation dialog as discussed above.

     

    Note: Do not install the newer versions of Ecore Tools, since the provided editor won't be able to open some diagrams that will be provided in this course.

     

  • Install the ePNK extension to your installation of Eclipse. You can install the ePNK from the following update site (http://www2.imm.dtu.dk/~ekki/projects/ePNK/kepler/update/). You should at least select the following features from the category "ePNK: Features": "ePNK Core", "ePNK Basic Extensions", and "ePNK Tutorial". It would not do any harm to install all the features, but you will probably not need them for this course.

     

  • Install the ECNO Tool to your installation of Eclipse. Install all ECNO features from the ECNO 0.3.2 update site (ECNO 0.3.2 - http://www2.imm.dtu.dk/~ekki/projects/ECNO/download/releases/0.3.2/). In particular, make sure that you include the "ECNO Examples".

     

  • At last, restart Eclipse (if you did not do that above already) to make all the above installations effective (you will be asked for that at the end of every installation dialog).

 

Ekkart Kindler (), Jan 30, 2015