I just installed Groovy/Grails Tool Suite on Ubuntu Gnome 16.04. I went to create a new Grails project and I get this error.
No Grails installation configured
or
No Grails installation configured in the workspace preferences.
depending on whether I have started typing a name for the project.
How do I configure grails?
Did you try to configure it? (if you find out that GGTS do not see Grails 3.x than try to install current elipse and add grails/groovy plugins manually)
Related
I know that this functionnality exists in STS but I would like to know if there is any plugin or configuration to obtain this functionnality in Eclipse.
Since the STS is an Eclipse distribution with a bunch of Spring plugins, you can also install these plugins in any other Eclipse installation. To do that, just add their Update Site into your Eclipse and install the plugins. You can find the links for the Update Site at https://spring.io/tools/sts/all (update sites differ for Eclipse 4.4 and 4.5).
Additionally you can go to the Eclipse Marketplace and install all STS features from there (which will basically convert your Eclipse installation into STS).
Im using windows and eclipse Luna. I wanted to install plugins in my grails. I didnt see where is the grails command.
Grails 3 is not supported in Eclipse. Use Intellij U edition.
For grails 2 use GGTS.
In Grails2, plugins are added in BuildConfig.groovy which resides in
**grails-app\conf** .
In Grails3, plugins are added in build.gradle file.
Right click on your project -> Grails Tools -> Grails Command Wizard / Open up Grails command prompt. Depends on what commands you want :P
Am working on sonar integrated with eclipse using ant
But when i go "right click project-->configure-->associate with sonar" nothing happens!!
My ant version is 1.7.1
Eclipse is Helios(3.6)
sonar version is 3.4.1
Welcome all your favours..........
Sonar Eclipse has nothing to do with Ant, it's really independendent.
You should follow the different steps listed in the documentation page. Most notably, you need to have a Sonar server up and running somewhere (on your local computer or elsewhere) and you must make sure that you already launched an analysis of your project, which you can browse on Sonar Web application. If not, you'll never be able to associate your project in Eclipse.
Once you have a first analysis of your project on the Sonar server, then you need to configure the URL of your server in the Eclipse settings. Only after this, you'll be able to associate your project with Sonar.
This might have to do with your plugin version. As described in the docs Version 3.0 is only compatible with Eclipse 3.7 and up.
I would suggest you either upgrade your eclipse or you downgrade your plugin.
I am trying to create a grails 2.2.0 project using eclipse-jee-juno. It gives me an error
Groovy compiler level expected by the project does not match workspace compiler level.
Project compiler level is: 1.8.X
Workspace compiler level is 1.7.X
Go to Project properties -> Groovy compiler to set the Groovy compiler level for this project.
Background: I have installed grails 2.2.0 and I am able to create and run a sample project/controller by using the command line (not eclipse)
Grails 2.x need groovy 1.8+ to work. In eclipse, right click your project, select 'properties' from menu and go to Groovy compiler, select groovy version 1.8.xxxx. Or you can go to 'preference' menu and change the global setting for groovy compiler version.
Here are the steps that enabled me to run the application on grails 2.2.0.
Install JDK 7
Install Grails 2.2.0
Install eclipse-jee-juno or GGTS
Download grails-2.2.0.RC4
Under GRAILS_HOME\lib, Create a directory com.springsource.springloaded with a subdirectory springloaded-core
Copied contents of RC4\lib\org.springsource.springloaded into com.springsource.springloaded
Restart GGTS or Eclipse. Your GRAILS app should be up and running!
Can anyone point me to spring-eclipse plug-in update location so I can use spring from my Eclipse IDE?
None of the ones I found online are working!
Spring works fine without any special eclipse plugins. Spring have there own version of eclipse called STS (SpringSource Tool Suite) and you could use that. The installation instructions (pdf) for STS include instructions for installing the STS components into an existing Eclipse 3.5 installation.