Versions Compared

Key

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

...

You can change the version by going to Preferences -> Groovy -> Compiler. If this does not work for you, follow the instructions in Compiler Switching within Groovy-Eclipse. Currently, the 1.7.x and 1.8.x streams are supported.

Q.

...

A. It is likely that you are hitting this Eclipse bug, which should be fixed in Eclipse 3.6 and beyond.

Try the following:

  • Use the Install new Software menu item instead of Check for updates.
  • Uninstall your current version of the plugin and then reinstall the new version.

Q. Before we upgrade to the new groovy eclipse-plugin (V1.x), should we remove the prior Groovy plugin?

...

A. To switch to Java colors, open the eclipse preferences, go to Groovy > Editor and click 'Copy Java Color Preferences'

Troubleshooting

Q. Help! The Eclipse installer (p2) won't let me Groovy-Eclipse!

A.Groovy-Eclipse cannot be installed into a read-only directory. The Eclipse installation must be writable by the current user.  Shared installs are not supported.  This is because Groovy-Eclipse ships with a feature patch for JDT and feature patches cannot be installed into shared installs.  This includes protected directories on Windows, like C:\Program Files. For more information on this problem see Eclipse Bug 395516.

As a workaround, you can temporarily provide write access to the current user in the Eclipse directory, restart Eclipse, and install Groovy-Eclipse.  Once Groovy-Eclipse is installed, you no longer need write access to the install location.

Q. Help! The Eclipse installer (p2) won't let me upgrade my plugin!

It is likely that you are hitting this Eclipse bug, which should be fixed in Eclipse 3.6 and beyond.

Try the following:

  • Use the Install new Software menu item instead of Check for updates.
  • Uninstall your current version of the plugin and then reinstall the new version.

Q. I am getting a MissingPropertyException when running inside of Eclipse, but not when I run outside. What gives?

...