Hi Romain, Since Apache Karaf uses Apache Aries for the underlying blueprint implementation there is no easy way around this with the current version of Karaf. Though with Karaf 3.0 it is possible to "mix" both implementations due to the used regions. You could try with the latest SNAPSHOT of Karaf 3.0 to find out. Gemini will be supported only inside it's own "Region" :)
To make sure you are actually using Gemini instead of Aries I think you need to add a certain flag (which I don't recall right now) So I'll try to dig around this and will let you know. Or someone who knows will jump up and point out :) regards, Achim 2012/6/5 Romain Gilles <[email protected]>: > Do you mean that gemini-blueprint is the only way to mix osgi with spring; > and you are not confident that it is working with karaf? > > Romain. > > 2012/6/5 Christian Schneider <[email protected]> >> >> Aries blueprint does not support the normal spring namespaces. It only >> supports the blueprint namespace. I have never seen gemini run in karaf so I >> am not sure if this is possible. >> >> If you only use spring for the non OSGi tests you might try blueprint and >> pax exam or the karaf testing framework instead. This way it will all be >> OSGi tests. >> >> Christian >> >> Am 05.06.2012 10:57, schrieb Romain Gilles: >> >>> Hi, >>> I would like to use spring 3.1 in my bundles to handle none osgi IoC and >>> I would like to use blueprint to handle osgi IoC as ref and publish >>> services. >>> I see that karaf 3 already support spring 3.1.1; I would like to know the >>> best way to mix the both world: do I have to use gemini-blueprint or can I >>> use aries blueprint? >>> Does Aries blueprint support spring? >>> >>> Thanks in advance, >>> >>> Romain >>> >> >> >> -- >> >> Christian Schneider >> http://www.liquid-reality.de >> >> Open Source Architect >> Talend Application Integration Division http://www.talend.com >> > -- Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project Lead blog <http://notizblog.nierbeck.de/>
