Re: Pax URL Wrap Protocol Question

2012-05-11 Thread Achim Nierbeck
Hi Dan, just to get some background knowledge, what is your intention for using the pax-url-wrap protocol. Do you plan to create a OSGi-Container? If so you might consider using Apache Karaf as Container cause there everything does work out of the box, just in case you missed a depending bundle or

Re: Pax URL Wrap Protocol Question

2012-05-10 Thread Dan Lipofsky
I tried it with an absolute path and got the same error. I also tried the mvn format and got the same error. It doesn't seem to be getting past the "wrap:" part. Thanks, Dan On 2012/5/10 1:31 PM, "Achim Nierbeck" wrote: >Hi Dan, > >when using in conjunction with file you need a absolute path.

Re: Pax URL Wrap Protocol Question

2012-05-10 Thread Achim Nierbeck
Hi Dan, when using in conjunction with file you need a absolute path. Regards, Achim 2012/5/10 Dan Lipofsky : > So I added pax-logging and finally got wrap started. > However it still doesn't work.  I still get the following: > > osgi> install wrap:file:opencsv-2.3.jar > org.osgi.framework.Bundl

Re: Pax URL Wrap Protocol Question

2012-05-10 Thread Dan Lipofsky
So I added pax-logging and finally got wrap started. However it still doesn't work. I still get the following: osgi> install wrap:file:opencsv-2.3.jar org.osgi.framework.BundleException: "wrap:file:opencsv-2.3.jar" is an invalid URL ... Caused by: java.net.MalformedURLException: unknown protoco

Re: Pax URL Wrap Protocol Question

2012-05-10 Thread Toni Menzel
Andy, i somehow feel that we should get rid of making this log stuff a mandatory dependency .. sounds stupid you need to install another,totally vertical thing in order to use the service .. wdyt? Please note: this message sent from a Mobile device. On May 10, 2012 8:43 PM, "Andreas Pieber" wrote

Re: Pax URL Wrap Protocol Question

2012-05-10 Thread Andreas Pieber
Hey Dan, Have you installed the pax-logging services? Kind regards, Andreas On Thu, May 10, 2012 at 8:34 PM, Dan Lipofsky wrote: > just doing that gives me > > java.net.MalformedURLException: unknown protocol: wrap > > I assume I need org.ops4j.pax.url.wrap_1.4.0 > installed and started.  I've

Re: Pax URL Wrap Protocol Question

2012-05-10 Thread Dan Lipofsky
just doing that gives me java.net.MalformedURLException: unknown protocol: wrap I assume I need org.ops4j.pax.url.wrap_1.4.0 installed and started. I've got it installed but I am unable to start it because of dependencies. I've been chasing down the rabbit hold of dependencies for a few hours n

Re: Pax URL Wrap Protocol Question

2012-05-10 Thread Achim Nierbeck
Well if you already use the maven-bundle-plugin you don't really need this anymore. The wrap protocol is supposed to do a runtime conversion of a non OSGi jar into a OSGi bundle. To use it you would do something like the following some-osgi-shell>install wrap:mvn:group.id/artifact.id/version Reg

Pax URL Wrap Protocol Question

2012-05-09 Thread Dan Lipofsky
Hi, I'm sorry to send this to such a general list, I didn't see a more specific one for this. I am trying to use the Pax URL Wrap Protocol but I am not succeeding. The wiki page describe some syntax but I can't figure out the usage. In particular where do I put the URL? I tried putting in the Imp