Enterprise Plugin Repository Updates Follow
I changed the updatePlugins.xml from
<plugin id="com.renemaas.snippetmanager" url="https://intellij.renemaas.com/Snippet-Manager-IDEA-Plugin-1.2.2.zip" version="1.2.2" />
to
<plugin id="com.renemaas.snippetmanager" url="https://intellij.renemaas.com/Snippet-Manager-IDEA-Plugin-1.3.zip" version="1.3" />
Than I choose Help > Check for Update and the new version file gets downloaded, but it does not get installed automatically.
So my question is do the plugins installed via an enterprise respository get updated automatically inside the IDE and if not how can I trigger the update proccess manually?
Please sign in to leave a comment.
Hi,
Update should be automatically suggested. Was the old plugin already installed? Is the new plugin compatible with your IDEA? Do you received the notification about update successfully proceed?
Thx
Yes, yes and no.
Do you invoke Help|Check for update from welcome screen? Could you please attach idea.log (Help|Show log)?
Thanks
where do you invoke Help > Check for Update ?
<idea-version since-build="branch 135" /> is incorrect and that's why plugin is not installed. Only 135.0 or 135 are supported
The log is from the welcome screen. But I also tried it with an opened project via the menu bar.
I changed it to <idea-version since-build="135" /> and published v1.3.1 but still no luck with auto installing.
135 is treated as build number, sorry. Only 135.0 can be accepted. You may install plugin from the disc in order to check if it works. BTW you may debug why it doesn't work: the point your plugin should pass is com.intellij.ide.plugins.PluginManagerCore#isIncompatible(com.intellij.ide.plugins.IdeaPluginDescriptor))
Thanks. I will try later when I am back in the office.
Installation from disk and from the repository works.
Whether the value is branch 135 or only 135.The only thing that does not work is the automatic updates via the repository.
Tried it. No luck.
Okay now I got what went wrong.
I defined the wrong plugin id in updatePlugins.xml.
I thought the id is the package name, but the plugin id is just the name of the plugin defined in the name tag in plugin.xml.
That's not quite correct. Plugin id could be a separate tag in plugin.xml. If it's absent, then name is used instead of id.
This!. I had the same problem. Please update the documentation to make more clear the id is the actual id you use in the plugin itself.
I can't make it to work. I mean, I can install my plugin from the updatePlugins.xml but it doesn't auto update. I'm using zip files instead of jar. Does it make any sense at all?
The plugin version matches the one in the xml definition.
Thanks!
I have the same problem with zip files. Have anyone a fix for this?