>Installing Plugins requires a restart?

>One of the advantages of OSGI is supposed to be it’s ability to allow installation of modules without the need to restart a system. However, in eclipse, when ever you go through a P2 Update manager installation, it ALWAYS asks to restart eclipse. Reminds me of a Windows update procedure. I’d like it more like a Linux update….install and go…no restart.

This entry was posted in eclipse. Bookmark the permalink.

5 Responses to >Installing Plugins requires a restart?

  1. >This is a complicated problem and requires bundles to be “dynamic-aware.” The problem is that even though your bundle is dynamic aware, others in the system may not be and cause issues you don’t predict.This is also a provisioning problem in a sense that we currently have no way to determine if a bundle is dynamic aware. If we had something like a “Bundle-DynamicAware” true/false header, p2 could use this to determine whether to prompt or simply just to automatically apply the changes under the covers (or some other update strategy). The key here is that we have no way for bundles to properly identify themselves to be dynamic aware. Also, most bundles in the wild that use extensions or services aren’t dynamic aware completely as it’s a tough thing to do out of the box.

  2. >@Chris:Yes, it would be very nice also to be able to qualify just how dynamic-aware a bundle is. For example, it is may often be the case that it is easier to process dynamic additions of extensions than to process dynamic removals. So, when disabling or uninstalling bundles, we could also determine whether a re-start is required.Oh, and of course, we’d like to specify which of a bundle’s extension points are dynamic in which dimensions.Never mind that there may be bugs in a bundle’s dynamic extension handling … 🙂

  3. RafaelChaves says:

    >For an application to be fully dynamic, the programming model is significantly more complex. For an IDE, I suspect that extra cost in development and maintenance is hardly justifiable. But there sure are many applications where it would make sense.

  4. >This is one of the biggest disappointments for me. After all, the whole point of moving to OSGi in Eclipse 3.0 was to enable dynamic installation and uninstallation of plug-ins! But the problem is that the rules for being dynamic aware are not well understood, and there are just too many crap plug-ins out there.Frankly, in retrospect the ideal of a fully dynamic platform was always a pipe dream for something like the Eclipse IDE, where users tend to have a whole zoo of plug-ins of highly variable quality. Short of having some kind of certification system for plug-in authors, I don’t see this changing. However in more controlled environments like RCP applications, dynamic behaviour can still be a reality.

  5. dave says:

    >For those who (like me) read these comments and have no idea what makes a plug-in dynamic, this appears to be an excellent starting-point:http://wiki.eclipse.org/FAQ_What_is_a_dynamic_plug-in%3F

Leave a comment