Eclipse for the People
We maintain an Eclipse installation that is ready to use for developers working at our research group. The installation is usually quite up-to-date, consisting of the most recent Eclipse release with a then-current selection of features already installed. Ideally, this installation can be used to work on every part of KIELER without the need to install additional features.
To use the installation, simply start Eclipse with the following command line:
/home/java/eclipse/eclipse
Administering the Installation
The information in this section is only relevant for those of us that actually administer the shared Eclipse installation. If you're just using it, this is not for you.
To-Do List for Installing a New Version
When installing a new version, follow this to-do list:
- Install a basic Eclipse distribution in a properly named folder, e.g.
eclipse_4.2.1
. - Install additional features as described in Getting Eclipse.
Produce a P2 reference repository for the automatic Maven build to use. To do that, execute something similar to the following command in
/home/java
:java -jar eclipse_3.8/plugins/org.eclipse.equinox.launcher_*.jar \ -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher \ -metadataRepository file:/home/java/repository/juno382 \ -artifactRepository file:/home/java/repository/juno382 \ -source /home/java/eclipse_3.8/ \ -publishArtifacts
- Update the reference repository location in the parent POM files of the source code repositories.
- Update
/home/java/eclipse
to point to the new installation.
Note on Windows
In case you want to setup the P2 repository on a Windows system, adapt the file paths as follows and take care to not append a file:\\ after the -source
argument.
java [...] -metadataRepository file:\\E:\juno42rep -artifactRepository file:\\E:\juno42rep -source E:\juno42rep -publishArtifacts