You can start Equinox with telnet support and then the bootstrapper class can issue install/update commands through a telnet connection.
From: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Allain Turgeon
Sent: Wednesday, March 23, 2011 6:29 PM
Subject: [equinox-dev] Automating the Equinox OSGi Console
I'm using a stand-alone Equinox OSGi console (i.e. not through Eclipse) to keep a series of "programs" up-to-date on a series of servers. I was wondering if there's a way to automate the OSGi console input? What I mean is, can I install, update, start, and stop bundles through a bootstrapper class without the need for human input?
I would have a bootstrapper class running on a box that would constantly read from a server repository and when a bundle gets updated/added in the repository, I want the bootstapper to trigger a bundle update/install in the OSGi solution running.
Any help/tips would be appreciated.
Allain Turgeon | Software Developer