You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2014/01/24 09:33:39 UTC

[jira] [Updated] (KARAF-2731) Commands using the old Action interface with the felix package name do not work

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

Christian Schneider updated KARAF-2731:
---------------------------------------

    Description: 
When running my examplejpa which uses the old interface org.apache.felix.gogo.commands.Action I get the error that my object can not be cast to org.apache.karaf.shell.commands.Action in BlueprintCommandSupport.

To make this compatible we need to use the deprecated Action interface in the shell code. As the new Action interface extends the old one then both variants will work.

> Commands using the old Action interface with the felix package name do not work
> -------------------------------------------------------------------------------
>
>                 Key: KARAF-2731
>                 URL: https://issues.apache.org/jira/browse/KARAF-2731
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 3.0.0
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 3.0.1
>
>
> When running my examplejpa which uses the old interface org.apache.felix.gogo.commands.Action I get the error that my object can not be cast to org.apache.karaf.shell.commands.Action in BlueprintCommandSupport.
> To make this compatible we need to use the deprecated Action interface in the shell code. As the new Action interface extends the old one then both variants will work.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)