Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » osgi (equinox)
osgi (equinox) [message #467636] Wed, 09 May 2007 11:52 Go to next message
Eclipse UserFriend
Originally posted by: nugaee.SPAMtlen.pl

i have two plugins one switcher and second test. test plugins has two
versions. i need to switch between these versions. i managed to write
switcher chode (install first -> stop() 2. uninstalL() 2 install 1.0 a
start 1.0). it works only if there is test plugin install in the
location. in other cases when trying to use test plugin functionality it
throws CNFE.

any hints welcomed

bartek michalik
Re: osgi (equinox) [message #467642 is a reply to message #467636] Wed, 09 May 2007 12:37 Go to previous message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
Might be better posted on the eclipse.technology.equinox group instead.

You don't have to uninstall a bundle to install a new one with a different version. You don't even have to stop them if you don't want. However, whilst you have classes in a bundle that uses the test bundle, the classloader will remain with the (possibly stopped) bundle.

OSGi services allow you to get around this. There's an article at http://www.eclipsezone.com/articles/extensions-vs-services/ that you might like to read.

Alex.
Previous Topic:Dynamic Help search result includes context help XML file
Next Topic:RCP "export" broken -- can Eclipse please develop a new solution?
Goto Forum:
  


Current Time: Wed Apr 24 22:11:17 GMT 2024

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

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

Back to the top