Another possibility would be to deliver OSGi feature files via Puppet to the deploy directory of your container. The feature files can reference bundles stored in a central Maven repository (just an Apache container - a Nexus isn't necessary) via the mvn protocol (ref: pax url handlers).
The net result here is that a very small XML file is sent to your servers and the container then reaches back to a central repository to pull bytecode. -c On Thu, Jul 22, 2010 at 6:01 AM, Christopher Brind <[email protected]>wrote: > Yes, Sigil is a development/build tool. The link I sent you was in > reference to the resolver that Holger mentioned. :) > > Cheers, > Chris > > > On 22 July 2010 10:58, Sander de Groot <[email protected]> wrote: > > > > > On 07/22/2010 11:06 AM, Holger Hoffstätte wrote: > > > >> Sander de Groot wrote: > >> > >> > >>> Does anybody know wether it is possible to create a custom resolver? > >>> > >>> > >> Yes, but hardly advisable unless you have Way Too Much Time™ on your > >> hands. > >> > >> > > Yes, I thought so. > > > > I've searched for these kind of things and found OBR(?) but > >>> unfortunately topics aren't too clear on this subject. > >>> > >>> > >> OBR is for now under-specified and only implemented in the most > simplistic > >> way. There is active work going on in the OSGi working group to make it > >> more practical. > >> > >> > >> > >>> My context is as follows: I've a cluster of servers (OSGi) and I want > to > >>> deploy a new application to each of these servers. These new > >>> applications however sometimes have dependencies which are not > installed > >>> on the (OSGi) server in question. In these cases I want the server to > >>> handle the missing dependencies by looking in a central repository. If > >>> the dependency is found then it should be installed if not: throw the > >>> unresolved dependencies exception. > >>> > >>> > >> <shameless commercial plug> > >> http://www.paremus.com/products/products_nimble.html > >> > >> Nimble uses the metadata present in every bundle and resolves > >> dependencies, taking special care of optionality and situations that are > >> impossible to resolve automatically due to any ambiguities. > >> > >> > > Thanks for the reference, it sounds very interesting. I'm definitely > > checking the possibility. > > > > I use this every day - including hot-updating bundles from my maven repo > >> into a running runtime - and haven't manually installed bundle > >> dependencies in forever. Disclaimer: I work for the company, but not > >> directly on Nimble. > >> > >> If you think you can reinvent this on your own..good luck. :) > >> > >> > > I'd rather not but I couldn't find something like Paremus provides. > > > > Another possibility provided by Christopher Brind is Apache Felix Sigil. > > http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html > > > > But Sigil can't run in Felix, right? It seems its only intended for > > compile-time (Eclipse/Ivy) > > > > Holger > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > >

