It's all about the answers!

Ask a question

How to update an Eclipse Plugin?


Ranjan Kumar (1134) | asked Feb 13 '15, 11:38 p.m.
I wrote an Eclipse (RTC) plugin using this document:
https://www.ibm.com/developerworks/community/blogs/extendingrtc/entry/checksummaryadvisor?lang=en

When I modify the plugin (update site) and try to update the plugin on the target system, it says there are no updated available. So, I end up uninstalling the plugin, restart RTC, install plugin and restart RTC again, which is very painful and time consuming.

Do I need to change the version number or something else every time I modify the plugin and I want to update the plugin on the target?

Thanks

One answer



permanent link
sam detweiler (12.4k6179201) | answered Feb 14 '15, 8:49 a.m.
to improve performance, Eclipse caches the plugins in loads the first time, until you tell it otherwise..

if you use
eclipse -clean
to start up, it will reload all the plugins again

same as having to tell the RTC server to reload all its plugins on next restart
https://server:port/ccm/admin/requestReset

Comments
Ranjan Kumar commented Feb 15 '15, 1:56 a.m.

Thanks for the response Sam.

Probably I was not clear about the issue I am facing:
From Eclipse, I do:
Help -> Install New Software -> What is already installed -> Installed Software
Then I pick my custom plugin and click "Update" and I get:
     "No updates were found"
Even though I have updated plugin available at the Software site.

What do I need to do in my plugin for Eclipse to recognize the new version of my plugin?

Thanks


sam detweiler commented Feb 15 '15, 9:01 a.m.

I 'assume' you need to update the version numbers in the plugin definition files.

best to go look in the Eclipse forum

Your answer


Register or to post your answer.