Hi,
why don't you use the newer version of Karaf 2.1.
But even with Karaf 1.6 blueprint is already awailable therefore you don't
need Spring DM 2.0.
Spring DM 2.0 won't work with Karaf because of the already available
blueprint implementation.
Concerning 1.6 it is a geronimo based one, and since 2.0 it is based on the
Apache Aries project.

cheers, Achim

2010/10/14 Manuel Bernhardt <[email protected]>

> Hi all,
>
> I am struggling to get Spring DM 2 to run (as feature on Felix). If I
> understand things correctly, in order to use the Blueprint services in
> combination with Spring DM, I need this release (at least this is what
> the Spring site says).
>
> Karaf comes by default with Spring DM 1.2:
>
> ka...@root> features:list
> State         Version       Name       Repository
> [installed  ] [2.5.6.SEC01] spring     karaf-1.6.0
> [installed  ] [1.2.0      ] spring-dm  karaf-1.6.0
> ...
>
> I started an attempt to make my own feature descriptor based on
> Karaf's one, but I am not entirely sure of which artifacts need to be
> part of the feature. I added my current attempt at the end of the
> mail. For the moment, it does not work, i.e. it fails when trying to
> deploy the feature.
>
> My question is: am I on the right track with attempting to create a
> custom feature descriptor?
> And, are there perhaps other means in order to get Spring DM 2.x
> support on the Felix/Karaf platform?
>
> Thanks!
>
> Manuel
>
> PS: I also posted a question on stack overflow:
>
> http://stackoverflow.com/questions/3925405/how-to-get-spring-dynamic-modules-2-x-to-work-on-apache-felix-karaf
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <features name="spring-features">
>    <feature name="spring" version="3.0.2.RELEASE">
>
>  
> <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.aopalliance/1.0_3</bundle>
>        <bundle>mvn:org.springframework/spring-core/3.0.2.RELEASE</bundle>
>        <bundle>mvn:org.springframework/spring-beans/3.0.2.RELEASE</bundle>
>        <bundle>mvn:org.springframework/spring-aop/3.0.2.RELEASE</bundle>
>
>  <bundle>mvn:org.springframework/spring-context/3.0.2.RELEASE</bundle>
>
>  <bundle>mvn:org.springframework/spring-context-support/3.0.2.RELEASE</bundle>
>    </feature>
>    <feature name="spring-dm" version="2.0.0.M1">
>        <feature version="3.0.2.RELEASE">spring</feature>
>
>  
> <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.cglib/2.1_3_4</bundle>
>
>  <bundle>mvn:org.springframework.osgi/spring-osgi-io/2.0.0.M1</bundle>
>
>  <bundle>mvn:org.springframework.osgi/spring-osgi-core/2.0.0.M1</bundle>
>
>  <bundle>mvn:org.springframework.osgi/spring-osgi-extender/2.0.0.M1</bundle>
>
>  
> <bundle>mvn:org.springframework.osgi/spring-osgi-annotation/1.1.3.RELEASE</bundle>
>
>  
> <bundle>mvn:org.apache.felix.karaf.deployer/org.apache.felix.karaf.deployer.spring/1.6.0</bundle>
>    </feature>
> </features>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to