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

News

Groovy-Eclipse 2.1.0 Released!

Icon

See the Groovy-Eclipse 2.1.0 New and Noteworthy. (October 21, 2010)

Groovy-Eclipse 2.1.0RC2 Released!

Icon

See the Groovy-Eclipse 2.1.0RC2 New and Noteworthy. (October 6, 2010)

Groovy-Eclipse 2.0.2 Released!

Icon

See the New and Noteworthy. (July 10, 2010)

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

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

Key Features

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

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

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

For information about prior releases, see here:

Eclipse Version Compatibility

Groovy-Eclipse Plugin v2 supports Eclipse versions 3.6.x, 3.5.x, and 3.4.2.

Availability

The latest Groovy-Eclipse release is available from the following update sites.

For Eclipse 3.6:

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

For Eclipse 3.5:

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

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

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.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/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 plugin will only install on Eclipse 3.4.2 or Eclipse 3.5.x 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 Eclipse Plugin 2.0.0 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

Source Code

The Groovy-Eclipse Plugin v2 SVN repository is at http://svn.codehaus.org/groovy/eclipse/trunk/. If you are new to Subversion, see Subversion home page.

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

If you wish to download sources, we recommend the use of Subversive, which is Eclipse integration for Subversion.

The plugin source itself is partially written in Groovy. And for that reason, you must have Groovy-Eclipse installed before you can compile Groovy-Eclipse.

If you are interested in working Groovy source code or plan to do a local build, please contact the eclipse plugin dev mailing list and we can help you out.

Building Groovy-Eclipse From Source

Open Issues

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

  • No labels