Re: Fetching feature from a nexus repository

2011-11-16 Thread Łukasz Dywicki
Hey Michael, Slash was not source of problems. The source of all issues was space before it. Sorry for late response, but take a look for this example: org.ops4j.pax.url.mvn.repositories= \ - this is wrong org.ops4j.pax.url.mvn.repositories=\ - this is correct You can use slash without any

FW: FW: Pax Exam Karaf Testframework 4.0 on Windows

2011-11-16 Thread Coletta Giacomo, IT
Yes, the workaround is working, I was able to run my first example test. I will go on creating a few tests and let you know if I find new problems. Many thanks for the quick support. Ciao Giacomo From: Andreas Pieber [mailto:anpie...@gmail.com] Sent:

OSGI Fragment and Logging

2011-11-16 Thread Hervé BARRAULT
Hi, I am using using ServiceMix 4.3.0-fuse-01-00 so Karaf http://fusesource.com/wiki/display/ProdInfo/Fuse+Karaf+v2.0.0+Release+Notes 2.0.0-fuse-00-00 I have seen the following documentation : http://karaf.apache.org/manual/2.2.2/users-guide/logging-system.html Especially, the Using your own

Re: OSGI Fragment and Logging

2011-11-16 Thread Achim Nierbeck
Hi I wrote a blog about it [1] regards, Achim [1] - http://nierbeck.de/cgi-bin/weblog_basic/index.php?p=201 2011/11/16 Hervé BARRAULT herve.barra...@gmail.com Hi, I am using using ServiceMix 4.3.0-fuse-01-00 so Karaf

Re: OSGI Fragment and Logging

2011-11-16 Thread Hervé BARRAULT
Hi Achim My problem is the fragment is not able to be resolved as the package org.apache.log4j.helpers can't be imported. I thought Pax Logging export it but it does not. Adding again all the log4j API is not i think the best idea. Regards Hervé On 11/16/11, Achim Nierbeck

Re: OSGI Fragment and Logging

2011-11-16 Thread Guillaume Nodet
You don't need to import that package because your fragment will be associated to the pax-logging-service bundle which contain that class, so it will be directly available. On Wed, Nov 16, 2011 at 15:27, Hervé BARRAULT herve.barra...@gmail.comwrote: Hi Achim My problem is the fragment is not

Re: OSGI Fragment and Logging

2011-11-16 Thread Hervé BARRAULT
Hi Guillaume, I am using the maven-bundle-plugin (1.4.0), and i don't find a way to build a bundle without importing all needed packages. Regards Hervé On 11/16/11, Guillaume Nodet gno...@gmail.com wrote: You don't need to import that package because your fragment will be associated to the

Re: OSGI Fragment and Logging

2011-11-16 Thread Guillaume Nodet
Try adding Import-Package!*/Import-Package in your pom On Wed, Nov 16, 2011 at 15:41, Hervé BARRAULT herve.barra...@gmail.comwrote: Hi Guillaume, I am using the maven-bundle-plugin (1.4.0), and i don't find a way to build a bundle without importing all needed packages. Regards Hervé On

Re: OSGI Fragment and Logging

2011-11-16 Thread Hervé BARRAULT
Effectively, by forcing ignore packages, it starts working. Thanks for the advice. On 11/16/11, Guillaume Nodet gno...@gmail.com wrote: Try adding Import-Package!*/Import-Package in your pom On Wed, Nov 16, 2011 at 15:41, Hervé BARRAULT herve.barra...@gmail.comwrote: Hi Guillaume, I am

Pax Exam Karaf Testframework 4.0 and Declarative services

2011-11-16 Thread Coletta Giacomo, IT
Hi, is possible to test Declarative Services components with the test framework ? I mean, there is a @Inject private ComponentContext context; or something with the same function ? Many thanks Giacomo From: Coletta Giacomo, IT

Release PaxExam Karaf Testframework 0.4.1

2011-11-16 Thread Andreas Pieber
Hey Guys, I've finished the fourth feature release of the Pax Exam Karaf Testframework today and pushed it to maven central (should be there within the next hours). If you already have used a previous version the changelog is: The 0.4.1 release contains 6 bug fixes. The most important bug-fixes

Re: Release PaxExam Karaf Testframework 0.4.1

2011-11-16 Thread Andreas Pieber
Hey Mike, I'm sorry, but what do you mean by use a provisioning document :-) Kind regards, Andreas On Wed, Nov 16, 2011 at 21:34, mikevan mvangeert...@comcast.net wrote: Andreas, Did you update the documentation to show how you can use a provisioning document to load bundles into a

Re: Release PaxExam Karaf Testframework 0.4.1

2011-11-16 Thread mikevan
No worries. I'm talking about the features.xml documents we use in Karaf to deploy features. - Original Message - From: Andreas Pieber [via Karaf] ml-node+s922171n3513870...@n3.nabble.com To: mikevan mvangeert...@comcast.net Sent: Wednesday, November 16, 2011 3:39:39 PM Subject: Re:

Re: Release PaxExam Karaf Testframework 0.4.1

2011-11-16 Thread Andreas Pieber
ah ok... now I get you I think :-) well, not really; either you use the config file method translators to edit etc/org.apache.karaf.features.cfg (that one is documented). In addition 4.0 now also supports the pax exam FeaturesScannerProvision method to add additional feature files (see [1]). I

Re: Building KARs with karaf-maven-plugin 3.0.0-SNAPSHOT

2011-11-16 Thread mgardiner
Guys I need to push back a little here. The biggest issue I am facing to get our organization to adopt OSGi / Karaf is tooling. Since Karaf supports features.xml and features.xml supports wrapped urls I would expect that the karaf tools to generate the features.xml would also support generating