난 그냥 배포 할 번들, 초기 번들 레벨을 설정하는 방법을 알고 :펠릭스에서 번들 레벨을 변경 하시겠습니까?
bundlelevel -i 5
하지만 내가 어떻게 기존의 번들의 수준을 변경하려면 어떻게해야합니까? bundlelevel 도움말 :
bundlelevel - set bundle start level or initial bundle start level
scope: felix
flags:
-i, --setinitial set the initial bundle start level
-s, --setlevel set the bundle's start level
parameters:
int target level
Bundle[] target identifiers
bundlelevel - query bundle start level
scope: felix
parameters:
Bundle bundle to query
"번들 []"인수는 무엇인지 알지 못합니다. 나는 단지 bundle_id와 [bundle_id], 심지어 번들 이름을 시도했다.
예를 들어 설명해 드리겠습니다. 의 난 다음 내가 시도 2.
g! lb
START LEVEL 5
ID|State |Level|Name
0|Active | 0|System Bundle (3.0.7)
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)
5|Active | 1|Bookshelf Inventory API (1.5.0)
1에서 번들 5 (책장 API) 수준을 변경하려면 가정 해 봅시다 :
g! bundlelevel -s 2 [5]
gogo: IllegalArgumentException: Cannot coerce
bundlelevel(String, String, ArrayList) to any of
[(boolean, boolean, int, Bundle[]), (Bundle)]
g! bundlelevel -s 2 5
Must specify target bundles.
어떤 도움에 감사드립니다.
고맙습니다. GOGO 셸과 런타임의 이전 버전 (0.6 ???)을 사용하고있었습니다! – drozzy