you mean that declaring in maven file this one http://ebr.springsource.com/repository/app/bundle/version/detail?name=com.springsource.slf4j.api&version=1.6.1&searchType=bundlesByName&searchQuery=slf4j
instead of normal slf4j dependency would in the end solve the problem? 2010/12/7 John Bäckstrand <[email protected]> > I actually don't know what the more "correct" way of doing things are. I > think the most proper way to use slf4j in osgi is probably with a > slf4j->osgi logging service bridge, but I took the shortcut of using the > slf4-simple implementation. I simply added the slf4j dependencies in my > maven file from the spring EBR repo. > > I was using pax-runner when experimenting with this so that might change > how > things work. > > On Tue, Dec 7, 2010 at 21:41, [email protected] <[email protected]> wrote: > > > Hi all. > > > > short: on karaf 2.1 how do I resolve a missing slf4j dependencies? > > I have also read this without understanding much more... > > > > > http://karaf.apache.org/manual/2.1.99-SNAPSHOT/users-guide/logging-system.html > > > > long: > > OSGI world moves fast. information are flowing fast and often following > > some > > 6 month old guide means making 10 times the work needed now. > > In fact I am now using actually Karaf 2.1 and I succesfully installed web > > console, activemq with just a few commands. Nice. > > > > One of my bundle, created with maven-bundle-plugin, correctly requires > > activemq, geronomo jms and slf4j. > > slf4j is missing from my karaf runtime. > > > > I can see that even the slf4j on central maven repo has osgi manifest > > information but I do not know how to use it in my karaf, at least what is > > the best way: I think that I should add a obr url with obr:addUrl command > > but I can't find a repository.xml that contains slf4j. > > > > What's the suggested way? > > I'd like to add http://ebr.springsource.com/repository/app as obr url > but > > it > > does not work. Is that wrong? > > > > Thanks for helping me out of the mess :) > > > > -- > > Daniele Dellafiore > > http://danieledellafiore.net > > > > > > -- > John Bäckstrand > -- Daniele Dellafiore http://danieledellafiore.net

