Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 118 Next »

This page has information about GroovyEclispe Plugin v2. For information about v1 of the plugin, see About GroovyEclipse Plugin v1.

Features and Status

The GroovyEclipse Plugin provides Eclipse-based tooling support for the Groovy programming language. GroovyEclipse allows you to edit, compile, run, and debug Groovy scripts and classes from the Eclipse SDK.

Key Features

  • Syntax highlighting
  • Compile and run Groovy classes and scripts in Eclipse
  • Outline view for Groovy files
  • Auto-completion
  • Refactoring
  • Source code formatting

Read about the goals, approach, and implementation of GroovyEclipse v2 at

See what's new in the M1 release at Groovy-Eclipse 2.0.0M1 New and Noteworthy.

Eclipse Version Compatibility

GroovyEclipse Plugin v2 supports 3.4.n and 3.5.n


Milestone 1 build is released. General availability is planned for year-end 2009.

Getting Builds

Milestone Builds

GroovyEclipse v2.0 Milestone 1 (M1) is available for Eclipse 3.5 at:

Development Builds

Development builds for Eclipse 3.5 are at:

Development builds for Eclipse 3.4 are at:

Development builds contain more new features and fixes, and have passed unit tests, but may be less stable than milestone builds.

Archived Development Builds

Archived snapshots of the plugin are available as zip files. You can find them here:

These zip files are the compressed version of the update site. They are not plugins that you can just drop into your eclipse installation. Here's how to install an archive:

  1. Download the snapshot locally
  2. Do not unzip or move into your dropins directory
  3. Start eclipse
  4. Help -> Install new software -> Add...
  5. Select the location of the zip you just downloaded
  6. Install as you would from the regular update site

Important: GroovyEclipse plugin will only install on Eclipse 3.4.2 or Eclipse 3.5 or 3.5.1 because a specific version of the JDT feature is required. See Groovy Eclipse FAQ for more information.

Getting Started with GroovyEclipse v2

FAST FACTS: How to Install

  • Go to: Help -> Software Updates
  • Change to the Available Software tab
  • Click on Add Site
  • Paste the update site URL appropriate for your version of Eclipse and click OK
  • You should now see a Groovy Update Site entry in the list of update sites. Expand and select the Groovy-Eclipse plugin feature and the JDT Core Patch feature. Optionally, you can choose to include the sources.
  • Click Install and follow the prompts
  • Restart when asked
  • Rejoice!  You now have the Groovy-Eclipse plugin installed.

FAST FACTS: How to Create a Groovy Project

To create a basic Groovy project in Eclipse perform the following steps:

  • Open the Java perspective
  • Click on the new Groovy Project icon:
  • The new project wizard for Groovy uses most of the same options as the new project wizard for Java.
  • Fill in the appropriate details and create the project.

You should have a src folder and several libraries. A bin folder is also created, but is hidden.

You can create a Groovy classes or test cases using wizards similar to the Eclipse's Java class and JUnit test case wizards. Use the options on the File > New menu or press CTRL-N.

FAST FACTS: How to Testing the Plugin

It is a good idea to test the plugin before installing in your regular Eclipse installation. The main test project is org.codehaus.groovy.alltests. To run the tests, right-click on the project and select Run As->JUnit Plug-in Test.

Information Resources

Developer Resources

Source Code

The GroovyEclipse Plugin v2 SVN repository is at If you are new to Subversion, see the Subversion home page.

If you wish to view but not download the source code, use FishEye.

If you wish to download sources, use of Subversive to check out the source code.

The plugin source contains Groovy source files. You must have a groovy compiler to build the plugin. Groovy compilers are included in the plugin distribution, which you can download from from or

Building and Installing an Update Site

Building the Update Site

Instructions to come later. If you are interested in doing this, please contact the mailing list._

Installing the update site that you built

The update site you just created can now be installed with the Eclipse update manager. You can install the Groovy feature by following the instructions in the Update Site section above, but using a Local Site pointing to the GroovySite directory that you just built, instead of a Remote Site.

Open Issues

com.atlassian.confluence.macro.MacroExecutionException: The URL filter is not available to you, perhaps it has been deleted or had its permissions changed
  • No labels