Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Plug-in hot loading management tool
Plug-in hot loading management tool [message #533923] Mon, 17 May 2010 13:41 Go to next message
Gregoire Dupe is currently offline Gregoire DupeFriend
Messages: 75
Registered: September 2009
Location: France
Member
Hi,

To implement MoDisco features, we use the plug-in hot loading mechanism to improve usability by sparing the user from having to launch a second Eclipse instance.

We have to use the OSGi hot loading mechanism because:

- a MoDisco project contains behavior descriptions written in Java which are expected to be executable in the same Eclipse instance (to customize an editor),

- MoDisco's users are not plug-in developers. That's why they are not accustomed to launching an Eclipse instance using the Eclipse Application launcher.

The use of plug-in hot loading implies managing the hot loading itself, the corresponding errors, the management of change events and the plug-in unloading (to revert to the "real" installed plug-in).

Do you know of anybody who has the same requirements? Does any hot loading management tool exist? If not, do you think it would be possible to share the hot loading management features, by providing a dedicated plug-in?

Regards,

Gregoire Dupe
Re: Plug-in hot loading management tool [message #533940 is a reply to message #533923] Mon, 17 May 2010 14:18 Go to previous messageGo to next message
Anthony Dahanne is currently offline Anthony DahanneFriend
Messages: 9
Registered: March 2010
Location: Montreal
Junior Member
Hello !
To my knowledge, you have 2 alternatives :


  1. Using P2 director and p2 touch points to hot deploy a new installable unit
  2. Using Felix File Install, so that when the user drops a new bundle, it will be activated (if all dependencies are resolved)


The easiest to set up is Felix File Install, but the more "equinox way" to do it is using p2
Regards,
Anthony
Re: Plug-in hot loading management tool [message #534002 is a reply to message #533923] Mon, 17 May 2010 16:38 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

We were playing around with Java scripting in eclipse and developed a
plugin tools that will deploy a Plug-in Project of a certain shape into
the running eclipse (it uses builders to keep up to date, etc). It
still has to use OSGi PackageAdmin and install/uninstall the bundle.

http://dev.eclipse.org/viewcvs/index.cgi/platform-incubator/ ui/other/org.eclipse.ui.tools/

It's been a while since we looked at it, though.

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/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:Nullpointer Exception starting equinox
Next Topic:-console <port> terminating OSGi framework in 3.6.RC1
Goto Forum:
  


Current Time: Fri Apr 26 10:12:00 GMT 2024

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

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

Back to the top