문제

나는 여기에있는 사람과 비슷한 목표를 가지고 있습니다 : OSGi를 사용하여 자동 업데이트 구현

본질적으로 내 응용 프로그램에서 자동으로 번들을 업데이트 할 수 있기를 원합니다.위의 게시물은 번들 .Update ()를 호출 할 수 있지만 이전 버전 이후 일부가 추가 된 경우 새 종속성을 다운로드 할 수 있습니다.그렇다면 어디에서 찾을 수 있습니까?

또한이 솔루션을 프로비저닝 관리 도구로 차별화하는 것은 KARAF 및 OBR의 기능의 차이점은 무엇입니까

이중 Bundle.Update () 메서드와 OBR 대와 같은 것을 사용하겠습니까?

도움이 되었습니까?

해결책

No, bundle.update() only updates the individual bundle that you updated, it never does anything to any other bundles. Therefore it's certainly possible that, after the update, the bundle will no longer resolve due to missing dependencies. So this is exactly why you should use something higher-level like OBR or Karaf etc versus bundle.update().

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