Enterprise plugin repository
I'm trying to get this feature to work with no success so far.
Here's what I tried:
1) created updatePlugins.xml and placed in root-location of intranet-server
2) added intranet-server URL to the list of plugin hosts (with and w/o adding /updatePlugins.xml)
3) press "check now" in update dialog - should have updated the (manually copied) outdated version already installed, but no results
4) plugin manager does not show the plugin provided in my updatePlugins.xml
The documentation in the online help is rather sparse on this subject..
Any help?
请先登录再写评论。
Hello Yann,
you have to point server url directly to the updatePlugins.xml.
When you Check for updates IDEA loads this updatePlugins.xml, reads plugins
versions and checks if there is installed plugins with corresponding id.
For new plugins and plugins with version newer than installed IDEA check
url from updatePlugins.xml for pluging's package Result dialog must be shown.
If you still have problems please attach your updatePlugins.xml
Thank you
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Hello Anna,
it still doesn't work, I added missing element to my plugin... ]> ]]>
I double-checked:
- id matches the one in plugin.xml
- version matches the one in plugin.xml
Any other suggestions?
Yann,
do you have plugin-name.jar installed? if so what version does it have?
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Yes I installed it by hand before (is it possible to show the contents of EPR in plugin manager as well?!). The version is 0.3 compared to 0.4 in updatePlugins.xml (why do I have to specify the version explicity when it can be scanned in corresponding plugin-jar?)
I believe it is another entity. For me EPR contains plugins which you must
have. Available tab contains all plugins. Or do you suggest another tab "EPR"
in Plugins Manager?
Version used in order to decrease traffic: not to load jar if it is not necessary.
Are there any exceptions in the log? I need a way to reproduce the problem
...
Thank you
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Hello Anna,
I had an idea about letting the EPR point to the latest pinned builds our TeamCity server. The need
to specify an increasing version in the descriptor makes this a bit complicated though. And even
when just pointing to a static file, it's a bit inconvenient to have to change the version at two
different places.
What about checking the Last-Modified http-header to see if an update might be needed?
Sascha
Hello Anna,
They are another entity but the plugins should be available in plugin manager IMHO, so another tab would be most useful. Should I file this in JIRA?
that makes sense
nothing at all, I turned logging to DEBUG level but I don't see any HTTP requests coming from Updates-dialog, only TeamCity-stuff..
That sounds like a cool idea, thanks for the inspiration ;)
Hello Sascha,
JIRA issue, please?
Thank you
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
>> Version used in order to decrease traffic: not to load jar if it is
>> not necessary.
>>
Yann,
>> I believe it is another entity. For me EPR contains
>> plugins which you must
>> have. Available tab contains all plugins. Or do you
>> suggest another tab "EPR"
>> in Plugins Manager?
Yes, please
>> Version used in order to decrease traffic: not to
>> load jar if it is not necessary.
>> Are there any exceptions in the log? I need a way to reproduce the
>> problem
>>
Do you see dialog message after "Check Now"? What does it say?
May be another JIRA issue?
Thanks
Usability issues:
http://www.jetbrains.net/jira/browse/IDEA-16002
Better integration with plugin manager:
http://www.jetbrains.net/jira/browse/IDEA-16003
It just tells me I'm using the latest version of IDEA, nothing more.
http://www.jetbrains.net/jira/browse/IDEA-16009
Using 7523 I'm seeing a 503 trying to access the updatePlugins.xml file. Accessing it via webbrowser works just fine.
Hello Yann,
Do you use proxy? May I look at idea.log?
Thanks
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Indeed it seems to be maybe a proxy problem. I already tried to disable proxy while IDEA was running but after restart now it updated the plugin as expected.
I suggest there should be an option to disable using proxy for selectable enterprise repository URLs.
I'm not being able to use the enterprise repository also. But i'm packaging my plugin as a zip file instead of a jar.
Could that be the problem ?
Hello,
It shouldn't be the problem. If you have zipped a number of jars and do not
configure plugin version in updatePlugins.xml then your plugin would be updated
every time when check is performed (a known issue).
Can IDEA detect your plugin? If so it must be your proxy settings ... or
some exceptions in logs?
Thank you
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
IDEA doesn't detect the plugin at all.
Here's what my updatePlugins.xml looks like:
+ ]]>+
It can't be a proxy because i'm not behind any proxy. Feel free to try this configuration yourself as the zip file is public. You can access the xml from here also http://webresources.logical-software.com/loomy/intellij/updatePlugins.xml
Nevermind that, got it working.
I thought the plugin would should up in the plugins dialog, as it turns out one has to use the updates dialog.