Skip to main content

Jumping Eclipse release train

So you have customized your Eclipse Helios (or whatever) installation, and now Eclipse Indigo or (recently) Eclipse Juno has been released. But you dread 'upgrading' your installation as you have to export all the customizations to the new release, transfer all plugins, etc, etc, and ensure everything works properly. Dread not, because you actually don't need to do any of these (well except the last thing).

One thing I noticed about Eclipse is that they never provided an official documentation on how to upgrade from (for examples) Helios to Indigo or Indigo to Juno. Everywhere I checked about upgrading Eclipse is vague, some even claiming that you should do what I just described (suggesting there's no other way than manual migration).

But Eclipse supports automatic upgrading and migration even if the development team is so sly about it. All you need to do is this: (I use Helios and Juno as examples - adjust accordingly.)

CAUTION: If you use Eclipse in mission-critical applications, be sure to make a proper back-up before proceeding, BOTH of your workspace(s) and your current Eclipse installation! For others, it will also be good to do a back-up in case something goes wrong or you don't like the new Eclipse version.
  1. In Eclipse Helios, go to Window > Preferences > Install/Update > Available Software Sites.
  2. Uncheck Helios, The Eclipse Project Updates and anything else Helios-related.
    • You may also uncheck anything else that you know aren't needed (keep repositories you added as checked).
    • If you see multiple entries named Helios, uncheck all of them.
  3. Click Add... button and enter the new release train name as Name, and for Location, find the correct repository location here (in the Links column, copy the URL of "Repository", "p2 Repository", etc.)
    • For Juno release train, the URL is
  4. Click OK > OK.
  5. Click Help > Check for Updates. After Eclipse checks the new repository, you will get the dialog box showing you updates available.
  6. Update your Eclipse installation as per normal (hopefully you already know how to do this).
  7. When prompted to restart, click Restart Now (You may click Not Now but never click Apply Changes Now - the chances of error are higher on such major update).
  8. After restart, you will find that Eclipse has now upgraded to Juno and you didn't need to migrate settings and plugins to a fresh installation.
    • You can remove repositories you unchecked in step 2.
    • You should also ensure all plugins work correctly (some plugins can break when upgrading to a new release train).
If it helped you, leave a comment below and let me know! Alert me of any problems to note too.

Keywords: Eclipse Java C/C++ IDE Callisto Europa Ganymede Galileo Helios Indigo Juno Kepler EE SE Classic Developers Mobile Modelling RCP RAP Automotive Scout


Popular posts from this blog

Disable auto save in JetBrains IDE software (IntelliJ IDEA, PyCharm, PhpStorm)

JetBrains provides the following IDE software:
IntelliJ IDEAPhpStormPyCharmRubyMineWebStormAppCodeCLion Google also provides Android Studio which is powered by the IntelliJ platform.

If you come from a different IDE such as Eclipse, you will be unpleasantly surprised to find that JetBrains-branded IDEs automatically save everything the moment you look away. The proponents argue that as you work on your project, you should not have to worry about saving files. But to others, this auto-save behavior which is enabled by default is a curse that catches them by surprise, and a shocking departure from the workflow they are very much used to.

You can change the behavior by altering some settings.

Stop having to click Unblock on every downloaded file

CAUTION: The blocking of downloaded files in Windows is a security and safety feature to help prevent your computer from being infected by viruses and other malware. Only disable this feature if you know what you're doing.

I had been plagued by this annoyance since the days of Windows Vista. Any downloaded file, no matter what browser I use, gets tagged as "blocked" by Windows. You can open downloaded documents even though they are blocked, but when you run a downloaded application (such as a setup file) you're presented with a "Security Warning" before you're allowed to run it. It's worse if you extract a downloaded ZIP file with the Windows' built-in ZIP management. Every extracted file is blocked by default.

Being a geek who finds unnecessary "security" prompts annoying, the first thing I do in Windows is to disable the User Account Control (UAC). But I couldn't quite figure out how to disable blocking of downloaded files until …

How to change default and internal currency in self-hosted Odoo or OpenERP

If you wish to use Odoo in a single-currency environment, you will find issues changing the currency in the Odoo interface itself. If you have a self-hosted solution of Odoo or OpenERP, you already have unprecedented control over the system, unlike the cloud-based solution from Odoo. This means that you can very easily fix the issue by hacking the database that Odoo is relying on. Even in a multi-currency environment, you can use the same trick to change the global default currency - the fix is very clean for any environment - there is just an extra step to update the currency rate settings.

Even in the latest version of Odoo, we still face the ridiculous bug that Odoo internally ALWAYS uses EUR (Euro) as the internal currency. This has created many problems for many users wanting to use a different currency. Despite being set to a different currency from the Odoo interface, the eCommerce site, reports, accounting, etc are still shown using EUR and the Euro symbol, creating confusion…