debugger openapi

I'm developing a plug-in which should have a dependency on debugger-openapi.jar, execution-openapi.jar, java-impl.jar, and some others.. And these dependencies are not added to the SDK when I create a new one.

Here are the steps that I follow:

1) In Project Structure, SDKs, Add new SDK
2) I select "IntelliJ IDEA Plugin SDK", browse to the IDEA intallation directory
3) IDEA asks for Java SDK that should be used as IDEA internal platform. Select and proceed..

After these steps, I see no libraries that I've listed above at the Classpath of the new SDK. Is that the desired behaviour and the xxx-openapi.jar files should be included manually?


I'm using IDEA Ultimate edition, version 9.0.3, build #IU-95.429

4 comments

Hello Anton,

There are no such jars in any IntelliJ IDEA distribution. All the different
IDEA core modules are packaged either into openapi.jar or into idea.jar.

I'm developing a plug-in which should have a dependency on
debugger-openapi.jar, execution-openapi.jar, java-impl.jar, and some
others.. And these dependencies are not added to the SDK when I create
a new one.

Here are the steps that I follow:

1) In Project Structure, SDKs, Add new SDK
2) I select "IntelliJ IDEA Plugin SDK", browse to the IDEA intallation
directory
3) IDEA asks for Java SDK that should be used as IDEA internal
platform. Select and proceed..
After these steps, I see no libraries that I've listed above at the
Classpath of the new SDK. Is that the desired behaviour and the
xxx-openapi.jar files should be included manually?

I'm using IDEA Ultimate edition, version 9.0.3, build #IU-95.429


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


0

Dmitry,

You're right, these are the names of modules in the git repo of IDEA X EAP actually. Sorry, my mistake.

How could I proceed if one of my classes has a dependency to GenericDebuggerRunner, DefaultJavaProgramRunner, or JavaModuleType ?


Some more that aren't resolved:
com.intellij.debugger.engine.evaluation.DefaultCodeFragmentFactory;
com.intellij.debugger.DebuggerManagerEx;
com.intellij.execution.remote.RemoteConfiguration

0

Oh, I actually found those in idea.jar. It wasn't on the classpath by default...

Thx!

0

Hello Anton,

Add idea.jar to the classpath of your IntelliJ IDEA SDK.

You're right, these are the names of modules in the git repo of IDEA X
EAP actually. Sorry, my mistake.

How could I proceed if one of my classes has a dependency to
GenericDebuggerRunner, DefaultJavaProgramRunner, or JavaModuleType
(there're more that aren't resolved) ?

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


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


0

Please sign in to leave a comment.