No Groovy Facet?

I'm using IDEA 9.0 on Linux, and I wanted to try out some Groovy coding.   I made a '.groovy' file and IDEA seems to understand it, but I can't seem to add a Groovy SDK anywhere in the project settings.

  • The JetGroovy plugin is installed and enabled.
  • I have a Groovy JDK installed on my system in /opt/groovy-1.7.0.  Do I need to set GROOVY_HOME or something in my IDEA launcher?
  • In Project Structure -> Project Settings -> Facets there is no Groovy facet.
  • When I click 'add new SDK' in Platform Settings -> SDKs, I don't see a menu item for Groovy SDKs.  Just Java, Flex, Air, etc.
  • If I create a new module from scratch I see a Groovy Facet choice.


What if I want to add Groovy support to an existing Java project?

0

Also:

  • In Project Structure -> Project Settings -> Modules, when I right-click on the module I have created there is no 'groovy' facet to add.
  • I'm using IU-93.67 on Ubuntu 9.10 with Sun JDK 1.6.0_17.
0

Hello Joshua,

There is no Groovy facet because it's not needed anymore. Just add the Groovy
runtime as a library, and all Groovy functionality will work.

I'm using IDEA 9.0 on Linux, and I wanted to try out some Groovy
coding.   I made a '.groovy' file and IDEA seems to understand it, but
I can't seem to add a Groovy SDK anywhere in the project settings.

  • The JetGroovy plugin is installed and enabled.

  • I have a Groovy JDK installed on my system in /opt/groovy-1.7.0.  Do

I need to set GROOVY_HOME or something in my IDEA launcher?

  • In Project Structure -> Project Settings -> Facets there is no

Groovy facet.

  • When I click 'add new SDK' in Platform Settings -> SDKs, I don't see

a menu item for Groovy SDKs.  Just Java, Flex, Air, etc.

  • If I create a new module from scratch I see a Groovy Facet choice.


What if I want to add Groovy support to an existing Java project?

---
Original message URL:
http://www.jetbrains.net/devnet/message/5257004#5257004

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Thanks, that works.   I added them by adding the GMaven runtime dependency.   Maybe it's just me, but that wasn't obvious in the JetGroovy docos.

0

请先登录再写评论。