Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Equinox commands
Equinox commands [message #106654] Thu, 20 March 2008 05:26 Go to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Hi,

When working with bundles I see commands like
install,uninstall,start,stop,refresh,update.

Let's say I update one of my class in one of my bundles, which command
should I execute to see the update in effect immediately ? I usually
execute OSGI 'exit' command then restart the apps, but I think this is too
cumbersome just to see the update of one class in one bundle.

Any help would be greatly appreciated.

Best Regards,

Setya
Re: Equinox commands [message #106822 is a reply to message #106654] Wed, 26 March 2008 10:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Boyan.Yurukov.softwareag.com

Hi Setya,

What I do is repackage the bundle, uninstall it in OSGi, install it and
start it again. I am not sure if there is any quicker way to do it.

Greetings,
Boyan.


"Setya" <jsetya@gmail.com> wrote in message
news:69d319c3427bca5a89bc3c2bfee270d7$1@www.eclipse.org...
> Hi,
>
> When working with bundles I see commands like
> install,uninstall,start,stop,refresh,update.
>
> Let's say I update one of my class in one of my bundles, which command
> should I execute to see the update in effect immediately ? I usually
> execute OSGI 'exit' command then restart the apps, but I think this is too
> cumbersome just to see the update of one class in one bundle.
>
> Any help would be greatly appreciated.
>
> Best Regards,
>
> Setya
>
Re: Equinox commands [message #107046 is a reply to message #106822] Fri, 28 March 2008 22:32 Go to previous message
Thomas Watson is currently offline Thomas WatsonFriend
Messages: 501
Registered: July 2009
Senior Member
Boyan Yurukov wrote:
> Hi Setya,
>
> What I do is repackage the bundle, uninstall it in OSGi, install it and
> start it again. I am not sure if there is any quicker way to do it.
>
> Greetings,
> Boyan.
>

Doing an "update" followed by a "refresh" command should get your new
bundle loaded without requiring a VM restart.

Tom.
Previous Topic:Dynamically enable/disable Plugins/Bundles
Next Topic:Export-Package header of system bundle
Goto Forum:
  


Current Time: Mon Oct 25 15:16:49 GMT 2021

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

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

Back to the top