0

I want to know how to install manual a grails plugin (2.0.3 version) in STS.

I found grails plugin here http://grails.org/download

I tried to install it by cliking on Help -> Install New Software -> Clicking ‘Add’ then I had this error "Could not find jar:....grails-2.0.3.zip!"

Thanks

Igor Artamonov
  • 35,450
  • 10
  • 82
  • 113
Jils
  • 783
  • 5
  • 12
  • 32
  • I cannot find any Eclipse plugin at http://grails.org/download, only Grails itself. Are sure that you've downloaded an Grails Plugins for Eclipse from here? – Igor Artamonov Dec 23 '13 at 08:41
  • I want to only install Grails plugin. I've installed STS previously – Jils Dec 23 '13 at 08:52
  • you mean '*a grails plugin for eclipse*' or what? maybe you want to get *Grails*, not *Grails plugin*? PS I though STS is already contains a plugin for grails development... – Igor Artamonov Dec 23 '13 at 08:54
  • I'm using Spring source, I cannot install grails extention from the dashboard. That's why I'm looking for alternatif solution to install a specific grails plugin version. – Jils Dec 23 '13 at 08:57
  • Yes I thinkh I need 'a grails plugin for eclipse' – Jils Dec 23 '13 at 09:04
  • then you should download it from here - http://grails.org/products/ggts – Igor Artamonov Dec 23 '13 at 09:07
  • I'll re start my environment set up. I see that there is not information about grails version. Can I change grails version after installing the 'package'? – Jils Dec 23 '13 at 09:16

2 Answers2

1

In STS go to Window > preferences> groovy > grails and select a grails directory for a particular version.


Also you can download the latest release and compiler from Dashboard > Extensions.

Sachin Verma
  • 3,712
  • 10
  • 41
  • 74
  • I selected my grails versions but ggts doesn't recognize my project as grails project. The convert processus and the compilation doesn't work. The Console I have: | Loading Grails 2.0.3 | Configuring classpath And anythink else – Jils Dec 23 '13 at 11:23
  • The grails version and project version must be same And in your case your project is not a grails project .Its not recommended but you can try to create a new project and manually put src into new project if conversions to grails not working. – Sachin Verma Dec 24 '13 at 05:29
0

In STS go to options like Window-->Preference-->Groovy..>Grails--> then click add button locate the Grails path which you located in your system

Radim Köhler
  • 122,561
  • 47
  • 239
  • 335
  • I did it, I selected grails 2.0.3 The problem now is when I tried to import my grails project the compilation stop at: | Loading Grails 2.0.3 | Configuring classpath – Jils Dec 23 '13 at 12:22
  • I don't know how but the project it recognize as grails project. – Jils Dec 24 '13 at 08:55