Skip to main content
Jump to: navigation, search

Equinox p2 Migration Guide

Revision as of 21:08, 30 March 2008 by (Talk | contribs) (migration guide for old eclipse plugins/features moving to p2-enabled eclipse)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a work in progress, and subject to change.

Before & After

Below is a comparison chart showing how to organize your extensions, plugins & features, using a pre-p2 Eclipse and a post-p2 Eclipse (3.4M6+).

Eclipse 3.2 through Eclipse 3.4M5 Eclipse 3.4M6+
  plugins/  (plugin folders & jars)
  features/ (feature folders)
  plugins/  (plugin folders & jars)
  features/ (feature folders)

- or, simpler -

  plugins/  (plugin folders & jars)
  features/ (feature folders)

Note that the old layout is also still supported, but with the new dropins folder, you have more control and it's easier to clean up unwanted extensions (eg., by deleting the whole somefolder folder).

eclipse/links/ (*.link files)
eclipse/dropins/ (*.link files)

As before, each .link file contains a path to a folder in which eclipse/features/ and eclipse/plugins/ can be found. For example:


- or -


Note that the old layout is also still supported.

  plugins/  (plugin folders & jars)
  features/ (feature folders)

These folders, including the .eclipseextension file, are created when doing an Update Manager install to a folder other than the base eclipse/ directory.

If you want to create the .eclipseextension file by hand, here's how. You can also just open the .eclipseproduct file from the root of your Eclipse install with Eclipse's File > Open File... then do a File > Save As... to rename it.

To import a pre-existing folder, use Help > Software Updates > Manage Configuration > Add an Extension Location.

  plugins/  (plugin folders & jars)
  features/ (feature folders)

The old format is still supported, though the .eclipseextension file is no longer required.

As such, you can now just unpack a zip and point Eclipse at it. Or, even easier, point Eclipse at the zip and it'll handle the unzip for you.

To import such a folder, use Help > Software Updates... > Available Features > Manage sites... > Add... > Local... (or Archive..., for an unpacked zip.)

See Also

Back to the top