Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Plug-in not properly uninstalled / updated
Plug-in not properly uninstalled / updated [message #335374] Sat, 04 April 2009 08: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 09:58 Go to previous message
Eclipse UserFriend
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: Fri May 02 21:18:18 EDT 2025

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

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

Back to the top