How do I access classes defined in modules other than openapi in an IDEA plugin module?
Hi,
I am pretty new to IDEA plugin development. I checked out IDEA 9 source code and am able to build and run it from IDEA 9 community edition. I am trying to create Java class files from a custom template. I tried to use FileTemplateManager to load my custom template, but my plugin module can't aceess any of the community edition java files defined outside openapi module (like platform, java-impl, etc).
Can anyone please tell me, if I need to configure anything else to access those java files defined in other modules?
Thanks,
Stanley Ricardo.
请先登录再写评论。
Hello Stanley,
You need to add idea.jar to the classpath of the IntelliJ Plugin SDK.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thank you Dmitry! It worked.
Thanks,
Stanley