Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Grails 3.0.1 add in Eclipse show error Specified directory does not appear to be a Grails installation

When I try to install/import Grails 3.0.1 in Eclipse I get error message "Specified directory does not appear to be a Grails installation".

I already have installed Groovy Compiler 2.4.3. but still get same error message.

How I can install Grails 3.0.1 in Eclipse 4.4?

like image 721
Deepak Agrawal Avatar asked Apr 08 '15 08:04

Deepak Agrawal


2 Answers

At grails folder you can put a file "build.properties",

/grails-3.0.1/build.properties
             /install
             /license
             /.......

the content of this file is a single line "grails.version=3.0.1", without quotes. :-)

Now eclipse will recognize it as Grails installation.

Regards

like image 170
Andgau Avatar answered Oct 24 '22 13:10

Andgau


Grails 3 is very different from earlier versions of Grails, in particular being based on Spring Boot. It will be a while before the IDEs have support for Grails 3. Eclipse will probably not have support for Grails 3 as 3.6.4 has been announced as the last release of GGTS and the Grails and Groovy tooling now that Pivotal has abandoned Grails and Groovy.

like image 32
Burt Beckwith Avatar answered Oct 24 '22 13:10

Burt Beckwith