You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Brian Topping (JIRA)" <ji...@apache.org> on 2011/09/25 05:40:26 UTC
[jira] [Created] (KARAF-891) Problem either with documentation or
shell regarding wrapped wrap:mvn artifacts
Problem either with documentation or shell regarding wrapped wrap:mvn artifacts
-------------------------------------------------------------------------------
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
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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (KARAF-891) Problem with $ charact in wrap:mvn
URL
Posted by "Jamie goodyear (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228462#comment-13228462 ]
Jamie goodyear commented on KARAF-891:
--------------------------------------
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
[jira] [Commented] (KARAF-891) Problem with $ charact in wrap:mvn
URL
Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227513#comment-13227513 ]
Jean-Baptiste Onofré commented on KARAF-891:
--------------------------------------------
I will take a look to escape the $ character in URL in Jline.
> 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
[jira] [Updated] (KARAF-891) Problem with $ charact in wrap:mvn URL
Posted by "Jean-Baptiste Onofré (Updated JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré updated KARAF-891:
---------------------------------------
Summary: Problem with $ charact in wrap:mvn URL (was: Problem either with documentation or shell regarding wrapped wrap:mvn artifacts)
> 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
[jira] [Issue Comment Edited] (KARAF-891) Problem with $ charact in
wrap:mvn URL
Posted by "Jamie goodyear (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ 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:55 PM:
---------------------------------------------------------------
Note:
If you double escape the $ then it appears to work (two \ before the $).
{code}
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>
karaf@root> list
START LEVEL 100 , List Threshold: 50
ID State Blueprint Level Name
[ 52] [Active ] [ ] [ 60] spring-ldap-core (1.3.1)
karaf@root>
{code}
was (Author: jgoodyear):
Note:
If you double escape the $ then it appears to work (two \ before the $).
{code}
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>
{code}
> 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
[jira] [Commented] (KARAF-891) Problem with $ charact in wrap:mvn
URL
Posted by "Jamie goodyear (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228457#comment-13228457 ]
Jamie goodyear commented on KARAF-891:
--------------------------------------
Retested the above example with 2.2.6-snapshot, received the same error messages.
{code}
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
java.lang.RuntimeException: URL [mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1] could not be resolved.
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
java.lang.RuntimeException: URL [mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1] could not be resolved.
karaf@root>
{code}
> 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
[jira] [Issue Comment Edited] (KARAF-891) Problem with $ charact in
wrap:mvn URL
Posted by "Jamie goodyear (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228466#comment-13228466 ]
Jamie goodyear edited comment on KARAF-891 at 3/13/12 3:57 PM:
---------------------------------------------------------------
Use double escape when typing $ character.
was (Author: jgoodyear):
Use double escape (\\\ \\\) when typing $ character.
> 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
[jira] [Closed] (KARAF-891) Problem with $ charact in wrap:mvn URL
Posted by "Jamie goodyear (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jamie goodyear closed KARAF-891.
--------------------------------
Assignee: Jamie goodyear
> 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
> Assignee: Jamie goodyear
> 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
[jira] [Resolved] (KARAF-891) Problem with $ charact in wrap:mvn
URL
Posted by "Jamie goodyear (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jamie goodyear resolved KARAF-891.
----------------------------------
Resolution: Fixed
Use double escape (\\) when typing $ character.
> 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
[jira] [Issue Comment Edited] (KARAF-891) Problem with $ charact in
wrap:mvn URL
Posted by "Jamie goodyear (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228466#comment-13228466 ]
Jamie goodyear edited comment on KARAF-891 at 3/13/12 3:57 PM:
---------------------------------------------------------------
Use double escape (\\\ \\\) when typing $ character.
was (Author: jgoodyear):
Use double escape (\\) when typing $ character.
> 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
[jira] [Commented] (KARAF-891) Problem either with documentation or
shell regarding wrapped wrap:mvn artifacts
Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227511#comment-13227511 ]
Jean-Baptiste Onofré commented on KARAF-891:
--------------------------------------------
The issue is still present on karaf-2.2.x branch and trunk.
The $ character is not "escaped" by jline:
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
java.lang.RuntimeException: URL [mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1] could not be resolved.
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
java.lang.RuntimeException: URL [mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1] could not be resolved.
> Problem either with documentation or shell regarding wrapped wrap:mvn artifacts
> -------------------------------------------------------------------------------
>
> 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
[jira] [Commented] (KARAF-891) Problem with $ charact in wrap:mvn
URL
Posted by "Jamie goodyear (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228480#comment-13228480 ]
Jamie goodyear commented on KARAF-891:
--------------------------------------
On Karaf 3.0.x series use double escape characters before the $ character as well:
{code}
karaf@root> bundle: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 IDs:
Error executing command: Error installing bundles:
Unable to install bundle wrap:mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1
karaf@root> bundle: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: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: 72
karaf@root>
{code}
> 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
> Assignee: Jamie goodyear
> 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
[jira] [Updated] (KARAF-891) Problem either with documentation or
shell regarding wrapped wrap:mvn artifacts
Posted by "Jamie goodyear (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jamie goodyear updated KARAF-891:
---------------------------------
Fix Version/s: (was: 2.2.4)
2.2.5
Bumping out to 2.2.5.
> Problem either with documentation or shell regarding wrapped wrap:mvn artifacts
> -------------------------------------------------------------------------------
>
> 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.5, 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
[jira] [Commented] (KARAF-891) Problem either with documentation or
shell regarding wrapped wrap:mvn artifacts
Posted by "Jamie goodyear (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13224350#comment-13224350 ]
Jamie goodyear commented on KARAF-891:
--------------------------------------
this issue needs to be retested since karaf-875 resolution.
> Problem either with documentation or shell regarding wrapped wrap:mvn artifacts
> -------------------------------------------------------------------------------
>
> 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
[jira] [Updated] (KARAF-891) Problem either with documentation or
shell regarding wrapped wrap:mvn artifacts
Posted by "Jean-Baptiste Onofré (Updated JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré updated KARAF-891:
---------------------------------------
Fix Version/s: 3.0.0
2.2.4
> Problem either with documentation or shell regarding wrapped wrap:mvn artifacts
> -------------------------------------------------------------------------------
>
> 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.4, 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
[jira] [Updated] (KARAF-891) Problem either with documentation or
shell regarding wrapped wrap:mvn artifacts
Posted by "Jean-Baptiste Onofré (Updated JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré updated KARAF-891:
---------------------------------------
Fix Version/s: (was: 2.2.5)
2.2.6
> Problem either with documentation or shell regarding wrapped wrap:mvn artifacts
> -------------------------------------------------------------------------------
>
> 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
[jira] [Commented] (KARAF-891) Problem either with documentation or
shell regarding wrapped wrap:mvn artifacts
Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116113#comment-13116113 ]
Jean-Baptiste Onofré commented on KARAF-891:
--------------------------------------------
Hi Brian,
I saw a similar issue with another "special character" (!) used in an URL (cf KARAF-875).
I will check if we don't have some kind of "intercept" with JLine events.
Regards
JB
> Problem either with documentation or shell regarding wrapped wrap:mvn artifacts
> -------------------------------------------------------------------------------
>
> 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
>
> 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
[jira] [Issue Comment Edited] (KARAF-891) Problem with $ charact in
wrap:mvn URL
Posted by "Jamie goodyear (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Issue Comment Edited] (KARAF-891) Problem with $ charact in
wrap:mvn URL
Posted by "Jamie goodyear (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ 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:54 PM:
---------------------------------------------------------------
Note:
If you double escape the $ then it appears to work (two \ before the $).
{code}
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>
{code}
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