You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by "jb@nanthrax.net" <jb...@nanthrax.net> on 2012/06/23 13:12:16 UTC

Re: [jira] [Created] (KARAF-1585) Installing using wrap protocol fails when specifying bundle version

Hi Claus

I think your wrap URI is not correct. The wrap instructions delimiter is $ not -.

So your uri should look like wrap:....$Symbolic-Name=...

Regards
JB

--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://wwx.talend.com

----- Reply message -----
From: "Claus Ibsen (JIRA)" <ji...@apache.org>
To: <is...@karaf.apache.org>
Subject: [jira] [Created] (KARAF-1585) Installing using wrap protocol fails when specifying bundle version
Date: Sat, Jun 23, 2012 12:37 pm


Claus Ibsen created KARAF-1585:
----------------------------------

             Summary: Installing using wrap protocol fails when specifying bundle version
                 Key: KARAF-1585
                 URL: https://issues.apache.org/jira/browse/KARAF-1585
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 2.2.7
            Reporter: Claus Ibsen


I follow the docs at
http://karaf.apache.org/manual/2.2.7/developers-guide/creating-bundles.html

at the section _Creating bundles for third party dependencies_

I try to execute as documented
{code}
karaf@root> osgi:install wrap:mvn:commons-lang/commons-lang/2.4,Bundle-SymbolicName=commons-lang&Bundle-Version=2.4
java.net.MalformedURLException: no protocol: Bundle-SymbolicName=commons-lang&Bundle-Version=2.4
{code}

But it fails. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira