Grails commands missing on netbeans? - grails

I'm using Netbeans for my project with grails, but I'm having a problem with the grails commands, but I keep getting this message:
https://s12.postimg.org/713mrxofx/Sem_t_tulo.png
Does anyone know how to fix it?
thanks!

IMO, Netbeans is only good for Java. Grails support in Netbeans is buggy, immature, and painful. I tried it few months back, then gave up, and ended up setting Grails in my Emacs -- I don't like Eclipse. So, I would suggest you do the same; switch to some other IDE for Grails, at least.
IntelliJ has a good support, but community version doesn't have it; few are using that, nonetheless.
Try Eclipse, it has better Grails support than Netbeans.

Related

404 at GGTS download page

Looking to download GGTS (Groovy/Grails tools suite) IDE but I'm getting 404 page.
https://spring.io/tools/ggts/all/
https://spring.io/tools/ggts
Does someone know another place to download GGTS suite
You can use Spring Tool Suite(STS) also by setting Grails SDK.
Also now Netbeans also support for groovy so you can check with it also.
Intellij Idea is the best universal option for all.
BTW you can refer this answer for downloading GGTS.
Hope this will helps you.

Netbeans IDE can use Grails Framework? Or Eclipse?

I would like to know about Grails Framework. When I search grails tool suite to download,i just can find 'Based on Eclipse'. Is there anything for Netbeans IDE? Can I use Grails framework on Netbeans IDE?
Yes, You can use NetBeans 6.5 or above versions which support Groovy/ Grails development. NetBeans comes with a Groovy editor with various integrated tools and offers features like code completion, providing name of dynamic methods for grails domain and controller class. It is light and offers great functional features.
Check this link
http://grails.github.io/grails-doc/latest/guide/gettingStarted.html#ide
Also you can take help from book Grails in Action to know more about Grails framework and how to develop applications using it.
IMHO JetBrains IntelliJ IDEA is the best IDEA for Grails and it blows all other IDEs out of the water. Although you have to pay $199 for the license, it is definitely worth the $$$.
If you are a student you can get the Academic license for free :).

Grails 2 vs Grails 3

I'm rather new to grails and I'm about to start a new grails project. I'm very confused with what version to go with based on the tools not being ready to support the newest version. I've read version 3 was a complete rewrite from ground up which my gut says should be the version to go with considering the project is brand new, but I'm discovering none of the tools are ready for version 3.
I was successfully able to get version 3 up with intellij with out grails support and the same goes for ggts.
With that being said, I don't know how to run the app in ggts since grails-runapp doesn't work
with ggts, I used the following tutorial https://tedvinke.wordpress.com/2015/04/10/grails-3-released-installing-gradle-and-groovy-2-4-support-in-eclipseggts/ but I've been able to figure out how to get the app to run. Does anybody know how to do this?
My questions are
How do I run a Grails 3 app in GGTS.
Is it recommended to use Grails 3 at this point or should I use Grails 2
If you use Grails 3, what is the recommended IDE?
With Intellij I had to run it by going to the grails-app/init project run main. Is this the correct way to do it?
As of Grails 3 you don't need a special IDE To run Grails 3 application. all you need to do is to right-click on the Application class and execute to start your Grails application. To read more about IDE integration https://grails.github.io/grails-doc/latest/guide/introduction.html
Currently, not all plugins are upgraded to Grails 3. So if your project depends on some plugins that are not already upgraded this will be an issue. For example spring security is not upgraded yet, but there is a work around to use it.https://groups.google.com/forum/#!searchin/grails-dev-discuss/spring$20security/grails-dev-discuss/jOF0jw_BiCs/tOxd0NZpaxkJ
Finally, both Intellij community edition and GGTS supports Grails3. But if you want special grails features like GSP syntax highlighting use GGTS or IDEA Ultimate edition.
IntelliJ idea 15 is out. Try that. The support for Grails 3 is built in.
Choose Grails 3 instead of Grails 1/2 in project selection.
I have 6 projects running Grails 2 for over 1 year.
So far I have not encountered any need to upgrade them to Grails 3.
I use the latest edition of IntelliJ Ultimate 2016.2, and for the most part it works good with Grails 2. The debugger still throws a lot of EVAL errors, but I am able to evaluate my variables in real time.
The biggest problem I've encountered so far is plugins that are not compatible with Java 1.8. Some of the plugins still have to run in Java 1.7.
Lastly, I'd say if your project is still new, look into using NodeJs. It seems to be more popular than Grails at this point.
I think intellij is better for development in grails from my experience.
Grails 3 will be good choice for development. there are lot more features in there
https://dzone.com/articles/whats-new-grails-3
also document site will give you clear concept about it
http://docs.grails.org/latest/
Considering the fact that grails version 2 is different from grails version 3; it will be good if you start with version 3 and avoid the possibility of running into upgrade issues from 2.x to 3.x in the future
You can use Netbeans or Intelij. I use Netbeans.
Facing a lot of issues in Database migration in Grails 3.1.6. Not helping at all.
I think remaining a few days in version 2 will be beneficiary as long as version 3 stables.
Besides The GGTS support will be needed as Intellij IDEA 15 community edition does not support Grails. So better back to the old versions.

Ruby on Rails in SpringSource tool suite?

I have been using Grails for some time now, but in school they are making us use Ruby on Rails. I have been trying to find an extension for ruby on rails for STS as there is for Grails, but I have failed. The only thing that comes close is a plugin so i can use ruby code in my Grails app using JRuby. I just want to make sure that a fully integrated extension DOESN'T exist.
If that is the case, what would be the graphical IDE way of developing in ruby on rails, the same way one would use STS for Groovy on Grails development?
(preferably free :) )
Try JetBrains RubyMine, it's an IDE for Ruby and Rails.
Aptana Studio is the best and free IDE for ruby on rails.
Old versions of Netbeans got a good support for language, but no longer updated for new releases.
I like JetBrains.
http://www.easyeclipse.org/site/home/ will allow you to build Rails framework apps. Look in the new install listing and I 'm sure you will find the url for Ruby and Rails. The type name is now under DLT Dynamic Languages Tools. RDT is a bit old and the EasyEclipse uses that.
Try yhis for radrails org.nexb.easyeclipse.radrails of course you know namespaces like this are backward. The best I could come up with for that is http://www.nexb.com/corp/. Or my STS has Juno - http://download.eclipse.org/releases/juno and look under Programming Languages DLT Ruby to get started.
Also these guys might be able to help you https://www.facebook.com/groups/10463298884/

Grails. STS. Syntax highlighting problem?

I create Grails project use STS IDE.
And sometimes i see not correct Syntax highlighting. and this "sometimes" - very often.
Some body have this problem too? or only I?
The syntax highlighting problems have been fixed since STS 2.5.3.
I highly recommend IntelliJ, it's the best IDE for Grails development. They have community edition and professional edition.

Resources