We really develop a project, is inseparable from the IDE. And Eclipse is just one of the most common Ides of the Java platform. So when I get to the Grails platform, the first idea is how to integrate it into eclipse.
It's really easy to integrate grails projects into eclipse, but there are a few areas to look out for. The following is the process of integrating the Grails project in Eclipse:
1. After we use the Grails tool to create an app project, we open Eclipse and take Eclipse's "Package Explorer" perspective. The following figure:
2. Click the right mouse button, select the "Import" menu, and then you can enter the item. The following figure:
3. Through the two steps above, a Grails project is basically introduced to the Eclipse development platform. The next step is a very important one.
We right-click on the Grails project we just introduced, and then click the Properties menu, as shown in the following figure: