Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install a basic Eclipse distribution in a properly named folder, e.g. eclipse_4.2.1.
  2. Install additional features as described in Getting Eclipse.
  3. Produce a reference installation file (File > Export > Install > Installed Software Items to File) and publish it in the config repository for people to download.
  4. 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:

    Code Block
    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
  5. Update the reference repository location in the parent POM files of the source code repositories.
  6. 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.

Code Block
java [...] -metadataRepository file:\\E:\juno42rep -artifactRepository file:\\E:\juno42rep -source E:\juno42rep -publishArtifacts