karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie goodyear (Issue Comment Edited) (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (KARAF-891) Problem with $ charact in wrap:mvn URL
Date Tue, 13 Mar 2012 15:54:41 GMT

    [ https://issues.apache.org/jira/browse/KARAF-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228462#comment-13228462
] 

Jamie goodyear edited comment on KARAF-891 at 3/13/12 3:53 PM:
---------------------------------------------------------------

Note:

If you double escape the $ then it appears to work.

karaf@root> osgi:install -s wrap:mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE
\ \ $Bundle-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1
osgi:install -s wrap:mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE\$Bundle-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1
Bundle ID: 52
karaf@root> 
                
      was (Author: jgoodyear):
    Note:

If you double escape the $ then it appears to work.

karaf@root> osgi:install -s wrap:mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE\\$Bundle-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1
osgi:install -s wrap:mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE\$Bundle-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1
Bundle ID: 52
karaf@root> 
                  
> Problem with $ charact in wrap:mvn URL
> --------------------------------------
>
>                 Key: KARAF-891
>                 URL: https://issues.apache.org/jira/browse/KARAF-891
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-documentation, karaf-shell
>    Affects Versions: 2.2.1
>         Environment: OS-X Lion JDK 1.6
>            Reporter: Brian Topping
>             Fix For: 2.2.6, 3.0.0
>
>
> When trying to install a maven jar with the wrap protocol, the syntax documented at both
http://team.ops4j.org/wiki//display/paxurl/Wrap+Protocol and http://karaf.apache.org/manual/2.2.2/developers-guide/creating-bundles.html
do not have the desired effect when attempting to add instructions such as Bundle-Version
in the URL.  
> Example:  "osgi:install -s wrap:mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE$Bundle-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1"

--
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

        

Mime
View raw message