Install the groovy plug-in eclipse

Source: Internet
Author: User

<If the picture cannot be displayed, please go to my original blog to read this article: http://287854442.blog.163.com/blog/static/1150397200994102248622/>

Demo environment:

Eclipse SDK
Version: 3.4.2
Build ID: M20090211-1700

1. For more information about groovy, see the official website.

Official website address: http://groovy.codehaus.org/

2. Groovy can be used independently. Eclipse is not required. Groovy can be found on the official website mentioned above.

3. Groovy provides plug-ins for eclipse3.4 and later versions. It is easier to develop in eclispe.

Next I will start to talk about how to install the groovy plug-in.

At http://policy.codehaus.org/eclipseinin, you can find the detailed installation instructions of policyin eclipse.

I will pay attention to the difference below for improvement.

Steps:

1. Open eclipse (version 3.4 and later) and find "Software Updates"

2. Select "available software"

3. Click "add site" on the right to bring up "location"

4. According to the official documentation (the above URL is), the updated URL of version 3.4 is "according to official instructions, version 3.4 should be" http://policy.codehaus.org/eclipse?plugin=], but after I enter it, I will find it:

"Moved: groovy Update site for eclipse 3.4 now at http://ci.repository.codehaus.org/greclipse/snapshot/e34 /"

The update address of groovy in eclipse3.4 is http://ci.repository.codehaus.org/greclipse/snapshot/e34/"

This is speechless. If you do not take a closer look, it is easy to ignore and cause installation failure!

5. OK. Now let's go back to step 4 and fill in "http://ci.repository.codehaus.org/greclipse/snapshot/e34/" in" location /"
Click "OK", select the check box before "groovy Update site", and click "Install" on the right ". For example:

6. Have a cup of coffee. Wait a moment.

7. after the installation is complete, test the development environment, "file" --> "new" to see if there is "groovy" (for example). If yes, it indicates that the groovy Eclipse plug-in has been installed successfully, you can start your groovy journey.

Compiling groovy interface in Eclipse:

If you have any questions, please reply directly to the post. I will reply as soon as possible!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.