Skip to content
Skip to breadcrumbs
Skip to header menu
Skip to action menu
Skip to quick search
Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Sign Up
Dashboard
Groovy
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Page Layout
No Layout
Two column (simple)
Two column (simple, left sidebar)
Two column (simple, right sidebar)
Three column (simple)
Two column
Two column (left sidebar)
Two column (right sidebar)
Three column
Three column (left and right sidebars)
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<p><span style="color: rgb(0,0,0);">The Groovy-Eclipse team is proud to announce the release of Groovy-Eclipse 2.7.1. This is a service refresh of Groovy-Eclipse and it now contains support for the 2.0.4 Groovy compiler as well as Eclipse 4.2.1 and 3.8.1.<br /></span></p><p><span style="color: rgb(0,0,0);">You can use the following update sites to install this release:</span></p><table class="wysiwyg-macro" data-macro-name="info" data-macro-parameters="title=Groovy-Eclipse update site for Eclipse 4.2 and 3.7" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2luZm86dGl0bGU9R3Jvb3Z5LUVjbGlwc2UgdXBkYXRlIHNpdGUgZm9yIEVjbGlwc2UgNC4yIGFuZCAzLjd9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="RICH_TEXT"><tr><td class="wysiwyg-macro-body"><p><span style="color: rgb(0,0,0);">For Eclipse 3.8 and 4.2 (Juno):</span><br /><span style="color: rgb(0,0,0);"> <code><a href="http://dist.springsource.org/release/GRECLIPSE/e4.2/"><span style="color: rgb(0,0,0);">http://dist.springsource.org/release/GRECLIPSE/e4.2/</span></a></code></span></p><p><span style="color: rgb(0,0,0);">For Eclipse 3.7 (Indigo):</span><br /><span style="color: rgb(0,0,0);"> <code><a href="http://dist.springsource.org/release/GRECLIPSE/e3.7/"><span style="color: rgb(0,0,0);">http://dist.springsource.org/release/GRECLIPSE/e3.7/</span></a></code></span></p><span style="color: rgb(0,0,0);"> </span></td></tr></table><p><span style="color: rgb(0,0,0);">The Groovy 2.0 compiler is not installed by default. If you want to install it, you can do so from the <em>Extra Compilers </em>category in the update site.<br /></span></p><p><span style="color: rgb(0,0,0);">And a zipped version of the update site is available at:</span></p><table class="wysiwyg-macro" data-macro-name="info" data-macro-parameters="title=Zipped Groovy-Eclipse update site for Eclipse 4.2 and 3.7" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2luZm86dGl0bGU9WmlwcGVkIEdyb292eS1FY2xpcHNlIHVwZGF0ZSBzaXRlIGZvciBFY2xpcHNlIDQuMiBhbmQgMy43fQ&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="RICH_TEXT"><tr><td class="wysiwyg-macro-body"><p><span style="color: rgb(0,0,0);">For Eclipse 3.8 and 4.2 (Juno):</span><br /><span style="color: rgb(0,0,0);"> <a href="http://dist.springsource.org/release/GRECLIPSE/e4.2/archive-2.7.1.xx-20120921-2000-e42RELEASE.zip">http://dist.springsource.org/release/GRECLIPSE/e4.2/archive-2.7.1.xx-20120921-2000-e42RELEASE.zip</a><br /></span></p><p><span style="color: rgb(0,0,0);">For Eclipse 3.7 (Indigo):</span><br /><span style="color: rgb(0,0,0);"> <a href="http://dist.springsource.org/release/GRECLIPSE/e3.7/archive-2.7.1.xx-20120921-2000-e37RELEASE.zip">http://dist.springsource.org/release/GRECLIPSE/e3.7/archive-2.7.1.xx-20120921-2000-e37RELEASE.zip</a><br /></span></p><p><span style="color: rgb(0,0,0);">You can install from the zip by pointing your Eclipse update manager to the downloaded zip file and following the installation instructions. <em>Do not unzip into your Eclipse dropins folder.</em><br /></span></p></td></tr></table><p><span style="color: rgb(0,0,0);"><img class="editor-inline-macro" src="/plugins/servlet/confluence/placeholder/macro?definition=e3RvYzppbmRlbnQ9MTBweHxtYXhMZXZlbD00fQ&locale=en_GB&version=2" data-macro-name="toc" data-macro-parameters="indent=10px|maxLevel=4"></span></p><h3><span style="color: rgb(0,0,0);">Groovy 2.0.4<br /></span></h3><p><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);">Groovy 2.0.4 is now available in Groovy-Eclipse as an optional add-on</span>. We have not yet made the compiler default because we make our default compiler compatible with the default compiler of the latest release of Grails. At the time of this release, Grails is at version 2.1.1, which uses Groovy 1.8 as its compiler. When Grails moves to being based on Groovy 2.2.x, Groovy-Eclipse will move its default compiler as well.</span></p><p><span style="color: rgb(0,0,0);">To install Groovy 2.0, go to Help --> Install new Software. In the work with tab, choose the Groovy-Eclipse update site and select the <em>Extra Compilers</em> category:</span></p><p><span style="color: rgb(0,0,0);"><img class="confluence-embedded-image confluence-external-resource confluence-content-image-border" height="252" width="319" src="http://docs.codehaus.org/download/attachments/229739268/install20.png?version=1&modificationDate=1341338701315" data-image-src="http://docs.codehaus.org/download/attachments/229739268/install20.png?version=1&modificationDate=1341338701315"><br /></span></p><p><span style="color: rgb(0,0,0);">Read <a class="confluence-link" href="/display/GROOVY/Compiler+Switching+within+Groovy-Eclipse" data-linked-resource-id="133923519" data-linked-resource-type="page" data-linked-resource-default-alias="Compiler Switching within Groovy-Eclipse" data-base-url="http://docs.codehaus.org">Compiler Switching within Groovy-Eclipse</a> for more information on how to install Groovy 2.0 and how to switch compiler levels.</span></p><h3><span style="color: rgb(0,0,0);">Eclipse 4.2.1 and 3.8.1</span></h3><p><span style="color: rgb(0,0,0);">We have updated the JDT feature patch to be based off of JDT version 3.8.1, which is the version used in Eclipse 4.2.1 as well as 3.8.1.</span></p><h3><span style="color: rgb(0,0,0);">Add project-level warning if compiler levels do not match<br /></span></h3><p><span style="color: rgb(0,0,0);">There is now a project setting that records the last compiler level that compiled it. You can access this setting in the Groovy Compiler settings page for the project:</span></p><p><span style="color: rgb(0,0,0);"><img class="confluence-embedded-image confluence-content-image-border" height="144" width="747" src="/download/attachments/231080184/image2012-9-21+14%3A12%3A52.png?version=1&modificationDate=1369460286762" data-image-src="/download/attachments/231080184/image2012-9-21+14%3A12%3A52.png?version=1&modificationDate=1369460286762" data-linked-resource-id="231375927" data-linked-resource-type="attachment" data-linked-resource-default-alias="image2012-9-21 14:12:52.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080184" title="null > image2012-9-21 14:12:52.png"></span></p><p><span style="color: rgb(0,0,0);">This is in addition to the workspace compiler level, which is found at Preferences -> Groovy -> Compiler:</span></p><p><span style="color: rgb(0,0,0);"><img class="confluence-embedded-image confluence-content-image-border" height="224" width="702" src="/download/attachments/231080184/image2012-9-21+14%3A17%3A39.png?version=1&modificationDate=1369460286745" data-image-src="/download/attachments/231080184/image2012-9-21+14%3A17%3A39.png?version=1&modificationDate=1369460286745" data-linked-resource-id="231375926" data-linked-resource-type="attachment" data-linked-resource-default-alias="image2012-9-21 14:17:39.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080184" title="null > image2012-9-21 14:17:39.png"><br />If the compiler level for the project is different from that of the workspace, then an error marker is placed on the project and it cannot be built until the compiler levels are resolved:</span></p><p><span style="color: rgb(0,0,0);"><img class="confluence-embedded-image confluence-content-image-border" height="112" width="806" src="/download/attachments/231080184/image2012-9-21+14%3A19%3A28.png?version=1&modificationDate=1369460286734" data-image-src="/download/attachments/231080184/image2012-9-21+14%3A19%3A28.png?version=1&modificationDate=1369460286734" data-linked-resource-id="231375925" data-linked-resource-type="attachment" data-linked-resource-default-alias="image2012-9-21 14:19:28.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080184" title="null > image2012-9-21 14:19:28.png"></span></p><p><span style="color: rgb(0,0,0);">To resolve the marker discrepancy, select the marker or markers that you want to fix, and you can choose one of three ways to resolve the conflict:</span></p><p><span style="color: rgb(0,0,0);"><img class="confluence-embedded-image confluence-content-image-border" height="541" width="522" src="/download/attachments/231080184/image2012-9-21+14%3A22%3A1.png?version=1&modificationDate=1369460286720" data-image-src="/download/attachments/231080184/image2012-9-21+14%3A22%3A1.png?version=1&modificationDate=1369460286720" data-linked-resource-id="231375924" data-linked-resource-type="attachment" data-linked-resource-default-alias="image2012-9-21 14:22:1.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080184" title="null > image2012-9-21 14:22:1.png"></span></p><p><span style="color: rgb(0,0,0);"><br />You can choose to:</span></p><ol><li><span style="color: rgb(0,0,0);">Configure the compiler level for the project(s), which opens a dialog where you can manually choose a compiler level</span></li><li><span style="color: rgb(0,0,0);">Change the compiler level for the entire workspace (i.e., change which compiler is being used in the workspace). This requires a restart.</span></li><li><span style="color: rgb(0,0,0);">Or simply set the project compiler level to match the workspace compiler level. Most of the time, this is the option you will want to choose.<br /></span></li></ol><h3><span style="color: rgb(0,0,0);">Better Content assist for Annotation</span></h3><p><span style="color: rgb(0,0,0);">Content assist in the context of an annotation, will only show annotations, not classes, interfaces, or enums:<br /></span></p><p><span style="color: rgb(0,0,0);"><img class="confluence-embedded-image confluence-content-image-border" height="165" width="166" src="/download/attachments/231080184/image2012-9-21+14%3A26%3A13.png?version=1&modificationDate=1369460286700" data-image-src="/download/attachments/231080184/image2012-9-21+14%3A26%3A13.png?version=1&modificationDate=1369460286700" data-linked-resource-id="231375923" data-linked-resource-type="attachment" data-linked-resource-default-alias="image2012-9-21 14:26:13.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080184" title="null > image2012-9-21 14:26:13.png"></span></p><p><span style="color: rgb(0,0,0);"><br /></span></p><h3><span style="color: rgb(0,0,0);">Compatibility</span></h3><p><span style="color: rgb(0,0,0);">Groovy-Eclipse 2.7.1 uses Groovy 1.8.6. <a class="confluence-link" href="/display/GROOVY/Compiler+Switching+within+Groovy-Eclipse" data-linked-resource-id="133923519" data-linked-resource-type="page" data-linked-resource-default-alias="Compiler Switching within Groovy-Eclipse" data-base-url="http://docs.codehaus.org"><span style="color: rgb(0,0,0);">Groovy 1.7.10 can be enabled optionally</span></a>, and Groovy 2.0.4 can be installed through the extra compilers section on the update site.<br /></span></p><p><span style="color: rgb(0,0,0);">This version of Groovy-Eclipse is recommended to be installed on STS 3.0.0, STS 3.1.0.RC1, Eclipse 3.7.2, 3.8.1, and 4.2.1.</span></p><h3><span style="color: rgb(0,0,0);">Bug fixes</span></h3><p><span style="color: rgb(0,0,0);">See the details on our <a href="http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+GRECLIPSE+AND+fixVersion+%3D+18617+AND+status+in+%28Resolved%2C+Closed%29+ORDER+BY+priority+DESC"><span style="color: rgb(0,0,0);">issue tracker</span></a>.</span></p><h3><span style="color: rgb(0,0,0);">What's next?</span></h3><p><span style="color: rgb(0,0,0);">We are planning a 2.8.0 release in October. You can take a look at all issues we are <a href="http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+GRECLIPSE+AND+fixVersion+in+%2818617%2C+18618%29+AND+status+in+%28Open%2C+%22In+Progress%22%2C+Reopened%29"><span style="color: rgb(0,0,0);">planning to fix for this release</span></a>.</span></p><p><span style="color: rgb(0,0,0);">We appreciate all community support and feedback. If you wish to join the discussion about Groovy-Eclipse then please sign up for the <a href="http://xircles.codehaus.org/manage_email/eclipse-plugin-user@groovy.codehaus.org"><span style="color: rgb(0,0,0);">mailing list</span></a>. For any issues you have (or enhancements you would like to see), please raise them in our <a href="http://jira.codehaus.org/browse/GRECLIPSE"><span style="color: rgb(0,0,0);">issue tracker</span></a>. If there is an existing bug fix or enhancement that you require are not seeing any movement on, please make some noise on it (and get your friends to do the same). We respond to community feedback, and we can make the most improvements to Groovy-Eclipse when we hear directly from the community. So, please speak up.</span></p>
Please type the word appearing in the picture.
Attachments
Labels
Location
Watch this page
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced