Re: pax maven plugin problem

2009-06-14 Thread Stuart McCulloch
2009/6/11 Nima Kaviani > Thanks all for the help. > > Stuart, I think "mvn clean install pax:provision -U" did the trick and it > gets to the point where it tries to start and run the bundle on Felix. It is > weird that a combination of "mvn install" followed by "mvn pax:provision" > didn't do th

Re: pax maven plugin problem

2009-06-10 Thread Nima Kaviani
Thanks all for the help. Stuart, I think "mvn clean install pax:provision -U" did the trick and it gets to the point where it tries to start and run the bundle on Felix. It is weird that a combination of "mvn install" followed by "mvn pax:provision" didn't do the job ... Now I have a dummy proble

Re: pax maven plugin problem

2009-06-10 Thread Stuart McCulloch
2009/6/10 Alin Dreghiciu > I was just able to start the bundle using Pax Runner. If you have pax > runner installed you can do that just by doing: pax-run > osgibroker.subscriber.tcp-0.0.1.jarSo, the problem should be from > the pom generated by pax construct to be provisioned by pax runner. Can

Re: pax maven plugin problem

2009-06-10 Thread Alin Dreghiciu
I was just able to start the bundle using Pax Runner. If you have pax runner installed you can do that just by doing: pax-run osgibroker.subscriber.tcp-0.0.1.jarSo, the problem should be from the pom generated by pax construct to be provisioned by pax runner. Can you send me also teh pom generated

Re: pax maven plugin problem

2009-06-10 Thread Alin Dreghiciu
The manifest looks just fine. If you like you can send me the jar that contains this manifest to test it out. Send it to my e-mail address. On Wed, Jun 10, 2009 at 12:03 PM, Nima Kaviani wrote: > Thanks a lot Peter for the reply. I tried the generated bundles on Felix > 1.8 and it works fine. It

Re: pax maven plugin problem

2009-06-10 Thread Nima Kaviani
Thanks a lot Peter for the reply. I tried the generated bundles on Felix 1.8 and it works fine. It also works with Knopflerfish 2.3. But not when I call "mvn pax:provision". I tried switching the sub modules in the parent pom, but it didn't work either. Not sure what the problem is?! Here is the c

Re: pax maven plugin problem

2009-06-10 Thread Peter Neubauer
Hi Nima, do you have the code for the bundles somewhere? Seems there might be a problem with the bundle metadta, the Manifest.mf etc? You could try to just start Felix or any other OSGi environment and try loading the bundle manually and see if the same error occurs. HTH /peter GTalk: neub

pax maven plugin problem

2009-06-09 Thread Nima Kaviani
Hi all, I have a problem when trying to use pax maven plugin. My parent POM has a set of modules as follows api impl servlet-subscriber tcp-subscriber I have used apache's bundle plugin to create bundles for all the above sub projects. I can install and start all the bu