You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2010/12/12 17:23:00 UTC
[jira] Closed: (FELIX-2724) loadclass command not available until
some other command is added
[ https://issues.apache.org/jira/browse/FELIX-2724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall closed FELIX-2724.
----------------------------------
Resolution: Not A Problem
Closing this bug, since I don't think we want Bundle as a standard command in Gogo. Besides, what bundle would loadClass use?
There is a command, called "which" that allows you to see from where a bundle will load a class. Perhaps that will be of interest to you.
> loadclass command not available until some other command is added
> -----------------------------------------------------------------
>
> Key: FELIX-2724
> URL: https://issues.apache.org/jira/browse/FELIX-2724
> Project: Felix
> Issue Type: Bug
> Components: Gogo Shell
> Affects Versions: gogo-0.6.1
> Reporter: Sahoo
>
> ss141213@Sahoo:~/software/felix-framework-3.0.6$ java -jar bin/felix.jar
> ____________________________
> Welcome to Apache Felix Gogo
> g! loadclass
> gogo: CommandNotFoundException: Command not found: loadclass
> g! addcommand b (bundle 0)
> g! loadclass
> gogo: IllegalArgumentException: Cannot coerce loadclass() to any of [(String)]
> As you can see from the above output, first time I tried loadclass command, it was not available, but second time it was. I have only default felix bundles installed.
> g! lb
> START LEVEL 1
> ID|State |Level|Name
> 0|Active | 0|System Bundle (3.0.6)
> 1|Active | 1|Apache Felix Bundle Repository (1.6.2)
> 2|Active | 1|Apache Felix Gogo Command (0.6.1)
> 3|Active | 1|Apache Felix Gogo Runtime (0.6.1)
> 4|Active | 1|Apache Felix Gogo Shell (0.6.1)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.