Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Plug-in not properly uninstalled / updated
Plug-in not properly uninstalled / updated [message #335374] Sat, 04 April 2009 12:22 Go to next message
Eclipse UserFriend
Originally posted by: karl.weber99.gmx.net

Hi,

I am developing a plug-in that I need to update frequently for testing
purposes. For some reason I cannot / do not want to use the runtime
workbench, but install the plug-in into eclipse.

I created a local update site and imported the feature containing the
plug-ins. That worked. Both where imported into

~/.eclipse/org.eclipse.platform_3.4.0_131362647/features and ..../plugins
respectively.

Now I don't want to increase the version number of the plug-in for every
test. So I tried to uninstall the feature. As a result the files
in ..../features were deleted, but the jars of the plug-ins where kept
in ..../plugins. After modifying and rebuilding the plug-in, rebuilding the
feature and installing it (with the same versions) in eclipse, only the
files in ..../features where created again. The plug-in files
in ..../plug-in where still the old ones.

Sure, I can change the jar-files of the plug-in by hand in the ..../plugins
directory by hand.

However, can one achieve the same with the Update Manager, as described
above? Or might there be a bug in eclipse?

Thanks in advance!

-Karl
Re: Plug-in not properly uninstalled / updated [message #335399 is a reply to message #335374] Mon, 06 April 2009 13:58 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

if you want to play with the update manager, your plugin version needs
to change ... even the qualifier is fine. i.e. your version is specified:
1.0.0.qualifier

Then when you generate a plugin, you can specify the qualifier or let it
auto-update and you'll get:
my.lib_1.0.0.200904060956

each time you deploy, you'll get a higher qualifier and the system can
tell the difference.

If you are going to install/uninstall your plugin yourself (the other
alternative) I wouldn't bother with features and update sites at all.
Simply have your code always load your plugin when necessary and
uninstall it when necessary. The update manager can control the
plugins, or you can, but not both.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Previous Topic:ITextContentDescriber: BYTE_ORDER_MARK overrides CHARSET
Next Topic:KeyBindings not shown properly in popup
Goto Forum:
  


Current Time: Sun Aug 11 12:20:06 GMT 2024

Powered by FUDForum. Page generated in 0.03457 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top