[
https://issues.apache.org/jira/browse/FELIX-1914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gert Vanthienen closed FELIX-1914.
----------------------------------
Resolution: Fixed
An initial set of 3 commands has been added to the dev: shell:
- dev:show-tree <id> to show bundle wiring as dependency tree
- dev:framework -(no)debug to enable/disable OSGi framework debug logging
- dev:dynamic-import to enable/disable dynamic import on the fly
Closing this issue - we can always create new issues if we think of new
commands to add to the shell.
> Add a development subshell to ease troubleshooting classloading/resolution
> issues
> ---------------------------------------------------------------------------------
>
> Key: FELIX-1914
> URL: https://issues.apache.org/jira/browse/FELIX-1914
> Project: Felix
> Issue Type: Improvement
> Components: Karaf
> Affects Versions: karaf-1.2.0
> Reporter: Gert Vanthienen
> Assignee: Gert Vanthienen
> Fix For: karaf-1.4.0
>
>
> At development time, people sometimes bump into classloading or bundle
> resolution issues. Proposing to add a subshell with a few development tools
> that can be used to troubleshoot these issues:
> - To solve the "unable to resolve due to constraint violation", we could
> build a tool that discovers multiple bundles exporting the same package that
> are needed to resolve the given bundle to give people a clue which
> uses-constraints might be involved
> - To solve a CNFE, we could build a tool that takes a snapshot of imports,
> enabled dynamic imports and refreshes the bundle and then checks the imported
> packages again to see which imports were added by the dynamic import
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.