R there any plugins for GROOVY???

hi all,

I am new to this forum. I am doing a project on Java & Groovy. I am using intelliJIDEA as my IDE for Java. I couldn't get Groovy work there. Are there any plugins for Groovy? It's very urgent. Plz help me.

tharshi.

10 comments
Comment actions Permalink

n, thr rnt grooovy s nt yt fnl

0
Comment actions Permalink

tharshi wrote:

hi all,

I am new to this forum. I am doing a project on Java & Groovy. I am using intelliJIDEA as my IDE for Java. I couldn't get Groovy work there. Are there any plugins for Groovy? It's very urgent. Plz help me.

tharshi.


Hi tharshi, no, there is not yet a Groovy plugin. IDEA 5.0 has a
Language API that will make Groovy support possible in the future, once
Groovy stabilizes.

--
Rob Harwood
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Did you try http://groovy.codehaus.org/IntelliJIDEAPlugin ?
I'm not sure they've issued a release yet, but perhaps their sources are stable...

Rob Harwood (JetBrains) wrote:

tharshi wrote:

>> hi all,
>>
>> I am new to this forum. I am doing a project on Java & Groovy. I am
>> using intelliJIDEA as my IDE for Java. I couldn't get Groovy work
>> there. Are there any plugins for Groovy? It's very urgent. Plz help me.
>> tharshi.


Hi tharshi, no, there is not yet a Groovy plugin. IDEA 5.0 has a
Language API that will make Groovy support possible in the future, once
Groovy stabilizes.

0
Comment actions Permalink

Arik Kfir wrote:

Did you try http://groovy.codehaus.org/IntelliJIDEAPlugin ?
I'm not sure they've issued a release yet, but perhaps their sources are
stable...


Oops, somehow I thought tharshi was talking about built-in support.

--
Rob Harwood
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Arik,

Thanks for passing on the link.

Work on GroovyJ, the Groovy integration for Irida, is making good progress. We're hoping to have a first public release around the Groovy JSR-2 release.

Cheers,
Franck

0
Comment actions Permalink

hi,

Thanks for your reply.Ya, if there is a built-in support, my work would be much easier.I tried that link and downloaded GroovyJ.

tharshi.

0
Comment actions Permalink

hi,

I have downloaded GroovyJ.It says it needs jdk1.5. But project only supports jdk1.4. It doesn't support jdk1.5. Any solution??

tharshi.

0
Comment actions Permalink

Tharshi,

The recent Irida builds run on JDK 1.5 and that's the version targeted by parts of the Open API and GroovyJ. So if you're trying to build GroovyJ from a CVS checkout, your JAVA_HOME (required by Ant) needs to point to JDK 1.5 installation.

Your own projects, however, can be configured to use a different version of the JDK. This won't affect the runtime environment of your IDEA installation and associated plug-in's.

Regards,

Franck

0
Comment actions Permalink

Hi, I just found out about GroovyJ and it looks really nice. However I can't get it to compile.

I'm using the latest Irida (3354) and I copied the whole IDEA dir to lib/compile/irida/

It still cant find some intellij packages.. this is what I'm getting:

ant deploy.irida
Buildfile: build.xml

check.java.version:
[java.version] 1.6.0-ea

java.version.pass:

check.ant.version:
[ant.version] Apache Ant version 1.6.5 compiled on June 2 2005

ant.version.pass:

initialise:

zip.irida:

check.java.version:
[java.version] 1.6.0-ea

java.version.pass:

check.ant.version:
[ant.version] Apache Ant version 1.6.5 compiled on June 2 2005

ant.version.pass:

initialise:

check.irida.available:

irida.available:

antlr.psi:

