Enterprise Plugin Repository Updates

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?

15 comments
Comment actions Permalink

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

0
Comment actions Permalink

Yes, yes and no.

0
Comment actions Permalink

Do you invoke Help|Check for update from welcome screen? Could you please attach idea.log (Help|Show log)?
Thanks

0
Comment actions Permalink

2015-03-10 12:20:31,549 [      0]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------ 2015-03-10 12:20:31,581 [     32]   INFO -        #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IC-139.1117.1, 21 Jan 2015 00:00) 2015-03-10 12:20:31,581 [     32]   INFO -        #com.intellij.idea.Main - OS: Windows 7 (6.1, x86) 2015-03-10 12:20:31,581 [     32]   INFO -        #com.intellij.idea.Main - JRE: 1.8.0_25-b18 (Oracle Corporation) 2015-03-10 12:20:31,581 [     32]   INFO -        #com.intellij.idea.Main - JVM: 25.25-b02 (Java HotSpot(TM) Server VM) 2015-03-10 12:20:31,583 [     34]   INFO -        #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx512m -XX:MaxPermSize=250m -XX:ReservedCodeCacheSize=150m -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djsse.enableSNIExtension=false -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -Xbootclasspath/a:C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 14.0.2\lib\boot.jar -Didea.paths.selector=IdeaIC14 2015-03-10 12:20:32,105 [    556]   INFO -        #com.intellij.idea.Main - JNA library loaded (32-bit) in 522 ms 2015-03-10 12:20:32,107 [    558]   INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational 2015-03-10 12:20:32,108 [    559]   INFO -        #com.intellij.idea.Main - Using "FocusKiller" library to prevent focus stealing. 2015-03-10 12:20:32,810 [   1261]   INFO - llij.ide.plugins.PluginManager - 33 plugins initialized in 385 ms 2015-03-10 12:20:32,813 [   1264]   INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: Android Support (10.1.0), Ant Support (1.0), Bytecode Viewer (0.1), CVS Integration (11), Commander (1.0.0), Copyright (8.1), Coverage, Eclipse Integration (3.0), EditorConfig (1.0), Git Integration (8.1), GitHub, Gradle, Groovy (9.0), I18n for Java, IDEA CORE, IntelliLang (8.0), JUnit (1.0), Java Bytecode Decompiler (0.1), JavaFX (1.0), Maven Integration, Plugin DevKit (1.0), Properties Support, Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), UI Designer, XPathView + XSLT Support (4), XSLT-Debugger (1.4), hg4idea (10.0) 2015-03-10 12:20:32,813 [   1264]   INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: .ignore (1.0.2), Snippet Manager (1.2.2), Zipper (1.0.3) 2015-03-10 12:20:33,266 [   1717]   INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; max=498008064 2015-03-10 12:20:33,320 [   1771]   INFO - api.vfs.impl.local.FileWatcher - Starting file watcher: C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 14.0.2\bin\fsnotifier.exe 2015-03-10 12:20:33,327 [   1778]   INFO - api.vfs.impl.local.FileWatcher - Native file watcher is operational. 2015-03-10 12:20:33,629 [   2080]   INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: [] 2015-03-10 12:20:34,132 [   2583]   INFO -                  TestNG Runner - Create TestNG Template Configuration 2015-03-10 12:20:34,160 [   2611]   INFO - ellij.project.impl.ProjectImpl - 21 project components initialized in 197 ms 2015-03-10 12:20:34,160 [   2611]   INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms 2015-03-10 12:20:34,387 [   2838]   INFO - pl.stores.ApplicationStoreImpl - 83 application components initialized in 1552 ms 2015-03-10 12:20:34,439 [   2890]   INFO - .intellij.idea.IdeaApplication - App initialization took 3877 ms 2015-03-10 12:21:10,485 [  38936]   INFO -                  TestNG Runner - Create TestNG Template Configuration 2015-03-10 12:21:10,499 [  38950]   INFO -                  TestNG Runner - Create TestNG Template Configuration 2015-03-10 12:21:10,853 [  39304]   INFO - ellij.project.impl.ProjectImpl - 146 project components initialized in 614 ms 2015-03-10 12:21:11,112 [  39563]   INFO - le.impl.ModuleManagerComponent - 1 module(s) loaded in 259 ms 2015-03-10 12:21:12,795 [  41246]   INFO - rains.ide.BuiltInServerManager - built-in server started, port 63343 2015-03-10 12:21:13,057 [  41508]   INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 1528 ms 2015-03-10 12:21:13,941 [  42392]   INFO - CompilerWorkspaceConfiguration - Available processors: 4 2015-03-10 12:21:15,301 [  43752]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 5076 ms 2015-03-10 12:21:39,374 [  67825]   INFO - org.jetbrains.io.BuiltInServer - web server stopped 2015-03-10 12:21:39,375 [  67826]   INFO - Types.impl.FileTypeManagerImpl - FileTypeManager: 0 auto-detected files Elapsed time on auto-detect: 0 ms 2015-03-10 12:21:39,399 [  67850]   INFO - dea.ddms.adb.AdbService$Ddmlib - DDMLib terminated 2015-03-10 12:21:39,399 [  67850]   INFO - il.indexing.FileBasedIndexImpl - START INDEX SHUTDOWN

0
Comment actions Permalink

where do you invoke  Help > Check for Update ?

0
Comment actions Permalink

<idea-version since-build="branch 135" /> is incorrect and that's why plugin is not installed. Only 135.0 or 135 are supported

0
Comment actions Permalink

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.

0
Comment actions Permalink

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))

0
Comment actions Permalink

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.

0
Comment actions Permalink

Tried it. No luck.

0
Comment actions Permalink

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.

0
Comment actions Permalink

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.

0
Comment actions Permalink

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.

 

 

0
Comment actions Permalink

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!

1
Comment actions Permalink

I have the same problem with zip files. Have anyone a fix for this?

0

Please sign in to leave a comment.