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
Please sign in to leave a comment.
since-build is only used by plugin manager to download most suitable plugin
version currently. IDEA does not check that.
Is planned to add this check into IDEA plugin loading?
TIA,
Dmitry
That's quite easy indeed. On other hand how the plugin designated to a higher
version could appear in minor one?
Maxim
>
IDEA should give a warning, and not load the plugin.
Alain
>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
Hi Maxim,
API can be not compatible with earlier versions as and older ones.
TIA,
Dmitry