Grails 3.x Will Not Activate in Netbeans 10.0 - grails

I want to use Grails 3.x with Netbeans 10.0. When I downloaded Netbeans 10 I ran netbeans64.exe (I'm assuming this is for 64-bit machines?). And Groovy was not installed from the Plugins section (but was available for installing). So I checked the box to install it but it will not activate. I only get the option to Uninstall.
What am I missing here to get this working? I have grails 3.3.6 installed if that matters.

Having the same problem with NetBeans 10.0 and Groovy, I downloaded "Gradle Support" plugin from http://plugins.netbeans.org/plugin/44510/gradle-support
and installed it into NetBeans (Tools -> Plugins -> Downloaded -> Add Plugin...). After that I could open my old Gradle project. Hope this helps.

Related

Why I can't create new grails application in Netbeans 8.2?

OS: Windows 10
JDK: jdk1.8.0_65
IDE: Netbeans 8.2
Steps I had taken:
1. I had installed Netbeans, selecting the ALL column, meaning it can support Groovy or the grails application.
2. I also had installed the latest version of Grails which is the grails-3.3.5.
3. After installing everything, I opened Netbeans.
STEPS I HAD TAKEN IN NETBEANS
File > New Project > Groovy > Grails Application > then I clicked next.
After that I had clicked the Configure Grails... button. Then I copy pasted the file path of my grails home directory (in my case that is C:\Program Files\NetBeans 8.2\grails-3.3.5) under the textbox of Grails Home then clicked on OK.
The problem here is that I cannot create a new project. It kept on displaying this message box: "Unexpected error occured while creating the application. See output window for more details."
And there it shows the error: "Specifiy an application name or use --inplace to create an application in the current directory"
What should I do? Please help me. I need this for my job application's exam. Thank you so much.
I get exactly the same error as you when creating a Grails 3.3.5 project in NetBeans 8.2 on Windows 10. This is because of a longstanding bug in NetBeans: Bug 258407 - Error when creating a Grails 3.1.x project, which also impacts more recent releases of Grails.
Although that bug has Status: VERIFIED FIXED, unfortunately the fix was not applied to release 8.2 itself ("...this bug is fixed in development builds not 8.2"). You have two possible workarounds:
Install a DEV build of NetBeans 8.x which contains the fix.
Install the beta release of NetBeans 9.0 which contains the fix.
Option 1: Using a DEV release of NetBeans
Download the most recent nightly Dev build of NetBeans 8.2.
Activate Groovy and locate Grails 3.3.5 in the same way as you did on NetBeans 8.2.
You can then successfully create your Grails application using the Groovy > Grails Application project wizard, and run it:
Option 2: Using a beta release of NetBeans 9.
Download and unzip NetBeans 9 beta from the Apache NetBeans 9.0 Beta web site.
Start NetBeans 9 beta and install the Groovy/Grails plugin:
Locate Grails 3.3.5 in the same way as you did on NetBeans 8.2 (Tools > Options > Miscellaneous > Groovy > Grails Home).
You can then successfully create your Grails application using the Groovy > Grails Application project wizard, and run it:

Grails Project not shown in NetBeans project window

I create a new Grails project from NetBeans but when I complete the project complition wizard, nothing to show in my NetBeans project window. My details configuration is:
NetBeans 8.0.2, JDK 8 64bit, Grails 3.0.1
I check my environment veriable setting for Java & Grails also. Everything seems ok, and one important thing is in command line when I type grails -version, it shows the version name and so on. I uninstall NetBeans, JDK, & Grails several times but same problem, I also try it for JDK 1.7 32 bit, no result. I'm used to with NetBeans, so I don't try to other IDE.
Maybe look where the project is defined on disk and open it into NetBeans.
I dont know how this case was solved, but to me it looks like the problem is still valid:
The New Project wizard (Groovy -> Grails Application) calls "grails create-app" but does not generate the nbproject directory.
My environment is:
NetBeans: 8.0.2; Grails Version: 3.0.4; Groovy Version: 2.4.4; JVM Version: 1.7.0_79
Netbeans 8.0.* does not have support for Grails 3.* projects. It can create project but cannot recognize and open the project since the project structure has been dramatically changed from Grails 2.* to 3.*. There was a task created to resolve this problem. Now it reads VERIFIED FIXED for version 8.1. So please upgrade to Netbeans 8.1.* in order to be able to handle Grails 3.* projects in Netbeans.

Grails 3.0 support in NetBeans

I was running Grails 2.2.0 in NetBeans and it was working fine. I tried to upgrade the project to Grails 3.0 but after creating the project NetBeans is not able to open the project.
Does anyone know which plugins to install in NetBeans (if available) to make Grails 3.0 work?
Just wanted to let you know that I've added initial support for grails 3 in NetBeans.
https://netbeans.org/bugzilla/show_bug.cgi?id=254405
At the moment you can get these with the latest NetBeans nightly: http://bits.netbeans.org/download/trunk/nightly/latest/
This will allow NetBeans to recognise/create projects, and the create controller/domain/etc actions working.
One important thing still missing is adding support for the gradle build files (no syntax highlighting or helpers for the gradle files), but in the meantime you may try it and report problems/improvements.

netbeans - plugins require HTML Editor Library to be installed

I am attempting set up Netbeans 7.1 as my RoR editor. When trying to install plugins I get the following error:
Some plugins require plugin HTML Editor Library to be installed. The
plugin HTML Editor Library is requested in version >= 1.21 (release
version 1) but only 2.0.1 (of release version different from 1) was
found. The following plugin is affected:       
Embedded Ruby (RHTML)
I looked for this HTML plugin so I could install it but I can't seem to find it anywhere.
It seems that the Ruby on Rails plugin has some problem (i.e. does not support) Netbeans 7.1 and 7.2. But it works with version 6.9 and 7.
Reference: http://plugins.netbeans.org/plugin/38549/ruby-and-rails
If I'm not wrong this is the lovely 207075 from the bugtracker: https://netbeans.org/bugzilla/show_bug.cgi?id=207075
In fact there's a workaround for this issue:
http://blog.enebo.com/2012/01/workaround-for-ruby-support-on-netbeans.html
good luck.
If you want to install it on a newly downloaded Netbeans (7.1 in my case), you should first go to Tools > Plugins, select Updates Tab and install the updates. Then, after restart, you'll go to the mentioned above Plugins, and now you will able to install all the required updates (HTML Editor will be among them.)
Lastl thing, as #skripted already mentioned, just install the plugin by following the instructions on this page.

how to configure netbeans for ruby on rails?

how to configure netbeans for ruby on rails ?
Update: Netbeans has dropped support for ruby, unfortunately.
The netbeans documentation has sections on that matter:
http://netbeans.org/kb/docs/ruby/setting-up.html
http://netbeans.org/kb/docs/ruby/rails-quickstart.html
Additional info. On Apache NetBeans IDE 11.1 it will work!! (latest version as of 2019)
You need to get a copy of org-jdesktop-layout-RELEASE82.nbm and install it first.
I found it in this directory on the bits.netbeans.org release site:
http://bits.netbeans.org/nexus/content/groups/netbeans/org/netbeans/api/org-jdesktop-layout/RELEASE82/
After it is installed, follow the directions above from Marcos Riveros and you should be good to go.
Google suggests:
http://wiki.netbeans.org/RubyOnRails
http://thoughtmining.blogspot.com/2007/03/installing-netbeans-with-rubyrails.html
Currently, if you download Netbeans 7.0.1 (not the latest), you can use Tools->Plugins to open the Plugins window. Click on "Available Plugins" and search for "Ruby on Rails". Select it, and click install.
Unfortunately, the current version of Netbeans, 7.1, will not offer the Ruby on Rails plugin to you on the Available Plugins tab. The following blog post gives some hope that it will eventually be there:
http://blog.enebo.com/2012/01/workaround-for-ruby-support-on-netbeans.html
In the meantime, use 7.0.1.
Try install plugins manually:
1. Download and unzip the plugins for you netbeans http://plugins.netbeans.org/plugin/38549/ruby-and-rails
2. Click to tools->plugings->Downloaded, add path-to-pluging-downloaded.
Firts install the jar plugins (org-jruby-jruby.jar) and second install the pluging *.nbm.

Resources