DevKit and version handling !?

I'm puzzled by the DevKit plugin behaviour:


I modified a plugin.xml version setting to
<idea-version since-build="3177" />

Problem: if I compile this plugin, with 3144, I can launch it with the
DevKit plugin, and it works fine.

Q1/ How come?
Am I missing something. If not, it's a bug.

Q2/
If I publish it into the repository, will this still be a problem?
(i.e. is a build 3144 IDEA able to install this plugin, despite the
since limitation.

Alain

6 comments
Comment actions Permalink

since-build is only used by plugin manager to download most suitable plugin
version currently. IDEA does not check that.

I'm puzzled by the DevKit plugin behaviour:

I modified a plugin.xml version setting to
<idea-version since-build="3177" />
Problem: if I compile this plugin, with 3144, I can launch it with the
DevKit plugin, and it works fine.

Q1/ How come?
Am I missing something. If not, it's a bug.
Q2/
If I publish it into the repository, will this still be a problem?
(i.e. is a build 3144 IDEA able to install this plugin, despite the
since limitation.
Alain



0
Comment actions Permalink

Is planned to add this check into IDEA plugin loading?

TIA,
Dmitry

0
Comment actions Permalink

That's quite easy indeed. On other hand how the plugin designated to a higher
version could appear in minor one?

Is planned to add this check into IDEA plugin loading?

TIA,
Dmitry



0
Comment actions Permalink

Maxim

..how the plugin designated to a higher version could appear in minor
one?

>


IDEA should give a warning, and not load the plugin.



Alain

0
Comment actions Permalink


>Is planned to add this check into IDEA plugin loading?
>

>

posted:
"DevKit: doesn't check plugin.xml version info against the IDEA SDK
version "
http://www.intellij.net/tracker/idea/viewSCR?publicId=42056

Alain

0
Comment actions Permalink

Hi Maxim,
API can be not compatible with earlier versions as and older ones.

TIA,
Dmitry

0

Please sign in to leave a comment.