I cant find a way to open a grails 3.3.8 project in netbeans 9 on the mac.
I have found several posts (see below) but none of them work.
This one says create the
Well, I found an obscure post which lead to the answer.
It seems that they removed most of the plugins from netbeans 9, including the grails one.
A work around (not sure how safe it is) is to add the netbeans 8.2 provider:
Go to Tools | Plugins in Apache NetBeans (incubating) 9.0 and, in the Settings tab, register the NetBeans IDE 8.2 update center:
http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz
Thanks to: https://blogs.apache.org/netbeans/entry/what-s-happened-to-my
I can now open a grails project, but I cant run it. It says "Grails home has not been set. Use menu Tools/Options/Groovy to set the environment."
The problem is, I have already set GRIALS_HOME in my .bash_profile,and that there is no options under tools menu.
After some effort, I found the grails home setting in Netbeans Menu->preferences->Miscellaneous-Groovy:
Now I can run grails programs, and also use the menus to create domain objects etc. Nice!