Can I use IntelliJ7 to make version 6 plugins?

I am using IntelliJ7 and the 7 OpenAPI. Can I download the version 6 OpenAPI also into 7 and be able to choose which API version I want when writing plugins?

5 comments

Hello Shawn,

I am using IntelliJ7 and the 7 OpenAPI. Can I download the version 6
OpenAPI also into 7 and be able to choose which API version I want
when writing plugins?


Yes, you can download IntelliJ IDEA 6, along with its plugin development
kit, create an IntelliJ IDEA JDK pointing to your IntelliJ IDEA 6 installation,
and use it as the JDK for your plugin module.

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


0

You misunderstood my question. Yes, I know I can use IntelliJ 6 to develop 6 plugins and use IntelliJ 7 to develop 7 plugins. I want to know if I can use one IDE to develop plugins for both. Can I install the 6 and 7 openAPI into my IntelliJ 7 IDE? Then when I start a new plugin I can choose which openAPI I want to use.

0

You misunderstood Dmitry's answer. Yes, you can use IntelliJ IDEA 7 to develop plugins for IDEA 6. But you can't install the version 6 OpenAPI into your IDEA 7 installation. You have to install a full IntelliJ IDEA 6 and install the OpenAPI into it. THEN you can create an IntelliJ IDEA JDK inside your IDEA 7 installation, pointing to your IDEA 6 installation.

(The OpenAPI package doesn't contain any libraries, it only contains additional material like sources, javadoc, etc. The libraries are taken from the base installation. You also need a full installation when you want to debug your plugin. You then can launch IDEA 6 from within your IDEA 7 installation where you're developing.)

You misunderstood my question. Yes, I know I can use
IntelliJ 6 to develop 6 plugins and use IntelliJ 7 to
develop 7 plugins. I want to know if I can use one
IDE to develop plugins for both. Can I install the 6
and 7 openAPI into my IntelliJ 7 IDE? Then when I
start a new plugin I can choose which openAPI I want
to use.

0

I have similar problem too.
Then openapi.jar was compiled by JDK1.6 and it can't used to compile plugin in JDK1.5,
The problem is there is only JDK1.5 on Mac, so how can I create a plugin for JDK1.5?

And how IntelliJ works fine on Mac which only has JDK1.5 env?

0

Hello LiXiao,

I have similar problem too.
Then openapi.jar was compiled by JDK1.6 and it can't used to compile
plugin in JDK1.5,
The problem is there is only JDK1.5 on Mac, so how can I create a
plugin for JDK1.5?


There's a special distribution of IDEA built with JDK 1.5:
http://www.jetbrains.net/confluence/display/IDEADEV/BuildingPluginswithIntelliJIDEA+7.0

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


0

Please sign in to leave a comment.