How to Compile Groovy plugin?

Hi Folks,

I just downloaded http://svn.jetbrains.org/idea/Trunk/groovy/ and tried to build using 6913.
First off, thanks for all the great work so far. I am really looking forward to this.

When building, for the file GroovyPositionManager.java, I receive messages like:
package com.sun.jdi does not exist
package com.sun.jdi.request does not exist
cannot find symbol ReferenceType
...

I have added groovy-1.0.jar to my classpath and the plugin sdk jar. I am using the jdk that came with 6913 (installed by the windows executable).

Any suggestions?

Thanks, Paul.

2 comments

Hi Paul,

Just add tools.jar from JDK to IDEA jdk class path. This is needed cause we use JDI for integrating groovy debugging support.

Eugene.

0

Hello Paul,

I just downloaded http://svn.jetbrains.org/idea/Trunk/groovy/ and
tried to build using 6913. First off, thanks for all the great work so
far. I am really looking forward to this.

When building, for the file GroovyPositionManager.java, I receive
messages like:
package com.sun.jdi does not exist
package com.sun.jdi.request does not exist
cannot find symbol ReferenceType
..
I have added groovy-1.0.jar to my classpath and the plugin sdk jar. I
am using the jdk that came with 6913 (installed by the windows
executable).

Any suggestions?


Add tools.jar from JDK to the IDEA JDK classpath.

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


0

Please sign in to leave a comment.