[
https://issues.apache.org/jira/browse/FELIX-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Filippo Diotalevi updated FELIX-1058:
-------------------------------------
Attachment: FELIX-1058.txt
The attached patch define a "find" command. This command takes exactly one
argument ( "find mybundle" ) and displays a list of bundles whose Bundle-Names
or Bundle-Symbolic-Names contain the specified argument. The comparison is case
INsensitive.
Implementation details
----
1) Refactored PsCommandImpl to re-use its logic in the new command class
---- changed from "private BundleContext m_context" to "protected BundleContext
m_context"
---- extracted method to display a list of bundles
2) Added a new FindCommandImpl class
3) registerd the new command class in the Activator
> [PATCH] Add a "find" command to the shell
> -----------------------------------------
>
> Key: FELIX-1058
> URL: https://issues.apache.org/jira/browse/FELIX-1058
> Project: Felix
> Issue Type: Improvement
> Components: Shell
> Reporter: Filippo Diotalevi
> Priority: Minor
> Attachments: FELIX-1058.txt
>
>
> It's not possible to find a bundle easily in the shell. That's very annoying
> when you are working with 100+ bundles and want to find quickly the id of a
> specific bundle.
> Other shells, like the Knopflerfish one, offer a "find" command.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.