Skip to main content



      Home
Home » Eclipse Projects » Equinox » Deploying bundles remotely
Deploying bundles remotely [message #91426] Sat, 30 June 2007 20:37 Go to next message
Eclipse UserFriend
Hello all

I'm looking for some advice on how to automatically deploy a bundle to a
few Equinox instances running on remote machines.

I have something like the following scenario in mind:

1. Develop the bundle on my machine. Run tests.

2. Decide the bundle works.

3. Click a button and have all the remote Equinox instances fetch and
activate my bundle. This might involve:

3.1. Export the bundle to an OSGi Bundle Repository along the lines
described in this Eclipsecon presentation:

http://eclipsezilla.eclipsecon.org/php/attachment.php?bugid= 4045

3.2. Notify all the Equinox instances to retrieve the new bundle from the
OBR and activate it (maybe via HTTP, or multicast, or JMS or RMI or
whatever).

Any thoughts on how this could be achieved?

Regards,

Albert

P.S. It's not immediately obvious from those short talk slides where one
would find the plugin(s) the allows you to run an OBR server or export to
an OBR repository. Any idea where I could find that code to play with?
Re: Deploying bundles remotely [message #91456 is a reply to message #91426] Sun, 01 July 2007 14:08 Go to previous message
Eclipse UserFriend
Originally posted by: alex_blewitt.yahoo.com

All you need to do is to do Bundle.install(URL) on the client machine. Doesn't really matter where it comes from; you could have the bundles stored on an HTTP server. The trick would be to have some kind of notification to pick up from the client side, or possibly a timed check (like every hour).

You'd need to have a simple file that listed the URLs, and then get the individual clients to poll that for differences.

Alex.
Previous Topic:Eclipse is OSGi Based, but requires reboots...?
Next Topic:Service activation - best practice for service availability?
Goto Forum:
  


Current Time: Thu Sep 18 11:25:32 EDT 2025

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

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

Back to the top