The project of this course is based on
Eclipse
the Eclipse Modeling Framework (EMF),
the Graphical Modeling Project (GMP/GMF), and some related model-based software engineering technologies.
Therefore, you need to install Eclipse (version 4.3, Kepler) with EMF, GMP (GMF) and
some other extensions on your computer. In order to work with the SVN repositories
(which is mandated in this course), you also need to install an SVN extension
(subversive), so that groups can work together on their repositories.
If you use Windows and have Java (32-bit version) installed, you can download a
version of Eclipse 4.3 that is pre-configured for the use in the Software
Engineering 2 course:
eclipse-SDK-4.3-win32-dtu-se2.zip.
You just need to extract this file to some directory and then start the file
eclipse.exe in that folder. Remeber that you need to install a JRE 6.0 (or higher)
on your computer first.
In case you are working on another platform (e.g. Mac OS or Linux),
here are the steps for installing Eclipse 4.3 in
the correct way (if you prefer a guided tour with screenshots, have a
look at Eclipse-Installation.pdf):
- If you have not installed a JRE 6.0 (or higher) on your computer yet,
install it first.
- Download "Eclipse Standard 4.3" (Kepler) for your platform from
http://www.eclipse.org/downloads.
- 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 GMP extensions. Since GMP depends on EMF and Eclipse
automatically installs all required extensions (if the resp. checkbox is checked), we
just need to select GMP. In order to install new software (extensions) for Eclipse
select "Help->Install New Software...". In the opened
dialog, select the Juno download site ("Indigo - http://download.eclipse.org/releases/kepler").
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 except for the "Tooling SDK" 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 order to get a more convenient editor for the EMF (Ecore) models, you should also
install the "Ecore Tools SDK" in the same way as described for GMP (GMF) above ("Ecore" as
a filter for finding it would do).
- In the same way, install the "Xtext SDK" ("Xtext" as a filter for finding it would do).
- At last you need to install "Subversive SVN Team provider" and the SVN
connectors.
The "Subversive SVN Team provider" can be installed from the Juno download site
as discussed above ("Subvers" as a filter would do).
After installing subversive and restaring Eclipse, the first time you use SVN, an
Install Connectors dialog will pop up. In this dialog, select a version of
the "SVN Kit" which works for SVN version 1.6.x (right now the newest available version
for that is 1.3.8) and finish the installation process.
It is recommended that you enforce this dialog right after you installed subversive
and restarted it by selecting the SVN Repository Exploring perspective by
"Window -> Open Perspective -> Other... -> SVN Repository Exploring".
For an overview of subversive see
http://www.eclipse.org/subversive/documentation/teamSupport.phpmore.
For more information on subversive
see http://www.eclipse.org/subversive/documentation/index.php.
- If you would like to use Java 3D for your project, there is a project that
integrates java 3D to Eclipse (java3d-eclipse). For easing the installation, we created a special update site for it
for the SE2 course: http://www2.imm.dtu.dk/courses/02162/e13/project/download/update-sites/java3declipse-20090302. In order to install these extensions to your Eclipse, open the Eclipse Install dialog ("Help -> Install New Software...") in your version of Eclipse and create a new update site with this URL (in the "Install" dialog press "Add" and add the above URL to the
"Location"). Then select this update site and install all the features from this site and
follow through the installation process ("Next").
|