Plugin hot deploy [message #47736] |
Fri, 29 April 2005 10:36 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.03550 seconds