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 180 Next »

Groovy-Eclipse is the set of Eclipse plugins that provide Eclipse support for Groovy projects.

Installation

The latest Groovy-Eclipse release is available from the following Eclipse update sites. To install, point your Eclipse update manager to the update site appropriate for your Eclipse version.

For Eclipse 3.7:

http://dist.springsource.org/release/GRECLIPSE/e3.7/

For Eclipse 3.6:

http://dist.springsource.org/release/GRECLIPSE/e3.6/

For Eclipse 3.5:

http://dist.springsource.org/release/GRECLIPSE/e3.5/

For Eclipse 3.4.2 (development build only and not really recommended except for the poor souls who are stuck using Eclipse 3.4):

http://ci.repository.codehaus.org/greclipse/snapshot/e34/

Or, you can choose to install a development build, see below for more update sites.

News

Groovy-Eclipse 2.5.2 Released!

Icon

Rejoice! This includes the 2.5.2 release of the groovy-eclipse-compiler plugin for Maven as well as some improvements to DSLD support.

See the Groovy-Eclipse 2.5.2 New and Noteworthy. (October , 2011)

Groovy-Eclipse 2.5.1 Released!

Icon

Rejoice! This includes the 2.5.1 release of the groovy-eclipse-compiler plugin for Maven as well as some improvements to DSLD support.

See the Groovy-Eclipse 2.5.1 New and Noteworthy. (June 29, 2011)

Groovy-Eclipse 2.5.0 Released!

Icon

See the Groovy-Eclipse 2.5.0 New and Noteworthy. (May 12, 2011)

Groovy 1.8.0 and 1.7.10 compiler now available for Groovy-Eclipse

Icon

The Groovy 1.8 compiler is now available to install in Groovy-Eclipse. For more information, see Compiler Switching within Groovy-Eclipse.
(May 5, 2011)

Groovy-Eclipse now available on Eclipse 3.7

Icon

Use the following update site:
http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.7/
(March 22, 2011)

Groovy-Eclipse 2.1.2 Released!

Icon

See the Groovy-Eclipse 2.1.2 New and Noteworthy. (March 18, 2011)

Groovy-Eclipse compiler plugin for maven

Icon

Updated documentation on the Groovy-Eclipse compiler plugin for Maven (February 14, 2011)

Groovy-Eclipse wins Eclipse Community Award!

Icon


Groovy-Eclipse has won Top open source development tool at EclipseCon 2010. (March 27, 2010)

Features and Status

Groovy-Eclipse allows you to edit, compile, run, and debug Groovy scripts and classes from the Eclipse SDK.

Key Features

Read about the goals, approach, and implementation of Groovy-Eclipse v2 here.

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

For information about prior releases, see here:

Eclipse Version Compatibility

Groovy-Eclipse Plugin v2 supports Eclipse versions 3.7.x, 3.6.x, 3.5.x, and 3.4.2. Groovy-Eclipse for Eclipse 3.5 and earlier are no longer directly supported, but the builds are still available.

Groovy compiler Compatibility

By default, Groovy-Eclipse comes with a 1.7 Groovy compiler. A Groovy 1.8 compiler can optionally be installed from the Groovy update site. See Compiler Switching within Groovy-Eclipse for more information.

Getting Other Builds

Milestone and development builds are also available. A milestone build is a relatively stable build, released at the completion of a project milestone. Development builds are are published more frequently, and contain more new features and fixes. Published development build have passed unit tests, but may be less stable than milestone builds.

Milestone Builds

We occasionally release milestone builds of upcoming releases. These are meant for users who want to have access to the most recent features and who are willing to give us feedback on them.

Groovy-Eclipse milestone and release candidate builds are available for Eclipse 3.6 at:
http://dist.springsource.org/milestone/GRECLIPSE/e3.6/

And for Eclipse 3.5 at:
http://dist.springsource.org/milestone/GRECLIPSE/e3.5/

Please note that these builds are temporary and are typically removed after the final release has been made public.

Development Builds

Development builds for Eclipse 3.7 are at:
http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.7/

Development builds for Eclipse 3.6 are at:
http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.6/

Development builds for Eclipse 3.5 are at:
http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.5/

Development builds for Eclipse 3.4 are at (no longer supported):
http://ci.repository.codehaus.org/greclipse/snapshot/e34/

Please note that these builds may not be as stable as milestone or release builds, but they often contain features not yet available on release builds. Since all development builds pass our test suite, we can be fairly sure that these builds are always usable.

Archived Development Builds

Archived snapshots of the plugin are available at:

http://ci.repository.codehaus.org/greclipse/snapshot/e37/old/

http://ci.repository.codehaus.org/greclipse/snapshot/e36/old/

http://ci.repository.codehaus.org/greclipse/snapshot/e35/old/

There is also a zip of Groovy-Eclipse V2.0.0 available to download.

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: Groovy-Eclipse will not install on versions of Eclipse that are not explicitly supported because a specific version of the JDT feature is required. See Groovy-Eclipse FAQ for more information.

Getting Started with Groovy-Eclipse v2

This section has brief instructions for getting started with Groovy-Eclipse v2. The instructions assume familiarity with Eclipse. Users new to Eclipse, may wish to follow the links to tutorials, which illustrate and provide novice level instructions for installing and using the plugin.

How to Install

Start with a compatible version of Eclipse (available from http://eclipse.org/downloads. Since Groovy-Eclipse relies on Eclipse's Java tooling (the JDT), almost any flavor of Eclipse that includes the JDT will be compatible. This includes the Java IDE, Classic, RCP, JavaEE, etc. Flavors such as Eclipse for PHP developers are not compatible because it does not include the JDT> If you are interested in Grails tooling, then you must install the SpringSource Tool Suite.

Once you have a compatible Eclipse installed, then follow these directions to install Groovy-Eclipse:

  • 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 see a "Groovy Update Site" entry in the list of update sites. Expand and select the Groovy-Eclipse Plugin feature. Optionally, you can choose to include the sources..
  • Click Install and follow the prompts.
  • Restart when asked
  • Rejoice!  You installed the Groovy-Eclipse Plugin v2.

For step-by-step installation instructions, see the Install Groovy-Eclipse Plugin tutorial.

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.

For step-by-step instructions, see the Create Your First Groovy Project tutorial.

Information Resources

Use the resources listed below to learn about Groovy-Eclipse Plugin v2 and keep abreast of project status and milestones.

FAQs

See the Eclipse Plugin FAQ.

Tutorials

The first two of a series of tutorials on using Groovy-Eclipse Plugins v2 are available.

Mailing Lists

Join Groovy-Eclipse mailing lists to find answers, ask questions, and contribute to discussions about v2 of the plugin.

Developer Resources

Open Issues

You can browse or enter new issues on the GRECLIPSE project on the jira server.

  • No labels