I am a fanboy of eclipse and have been using eclipse for system development. However, recently I started to read groovy/grails and began to use netbeans.
Recently, groovy's Eclipse plug-in has also been updated. First, groovy is supported by the latest groovy 1.5.6, and eclipse 3.4 is also supported.
You can download the groovy Eclipse plug-inZIP fileYou can also use the eclipse update Center for manual installation,Http://dist.groovy.codehaus.org/distributions/update/.
James ervin, the developer of groovy eclipse plugin, described the plug-in's blogFuture RoadmapIt seems that there is nothing special about exciting.
To be honest, netbeans is indeed better than eclipse in support of groovy/grails. I am using the latest netbeans 6.5m1, which provides support for groovy/grails after installation. There are several places that netbeans is doing very well:
- groovy is supported directly in Java projects. You do not need to add the so-called "groovy support" in eclipse ". The advantage of doing so is obvious that groovy class and Java class are equivalent citizens (groovy class itself will be compiled. class), in the same project, groovy class and Java class can be seamlessly integrated and called each other.
- better support for grails. After the grails project is created in netbeans, netbeans organizes all the promotion parts of grails in the project view according to the semantics, such as domain class, Controller, and view. The corresponding groovy class can be created in different parts (for example, the Controller class is created in the Controller ). Eclipse's groovy/grails plug-in is not doing well, and you cannot create the corresponding class through the menu or right-click.
- for a manually created grails application, netbeans can also be opened directly through the directory, but eclipse won't work, and even import won't work.
- In netbeans, you can directly start Jetty (the built-in server of grails) to debug the grails application system, you can also easily deploy the war package generated by the grails application to glassfish (glassfish is a first-class citizen in netbeans, and WTP server plug-in needs to be downloaded for manual installation in eclipse ). Basically, you can do everything in netbeans, instead of opening several command line windows to start grails run-app or grails create-controller respectively.