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 now, and I am currently stuck at org.osgi.framework.BundleException: The bundle "slf4j.api_1.5.11 [80]" could not be resolved. Reason: Missing Constraint: Import-Package: org.slf4j.impl; version="1.5.5" and I'm not sure where to get that at. An example config.ini that successfully starts wrap might be helpful. Thanks, Dan On 2012/5/10 10:12 AM, "Achim Nierbeck" <[email protected]> wrote: >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 > >Regards, Achim > >2012/5/9 Dan Lipofsky <[email protected]>: >> 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 >> Import-Package field >> of maven-bundle-plugin in my pom.xml but that didn't work. >> I also tried the osgi.bundles field of the config.ini with >> the equinox OSGi console but no luck there. >> >> Thanks, >> Dan >> >> >> >> _______________________________________________ >> general mailing list >> [email protected] >> http://lists.ops4j.org/mailman/listinfo/general > > > >-- > >Apache Karaf <http://karaf.apache.org/> Committer & PMC >OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> >Committer & Project Lead >OPS4J Pax for Vaadin ><http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project >Lead >blog <http://notizblog.nierbeck.de/> > >_______________________________________________ >general mailing list >[email protected] >http://lists.ops4j.org/mailman/listinfo/general _______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
