Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Plugin hot deploy
Plugin hot deploy [message #47736] Fri, 29 April 2005 10:36 Go to next message
Eclipse UserFriend
Originally posted by: amottadelli.it.ibm.comnospam

It would be very nice to have a "hot deploy" facility for plugins and
new versions of plugins already deployed..... is it available/feasible?

Thanks,
Sandro
Re: Plugin hot deploy [message #47767 is a reply to message #47736] Fri, 29 April 2005 15:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chaves.inf.no.ufsc.spam.br

I don't think anyone has implemented this yet. This was one of the most
interesting feature I found in JBoss - deploy by copying.

The update manager is capable of installing plug-ins while Eclipse is
running. Not all plug-ins are good citizens in a dynamic environment
(for example, the Eclipse IDE plug-ins), so the degree of success will
depend on the plug-ins involved.

The only thing missing (if this is what you meant by hot-deploy) is a
something that monitors the local sites (the main "plugins" directory
and any extension locations the Update Manager knows about), detecting
changes/addditions/deletions and taking the right actions accordingly.
Not sure whether Update provides API for changing the platform
configuration.

Or if you are *not* running with Update, you can go straight to the OSGi
API.

Rafael

Alessandro Mottadelli wrote:
> It would be very nice to have a "hot deploy" facility for plugins and
> new versions of plugins already deployed..... is it available/feasible?
>
> Thanks,
> Sandro
Re: Plugin hot deploy [message #50304 is a reply to message #47767] Sat, 01 October 2005 09:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: amottadelli.it.ibm.comnospam

> I don't think anyone has implemented this yet. This was one of the most
> interesting feature I found in JBoss - deploy by copying.
>
> The update manager is capable of installing plug-ins while Eclipse is
> running. Not all plug-ins are good citizens in a dynamic environment
> (for example, the Eclipse IDE plug-ins), so the degree of success will
> depend on the plug-ins involved.
>

My customer will run some of the user base in a Citrix environment, so
I'm implementing a sort of "hot deploy" to allow the users to pick up
changes and additions to the local site (the application knows wich
plugins can be dynamically updated).


> The only thing missing (if this is what you meant by hot-deploy) is a
> something that monitors the local sites (the main "plugins" directory
> and any extension locations the Update Manager knows about), detecting
> changes/addditions/deletions and taking the right actions accordingly.
> Not sure whether Update provides API for changing the platform
> configuration.
>
> Or if you are *not* running with Update, you can go straight to the OSGi
> API.
>

Yes, I can:
- easily detect that the local site is not up-to-date with the file system
- easily install/activate the changes using OSGI API
BUT:
I have not yet found any clean way to change the local site configuration.
As a result, the same changes are picked up at each refresh cycle.

Any suggestion?
Thanks,
Sandro
Re: Plugin hot deploy [message #50359 is a reply to message #50304] Tue, 04 October 2005 01:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chaves.inf.no.spam.ufsc.br

The only clean I know is the configuration API:

http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/api/org/eclipse/update/configurat or/IPlatformConfiguration.html

Alessandro Mottadelli wrote:
>
>> I don't think anyone has implemented this yet. This was one of the
>> most interesting feature I found in JBoss - deploy by copying.
>>
>> The update manager is capable of installing plug-ins while Eclipse is
>> running. Not all plug-ins are good citizens in a dynamic environment
>> (for example, the Eclipse IDE plug-ins), so the degree of success will
>> depend on the plug-ins involved.
>>
>
> My customer will run some of the user base in a Citrix environment, so
> I'm implementing a sort of "hot deploy" to allow the users to pick up
> changes and additions to the local site (the application knows wich
> plugins can be dynamically updated).
>
>
>> The only thing missing (if this is what you meant by hot-deploy) is a
>> something that monitors the local sites (the main "plugins" directory
>> and any extension locations the Update Manager knows about), detecting
>> changes/addditions/deletions and taking the right actions accordingly.
>> Not sure whether Update provides API for changing the platform
>> configuration.
>>
>> Or if you are *not* running with Update, you can go straight to the
>> OSGi API.
>>
>
> Yes, I can:
> - easily detect that the local site is not up-to-date with the file system
> - easily install/activate the changes using OSGI API
> BUT:
> I have not yet found any clean way to change the local site configuration.
> As a result, the same changes are picked up at each refresh cycle.
>
> Any suggestion?
> Thanks,
> Sandro
Re: Plugin hot deploy [message #50387 is a reply to message #50359] Tue, 04 October 2005 05:37 Go to previous message
Eclipse UserFriend
Originally posted by: amottadelli.it.ibm.comnospam

Rafael Chaves wrote:
> The only clean I know is the configuration API:
>
> http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/api/org/eclipse/update/configurat or/IPlatformConfiguration.html
>
>
Thanks.
Actually I overlooked this API because I was trying to use "higher
level" APIs.....i.e. InstallOperation or
ReplaceFeatureVersionOperation.... this operations update the LocalSite
info AND the PlatformConfiguration (and provide some commit/rollback).
It appears that directly using PlatformConfiguration API will leave
LocalSite info outdated..... but maybe this will not be a problem.... I
will try.

Best regards,
Sandro
Previous Topic:Management of OSGi bundles (plugins)
Next Topic:shared install and varying configurations
Goto Forum:
  


Current Time: Thu Apr 25 16:12:50 GMT 2024

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

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

Back to the top