Cannot build Jet Groovy
I can't build the Jet Groovy project via Ant or Idea.
As for building via Ant, I pointed the 4 variables in groovy.properties to valid things (Groovy 1.6.4, Idea 9 EAP 10762) and it gives many compile errors. Such as:
cannot find symbol for FrameworkSupportProvider in GroovyFacetSupportProvider (and many other places)
cannot find symbol for ClassDescriptor in GroovyClassDescriptor
and many many more.
I tried to point it to Idea 8.1.3 and it didn't work either.
One thing I noticed in the ant script:
${idea.home}/system/plugins-sandbox/plugins/groovy
This assumes my system is underneath my idea home (which is mapped inside the same file to be jdk.home.jetgroovy_idea_sdk from groovy.properties). This is incorrect. I'm running Ubuntu and by default, my 'system' directory is a hidden directory underneath my home directory. I manually hacked the 'system' directory to be correct, but no luck. Same errors. Does this not work on Linux?
I then gave up and tried to build it via Idea's compile. I added the Idea jars from a the EAP (10762) as well as the tools jar from java and the jars from the EAP plugin-dev redist (extension, javaee-openapi, openapi, and persistence-openapi). It gives similar errors:
cannot find symbol class for FrameworkSupportProvider in GroovyFacetSupportProvider
interface expected here (GroovyConstantExpressionEvaluator implements ConstantExpressionEvaluator)
cannot find symbol class PsiConstantEvaluationHelper.AuxEvaluator
cannot find symbol class OutputSink
cannot find symbol class DeclaractionKind
etc. etc.
I then switched to using the Idea jars from 8.1.3. No luck.
Any help is appreciated.
请先登录再写评论。
Hello mhunsicker,
The Ant script is outdated and doesn't work. You need to build from IDEA,
and to add idea.jar to the classpath of the IDEA JDK.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thanks, but I had tried that and still get errors. I have added all the jars included in Idea's lib directory. No luck.
Hello mhunsicker,
Which errors do you get exactly?
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
It stops at 100, but I'm getting
cannot find symbol class for FrameworkSupportProvider in GroovyFacetSupportProvider
interface expected here (GroovyConstantExpressionEvaluator implements ConstantExpressionEvaluator)
cannot find symbol class PsiConstantEvaluationHelper.AuxEvaluator
cannot find symbol class OutputSink
cannot find symbol class DeclaractionKind
cannot find symbol class PsiConstantEvaluationHelper.AuxEvaluator
cannot find symbol class MoveMembersProcessor.MoveMembersUsageInfo
etc. etc.
Hello mhunsicker,
Please wait until the next EAP release. The codebase went through some refactorings
since the last EAP, so the current code doesn't compile againsy 10762.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
OK. Thanks!