문제

How can I find unsatisfied constraints of a bundle which didn't start from Apache Karaf console? I.e. what is its equivalent of Equinox's diag command?

도움이 되었습니까?

해결책

Which version of Karaf are you using? The following should be relevant to Karaf 2.x

Annoyingly the package:imports/package:exports commands only work on a bundle in the STARTED state.

If the bundle is only INSTALLED you can use: headers ${BUNDLE NUMBER} will highlight any missing imports in red.

Also trying to start a bundle should print to the console any unresolved constraints as an LDAP filter expression.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top