Hi Ivanhoe,

This change has been made with the update on the latest gogo version (KARAF-219):

          <Export-Package>
 -              org.apache.felix.gogo.commands*;version=${felix.gogo.version},
 -              org.osgi.service.command;version=${felix.gogo.version},
 -              org.osgi.service.threadio;version=${felix.gogo.version},
 +              org.apache.felix.gogo*;version=${felix.gogo.version},
+ org.apache.felix.service.command;version=${felix.gogo.version};status=provisional;mandatory:=status, + org.apache.felix.service.threadio;version=${felix.gogo.version};status=provisional;mandatory:=status,
                org.apache.karaf.shell.console*;version=${project.version},
                org.fusesource.jansi;version=${jansi.version},

Guillaume made this update.
I think that ActiveMQ Karaf bundle is not up to date as it's linked to Karaf 2.1.x (with the "old" gogo version). I'm gonna check and submit a patch to ActiveMQ to support the new Karaf 2.2.x release with the new gogo version.

Regards
JB

On 01/07/2011 04:55 PM, Ivanhoe Abrahams wrote:
Hi All

I have downloaded the trunk version of Karaf (2.1.99.SNAPSHOT) and built
it (because I want to use the enterprise bundles).
Eveything went fine until I wanted to install activemq 5.4.2,

At that point I get the error below.

Error executing command: Could not start bundle
mvn:org.apache.activemq/activemq-karaf/5.4.2 in feature(s)
activemq-5.4.2: Unresolved constraint in bundle activemq-karaf [242]:
Unable to resolve 242.0 : missing requirement [242.0] package;
(&(package=org.osgi.service.command)(version>=0.4.0)(!(version>=1.0.0)))

After digging around a bit I noticed that org,apache.karaf.shell.console
no longer exports the above package.
In the previous version (2.1.2) it did export that package.

So my question is. Is this intentional? If not what can I do to resolve
this?

Thank you in advance

Ivanhoe

--
Jean-Baptiste Onofré
---------------------------------
 HomePage
http://www.nanthrax.net
---------------------------------
 Contacts
[email protected]
[email protected]
---------------------------------
 OpenSource
BuildProcess/AutoDeploy
http://buildprocess.sourceforge.net
Apache ServiceMix
http://servicemix.apache.org
-----------------------------------
PGP : 17D4F086

Reply via email to