Updating Eclipse

From Elvanör's Technical Wiki
Revision as of 11:25, 5 August 2008 by Elvanor (talk | contribs)
Jump to navigation Jump to search

This page lists the procedure to recreate a clean workspace and .eclipse folder (containing the plugins) when doing a major Eclipse upgrade.

Preparation

  • Move your current ~/.eclipse and workspace folder out of their current places (keep those as backups in case something goes wrong).
  • Export your formatter settings as XML files.

Reinstalling plugins

Import some projects into the new workspace

  • This will allow you to test the next step in good conditions.

Reinitializing Preferences

  • Change the font size and appearance.
  • Import the formatter settings. Change the line width to 130 on all editors.
  • Reenter all your custom keys.
  • Change all the default encodings to UTF-8 (this is especially important for JSP).
  • Make all the necessary associations for file types (*.gsp -> JSP editor).
  • Recreate your views and perspectives.

Changing projects

  • You may need to redefine variables such as GRAILS_HOME in your existing projects.