|
This course is based on Eclipse
the Eclipse Modeling Framework(EMF),
the Graphical Modeling Framework (GMF),
and Xtext .
Therefore, you need to install Eclipse (version 3.6, Helios) with the EMF and GMF extensions
(and some other plugins) on your computer.
Here are the steps for installing Eclipse in the correct way (note that there is a shortcut
at the bottom for those of you who use windows):
- If you have not installed a JRE 5.0 (or higher) on your computer yet, install it first.
- Download "Eclipse Classic" for your platform from
http://www.eclipse.org/downloads.
For the windows platform, it is recommended NOT to use the 64-bit version!
- Extract the downloaded file to whichever location you want eclipse to be installed in.
- Start eclipse on your platform (typically by starting an eclipse executable in the directory
where you extracted eclipse to).
- 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 (go to workbench) on the right-hand side to go to the workspace.
- Next, we install the EMF and GMF extensions. Since GMF depends on EMF and eclipse automatically
installs all required extensions, we 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 Helios download site. Then, enter "Graphical Modeling Framework SDK" in
the filter field. This
should reduce the choices of extensions to the "Graphical Modeling Framework SDK"; select it
and continue the installation process to the end (remember that you need to accept the license
at some point in order to proceed).
- In order to get a more convenient editor for the EMF (ecore) models, you should also
install the "Ecore Tools SDK (Incubation)" in the same way as described above ("Ecore" as
a filter for finding it would do).
- At some point, we will probably also need OCL in the course of this project. Therefore, it
is recommended to install it right away. To this end, again select "Help->Install New Software...".
In the opened
dialog, select the Helios download site. Then, enter "EMF Validation" in the filter field and
deselect the box "Group items by category" (otherwise no projects will show up for selection).
From the shown choices, select "EMF Validation Framework OCL Integration"
and continue the installation wizard to the end (remember that you need to accept the license
at some point in order to proceed).
- Install Xtext and ANTLR in your version of eclipse: First, install "Xtext SDK" (1.0.1
or higher) from the default Helios update site (reminder: Help->New Software). Then,
create the new update site http://download.itemis.com/updates for your eclipse
(reminder: Add button in the Install Dialog) and install "xtext-antlr" (1.0.1 or higher,
top-level) from this new update site.
Note for windows users (shortcut):
Since I am using windows myself, I have produced a version that just needs to be
extracted on your windows platform with all the extensions mentioned above pre-installed.
This might make it a bit easier for you to get started. This version is
available here (eclipse-SDK-3.6.1-MBSE-win32.zip). To install this, just
follow the steps 1 and 2 above, and use "eclipse-SDK-3.6.1-MBSE-win32.zip" instead
of the official eclipse 3.6 version.
|