Groovy plugin for Javaone

Hey folks!
Now that Javaone is so close I can taste it is there any chance that a 0.1 or 0.01 release of the groovy plugin will be ready for us to showcase there? Lately I've been trying to build it and not having success. It seems like some of the plugin libraries being used are old. At least that is my theory.
Thanks a bunch!
-Steve

5 comments

We are not aware of any build problems with Groovy plugin. Could you please provide more details?

Eugene.

0

Hi Eugene!
Yes here are the compilation messages:

Information:Compilation completed with 100 errors and 21 warnings
Information:100 errors
Information:21 warnings
Warning:Note: Some input files use unchecked or unsafe operations.
Warning:Note: Recompile with -Xlint:unchecked for details.
C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\GroovyFile.java
Error:Error:line (23)cannot find symbol class NameHint
Error:Error:line (39)cannot access com.intellij.psi.impl.source.PsiFileImpl
file com\intellij\psi\impl\source\PsiFileImpl.class not found
Error:Error:line (55)cannot find symbol method findChildrenByClass(java.lang.Class) Error:Error:line (60)cannot find symbol method findChildByClass(java.lang.Class) Error:Error:line (69)cannot find symbol method findChildrenByClass(java.lang.Class) Error:Error:line (73)cannot find symbol method findChildrenByClass(java.lang.Class) Error:Error:line (77)cannot find symbol class NameHint Error:Error:line (77)cannot find symbol class NameHint Error:Error:line (89)cannot find symbol method getManager() Error:Error:line (94)cannot find symbol method getManager() C:\projects\groovy\src\org\jetbrains\plugins\grails\fileType\GroovyInjector.java Error:Error:line (19)package com.intellij.lang.xml does not exist Error:Error:line (43)cannot find symbol class XMLLanguage C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\typedef\GrTypeDefinitionImpl.java Error:Error:line (24)cannot find symbol class NameHint Error:Error:line (72)cannot find symbol method findChildrenByClass(java.lang.Class) Error:Error:line (76)cannot find symbol method findChildByClass(java.lang.Class) Error:Error:line (106)cannot find symbol method findChildByType(com.intellij.psi.tree.IElementType) Error:Error:line (122)cannot find symbol class NameHint Error:Error:line (122)cannot find symbol class NameHint C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\GroovyPsiElementImpl.java Error:Error:line (31)cannot access com.intellij.psi.impl.ElementBase file com\intellij\psi\impl\ElementBase.class not found Error:Error:line (50)cannot find symbol method getFirstChild() C:\projects\groovy\test\org\jetbrains\plugins\groovy\lang\parser\ParserTest.java Error:Error:line (20)package com.intellij.psi.impl does not exist Error:Error:line (51)cannot find symbol variable DebugUtil C:\projects\groovy\src\org\jetbrains\plugins\grails\runner\GrailsRunConfiguration.java Error:Error:line (22)cannot find symbol class DebugProcessImpl Error:Error:line (81)operator == cannot be applied to com.intellij.openapi.module.ModuleType,org.jetbrains.plugins.grails.module.GrailsModuleType Error:Error:line (177)cannot find symbol class DebugProcessImpl C:\projects\groovy\src\org\jetbrains\plugins\grails\GConsole.java Warning:Warning:line (19)[deprecation] com.intellij.execution.filters.TextConsoleBuidlerFactory in com.intellij.execution.filters has been deprecated Warning:Warning:line (38)[deprecation] com.intellij.execution.filters.TextConsoleBuidlerFactory in com.intellij.execution.filters has been deprecated C:\projects\groovy\src\org\jetbrains\plugins\groovy\caches\module\GroovyModuleCachesImpl.java Error:Error:line (24)package com.intellij.openapi.vfs.ex does not exist Error:Error:line (112)cannot find symbol class VirtualFileManagerEx Error:Error:line (112)cannot find symbol variable VirtualFileManagerEx Error:Error:line (117)cannot find symbol class VirtualFileManagerEx Error:Error:line (117)cannot find symbol variable VirtualFileManagerEx C:\projects\groovy\src\org\jetbrains\plugins\groovy\caches\GroovyFilesCacheImpl.java Error:Error:line (23)package com.intellij.openapi.roots.ex does not exist Error:Error:line (75)cannot find symbol class ProjectRootManagerEx C:\projects\groovy\src\org\jetbrains\plugins\groovy\runner\GroovyScriptRunConfiguration.java Error:Error:line (22)cannot find symbol class DebugProcessImpl C:\projects\groovy\src\org\jetbrains\plugins\groovy\actions\NewActionBase.java Warning:Warning:line (23)[deprecation] com.intellij.openapi.actionSystem.DataConstants in com.intellij.openapi.actionSystem has been deprecated Warning:Warning:line (84)[deprecation] com.intellij.openapi.actionSystem.DataConstants in com.intellij.openapi.actionSystem has been deprecated Warning:Warning:line (89)[deprecation] com.intellij.openapi.actionSystem.DataConstants in com.intellij.openapi.actionSystem has been deprecated Warning:Warning:line (90)[deprecation] com.intellij.openapi.actionSystem.DataConstants in com.intellij.openapi.actionSystem has been deprecated C:\projects\groovy\src\org\jetbrains\plugins\groovy\caches\GroovyCachesManagerImpl.java Error:Error:line (22)cannot find symbol class StartupManagerEx Error:Error:line (26)package com.intellij.openapi.roots.impl does not exist Error:Error:line (188)cannot find symbol class ModuleSourceOrderEntryImpl Warning:Warning:line (240)[deprecation] contributeToClasses(com.intellij.navigation.ChooseByNameContributor) in com.intellij.navigation.ChooseByNameRegistry has been deprecated C:\projects\groovy\src\org\jetbrains\plugins\groovy\config\GroovyGrailsConfiguration.java Warning:Warning:line (37)[deprecation] com.intellij.openapi.util.JDOMExternalizable in com.intellij.openapi.util has been deprecated Warning:Warning:line (54)[deprecation] com.intellij.openapi.util.JDOMExternalizable in com.intellij.openapi.util has been deprecated C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\types\GrTypeOrPackageReferenceElementImpl.java Error:Error:line (23)package com.intellij.psi.impl does not exist Error:Error:line (24)package com.intellij.psi.impl.source.resolve does not exist Error:Error:line (160)package ResolveCache does not exist C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\resolve\processors\ResolverProcessor.java Error:Error:line (23)cannot find symbol class NameHint Error:Error:line (32)cannot find symbol class NameHint C:\projects\groovy\src\org\jetbrains\plugins\grails\actions\NewGrailsAppAction.java Warning:Warning:line (21)[deprecation] com.intellij.openapi.actionSystem.DataConstants in com.intellij.openapi.actionSystem has been deprecated Warning:Warning:line (36)[deprecation] com.intellij.openapi.actionSystem.DataConstants in com.intellij.openapi.actionSystem has been deprecated C:\projects\groovy\test\org\jetbrains\plugins\groovy\lang\resolve\ResolveClassTest.java Error:Error:line (12)package com.intellij.openapi.projectRoots.impl does not exist C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\types\GrReferenceElementImpl.java Error:Error:line (37)cannot find symbol class GrReferenceElement Error:Error:line (42)cannot find symbol class ClassResolver Error:Error:line (50)cannot find symbol class GrReferenceElement Error:Error:line (59)cannot find symbol class GrReferenceElement C:\projects\groovy\src\org\jetbrains\plugins\grails\module\GrailsModuleType.java Error:Error:line (22)cannot find symbol class JavaModuleType Error:Error:line (29)cannot find symbol class JavaModuleType C:\projects\groovy\src\org\jetbrains\plugins\groovy\debugger\GroovyPositionManager.java Error:Error:line (21)cannot find symbol class CompoundPositionManager Error:Error:line (23)cannot find symbol class DebugProcessImpl Error:Error:line (24)package com.intellij.debugger.jdi does not exist Error:Error:line (29)package com.intellij.openapi.roots.impl does not exist Error:Error:line (61)cannot find symbol class DebugProcessImpl Error:Error:line (63)cannot find symbol class DebugProcessImpl C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\expressions\GrReferenceExpressionImpl.java Error:Error:line (22)package com.intellij.psi.impl.source.resolve does not exist Error:Error:line (23)package com.intellij.psi.impl does not exist Error:Error:line (61)package ResolveCache does not exist C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\toplevel\imports\GrImportStatementImpl.java Error:Error:line (21)cannot find symbol class NameHint C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\typedef\GrInterfaceDefinitionImpl.java Error:Error:line (28)org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.GrInterfaceDefinitionImpl is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\types\GrTypeArgumentsImpl.java Error:Error:line (28)org.jetbrains.plugins.groovy.lang.psi.impl.types.GrTypeArgumentsImpl is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement C:\projects\groovy\src\org\jetbrains\plugins\grails\actions\NewGrailsXXXAction.java Error:Error:line (88)inconvertible types found : com.intellij.openapi.module.ModuleType required: org.jetbrains.plugins.grails.module.GrailsModuleType C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\GrForStatementImpl.java Error:Error:line (29)org.jetbrains.plugins.groovy.lang.psi.impl.statements.GrForStatementImpl is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement Error:Error:line (39)cannot find symbol method findChildByClass(java.lang.Class) Error:Error:line (43)cannot find symbol method findChildByClass(java.lang.Class) C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\expressions\GrOperationSignImpl.java Error:Error:line (29)org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrOperationSignImpl is not abstract and does not override abstract method putUserDataIfAbsent(com.intellij.openapi.util.Key,T) in com.intellij.openapi.util.UserDataHolderEx C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\arguments\GrArgumentImpl.java Error:Error:line (27)org.jetbrains.plugins.groovy.lang.psi.impl.statements.arguments.GrArgumentImpl is not abstract and does not override abstract method putUserDataIfAbsent(com.intellij.openapi.util.Key,T) in com.intellij.openapi.util.UserDataHolderEx C:\projects\groovy\src\org\jetbrains\plugins\grails\module\GrailsModuleBuilder.java Error:Error:line (65)incompatible types found : org.jetbrains.plugins.grails.module.GrailsModuleType required: com.intellij.openapi.module.ModuleType C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\auxiliary\modifiers\GrModifiersImpl.java Error:Error:line (28)org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrModifiersImpl is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\arguments\GrArgumentLabelImpl.java Error:Error:line (27)org.jetbrains.plugins.groovy.lang.psi.impl.statements.arguments.GrArgumentLabelImpl is not abstract and does not override abstract method putUserDataIfAbsent(com.intellij.openapi.util.Key,T) in com.intellij.openapi.util.UserDataHolderEx C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\expressions\path\GrPropertySelectorImpl.java Error:Error:line (27)org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.path.GrPropertySelectorImpl is not abstract and does not override abstract method putUserDataIfAbsent(com.intellij.openapi.util.Key,T) in com.intellij.openapi.util.UserDataHolderEx C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\expressions\literals\GrRegexImpl.java Error:Error:line (27)org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.literals.GrRegexImpl is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\auxiliary\annotation\GrAnnotationImpl.java Error:Error:line (28)org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.annotation.GrAnnotationImpl is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\GrStarStatementImpl.java Error:Error:line (28)org.jetbrains.plugins.groovy.lang.psi.impl.statements.GrStarStatementImpl is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\toplevel\packaging\GrPackageDefinitionImpl.java Error:Error:line (30)org.jetbrains.plugins.groovy.lang.psi.impl.toplevel.packaging.GrPackageDefinitionImpl is not abstract and does not override abstract method putUserDataIfAbsent(com.intellij.openapi.util.Key,T) in com.intellij.openapi.util.UserDataHolderEx Error:Error:line (47)cannot find symbol method findChildByType(org.jetbrains.plugins.groovy.lang.lexer.GroovyElementType) C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\expressions\GrBinaryExpressionImpl.java Error:Error:line (29)org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrBinaryExpressionImpl is not abstract and does not override abstract method toString() in com.intellij.psi.PsiElement Error:Error:line (36)cannot find symbol method getFirstChild() Error:Error:line (45)cannot find symbol method getLastChild() C:\projects\groovy\src\org\jetbrains\plugins\groovy\actions\GroovyTemplatesFactory.java Error:Error:line (77)cannot find symbol class FileTemplate Error:Error:line (77)cannot find symbol variable FileTemplateManager Error:Error:line (79)cannot find symbol variable FileTemplateManager Error:Error:line (80)cannot find symbol variable FileTemplateUtil Error:Error:line (94)cannot find symbol variable FileTemplateManager C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\typedef\GrExtendsClauseImpl.java Error:Error:line (28)org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.GrExtendsClauseImpl is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\typedef\bodies\GrAnnotationBodyImplType.java Error:Error:line (28)org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.bodies.GrAnnotationBodyImplType is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\typedef\members\GrEnumMemberImpl.java Error:Error:line (28)org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.members.GrEnumMemberImpl is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\typedef\GrImplementsClauseImpl.java Error:Error:line (28)org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.GrImplementsClauseImpl is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\expressions\literals\GrStringImpl.java Error:Error:line (27)org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.literals.GrStringImpl is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\auxiliary\GrTypeCastImpl.java Error:Error:line (27)org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.GrTypeCastImpl is not abstract and does not override abstract method putUserDataIfAbsent(com.intellij.openapi.util.Key,T) in com.intellij.openapi.util.UserDataHolderEx C:\projects\groovy\src\org\jetbrains\plugins\grails\actions\GenerateViewOrController.java Error:Error:line (49)inconvertible types found : com.intellij.openapi.module.ModuleType required: org.jetbrains.plugins.grails.module.GrailsModuleType Error:Error:line (92)inconvertible types found : com.intellij.openapi.module.ModuleType required: org.jetbrains.plugins.grails.module.GrailsModuleType C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\blocks\GrBlockImpl.java Error:Error:line (22)cannot find symbol method findChildrenByClass(java.lang.Class) C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\blocks\GrOpenBlockImpl.java Error:Error:line (28)org.jetbrains.plugins.groovy.lang.psi.impl.statements.blocks.GrOpenBlockImpl is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\GrUseStatementImpl.java Error:Error:line (28)org.jetbrains.plugins.groovy.lang.psi.impl.statements.GrUseStatementImpl is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\expressions\path\GrPropertySelectionImpl.java Error:Error:line (27)org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.path.GrPropertySelectionImpl is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\clauses\GrCaseLabelImpl.java Error:Error:line (27)org.jetbrains.plugins.groovy.lang.psi.impl.statements.clauses.GrCaseLabelImpl is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\typedef\bodies\GrInterfaceBodyImplType.java Error:Error:line (28)org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.bodies.GrInterfaceBodyImplType is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\expressions\path\GrMethodCallImpl.java Error:Error:line (27)org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.path.GrMethodCallImpl is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\statements\typedef\GrEnumTypeDefinitionImpl.java Error:Error:line (28)org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.GrEnumTypeDefinitionImpl is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\psi\impl\toplevel\imports\GrImportSelectorImpl.java Error:Error:line (27)org.jetbrains.plugins.groovy.lang.psi.impl.toplevel.imports.GrImportSelectorImpl is not abstract and does not override abstract method putUserDataIfAbsent(com.intellij.openapi.util.Key]]>,T) in com.intellij.openapi.util.UserDataHolderEx
C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\lexer\GroovyFlexLexer.java
Warning:Warning:line (26)[deprecation] getBuffer() in com.intellij.lexer.Lexer has been deprecated
Warning:Warning:line (26)[deprecation] start(char[],int,int,int) in com.intellij.lexer.Lexer has been deprecated
Warning:Warning:line (26)[deprecation] start(char[],int,int) in com.intellij.lexer.Lexer has been deprecated
Warning:Warning:line (26)[deprecation] start(char[]) in com.intellij.lexer.Lexer has been deprecated
C:\projects\groovy\src\org\jetbrains\plugins\groovy\lang\lexer\GroovyLexer.java
Warning:Warning:line (25)[deprecation] getBuffer() in com.intellij.lexer.Lexer has been deprecated
Warning:Warning:line (25)[deprecation] start(char[],int,int,int) in com.intellij.lexer.Lexer has been deprecated
Warning:Warning:line (25)[deprecation] start(char[],int,int) in com.intellij.lexer.Lexer has been deprecated
Warning:Warning:line (25)[deprecation] start(char[]) in com.intellij.lexer.Lexer has been deprecated

0

Just add idea.jar to your IDEA jdk settings. Also tools.jar from jdk should be added.

0

Thanks Eugene! I think that did it.
Can you give me any idea of what I should expect? I've been playing around a little and saw the highlighting and Grails modules.
-Steve

0

From language point of view (I cannot comment on grails actions)
One should be able to debug and compile,
Syntatic errors are highlighted.
Unresolved classes are highlighted, completion also works on class references.
The same functionality for simple properties and method references is a work in progress, so it sometimes works, sometimes not.
Groovy classes are correctly resolved from java (though their members are not yet)
Formatter also works.

Eugene.

0

Please sign in to leave a comment.