compile.irida:
    [javac] Compiling 46 source files to C:\groovytest\build\classes\irida
    [javac] C:\groovytest\src\java\org\codehaus\groovy\intellij\language\GroovyLanguage.java:21: package com.intellij.codeFormatting does not exist
    [javac] import com.intellij.codeFormatting.PseudoTextBuilder;
    [javac]                                   ^
    [javac] C:\groovytest\src\java\org\codehaus\groovy\intellij\language\GroovyLanguage.java:83: cannot find symbol
    [javac] symbol  : class PseudoTextBuilder
    [javac] location: class org.codehaus.groovy.intellij.language.GroovyLanguage
    [javac]     public PseudoTextBuilder getFormatter() {
    [javac]            ^
    [javac] C:\groovytest\src\java\org\codehaus\groovy\intellij\language\editor\GroovyPseudoTextBuilder.java:21: package com.intellij.codeFormatting d
oes not exist
    [javac] import com.intellij.codeFormatting.PseudoText;
    [javac]                                   ^
    [javac] C:\groovytest\src\java\org\codehaus\groovy\intellij\language\editor\GroovyPseudoTextBuilder.java:22: package com.intellij.codeFormatting d
oes not exist
    [javac] import com.intellij.codeFormatting.PseudoTextBuilder;
    [javac]                                   ^
    [javac] C:\groovytest\src\java\org\codehaus\groovy\intellij\language\editor\GroovyPseudoTextBuilder.java:23: package com.intellij.codeFormatting d
oes not exist
    [javac] import com.intellij.codeFormatting.TreeBasedPseudoText;
    [javac]                                   ^
    [javac] C:\groovytest\src\java\org\codehaus\groovy\intellij\language\editor\GroovyPseudoTextBuilder.java:29: cannot find symbol
    [javac] symbol: class PseudoTextBuilder
    [javac] public class GroovyPseudoTextBuilder implements PseudoTextBuilder {
    [javac]                                                 ^
    [javac] C:\groovytest\src\java\org\codehaus\groovy\intellij\language\editor\GroovyPseudoTextBuilder.java:31: cannot find symbol
    [javac] symbol  : class PseudoText
    [javac] location: class org.codehaus.groovy.intellij.language.editor.GroovyPseudoTextBuilder
    [javac]     public PseudoText build(Project project, CodeStyleSettings settings, PsiElement source) {
    [javac]            ^
    [javac] C:\groovytest\src\java\org\codehaus\groovy\intellij\language\GroovyPsiBuilder.java:41: org.codehaus.groovy.intellij.language.GroovyPsiBuil
der is not abstract and does not override abstract method setDebugMode(boolean) in com.intellij.lang.PsiBuilder
    [javac] public class GroovyPsiBuilder implements PsiBuilder {
    [javac]        ^
    [javac] C:\groovytest\src\java\org\codehaus\groovy\intellij\language\editor\GroovyPseudoTextBuilder.java:33: cannot find symbol
    [javac] symbol  : class TreeBasedPseudoText
    [javac] location: class org.codehaus.groovy.intellij.language.editor.GroovyPseudoTextBuilder
    [javac]         TreeBasedPseudoText pseudoText = new TreeBasedPseudoText(rootNode);
    [javac]         ^
    [javac] C:\groovytest\src\java\org\codehaus\groovy\intellij\language\editor\GroovyPseudoTextBuilder.java:33: cannot find symbol
    [javac] symbol  : class TreeBasedPseudoText
    [javac] location: class org.codehaus.groovy.intellij.language.editor.GroovyPseudoTextBuilder
    [javac]         TreeBasedPseudoText pseudoText = new TreeBasedPseudoText(rootNode);
    [javac]                                              ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 10 errors

BUILD FAILED
C:\groovytest\build.xml:320: The following error occurred while executing this line:
C:\groovytest\build.xml:208: Compile failed; see the compiler error output for details.]]>


Maybe the package names have changed in new EAP or something? I guess I should try with older versions.

ps. Any news about the release date?

0
Comment actions Permalink

Hi Amannis,

GroovyJ from CVS HEAD does not yet support Irida build #3354, hence the build errors.

We're hoping to have the first public release through IDEA's plug-in manager a few weeks following the forthcoming Groovy JSR-2 release.

Regards,

Franck

0

Please sign in to leave a comment.