You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2010/11/01 14:39:26 UTC

[jira] Resolved: (KARAF-156) command dev:dynamic-import does not work

     [ https://issues.apache.org/jira/browse/KARAF-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved KARAF-156.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0
         Assignee: Guillaume Nodet

Committing to https://svn.apache.org/repos/asf/karaf/trunk ...
	M	shell/dev/src/main/java/org/apache/karaf/shell/dev/AbstractBundleCommand.java
	M	shell/dev/src/main/java/org/apache/karaf/shell/dev/DynamicImport.java
Committed r1029647

The problem was appearing when the bundle did not import any package at all when running the command.  In that case, an empty instuction was rejected by the wrap url handler.   I just used '--none--' in such a case which has no effect on the behavior but work around the failure.

> command dev:dynamic-import does not work
> ----------------------------------------
>
>                 Key: KARAF-156
>                 URL: https://issues.apache.org/jira/browse/KARAF-156
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Charles Moulliard
>            Assignee: Guillaume Nodet
>             Fix For: 2.2.0
>
>
> The following command does not longer work :
> karaf@root> dev:dynamic-import 86
> Enabling dynamic imports on bundle [86]
> Error executing command: Invalid syntax for instruction [Original-Wires=]. Take a look at http://www.aqute.biz/Code/Bnd.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.