2010-07-13 10 views
8

P2 업데이트 사이트에서 Eclipse-RCP-3.5 기반 응용 프로그램을 업데이트하려고합니다. 응용 프로그램에는 두 가지 기능이 있습니다.RCP 기반 응용 프로그램의 P2 업데이트가 실패합니다.

제품은 Eclipse Buckminster으로 제작되었습니다. P2 업데이트 사이트의 생성은 제품 빌드의 일부입니다.

메뉴하여 업데이트를 시작 Update -> Check for Updates 메시지 상자가 표시됩니다 : There is nothing to update.

내가 메뉴하려고 할 때 : Update -> Install New Software... 및 오류가보고 된 동일한 업데이트-사이트 선택 : 당신이 필요로하는

 
Your original request has been modified. 
    "Verinice Anwendung" is already installed, so an update will be performed instead. 
    "verinice server Feature" is already installed, so an update will be performed instead. 
Cannot complete the install because of a conflicting dependency. 
    Software being installed: Verinice Anwendung 1.1.1.201007130142 (sernet.gs.ui.rcp.main.feature.feature.group 1.1.1.201007130142) 
    Software currently installed: verinice 1.1.1 (sernet.gs.ui.rcp.main.product 1.1.1) 
    Only one of the following can be installed at once: 
    Verinice Anwendung 1.1.1.201007130142 (sernet.gs.ui.rcp.main.feature.feature.jar 1.1.1.201007130142) 
    Verinice Anwendung 1.1.1.201007021358 (sernet.gs.ui.rcp.main.feature.feature.jar 1.1.1.201007021358) 
    Cannot satisfy dependency: 
    From: Verinice Anwendung 1.1.1.201007021358 (sernet.gs.ui.rcp.main.feature.feature.group 1.1.1.201007021358) 
    To: sernet.gs.ui.rcp.main.feature.feature.jar [1.1.1.201007021358] 
    Cannot satisfy dependency: 
    From: Verinice Anwendung 1.1.1.201007130142 (sernet.gs.ui.rcp.main.feature.feature.group 1.1.1.201007130142) 
    To: sernet.gs.ui.rcp.main.feature.feature.jar [1.1.1.201007130142] 
    Cannot satisfy dependency: 
    From: verinice 1.1.1 (sernet.gs.ui.rcp.main.product 1.1.1) 
    To: sernet.gs.ui.rcp.main.feature.feature.group [1.1.1.201007021358] 

답변

8

을 제품의 새 버전을 빌드하십시오.

p2는 "설치된 것"과 "설치된 것의 필수 항목"을 구별합니다. 귀하의 제품 sernet.gs.ui.rcp.main.product이 설치되어 있습니다. 다른 모든 것은 그것으로 요구됩니다. "업데이트 확인"에서 sernet.gs.ui.rcp.main.product의 새 버전을 찾고 있습니다.

기능을 설치하면 설치 한 항목 목록에 기능이 추가됩니다 (설치된 항목이 필요하지 않음). 그러나 해당 기능의 특정 버전에 대한 요구 사항이있는 원본 제품은 여전히 ​​보유하고 있습니다. 이 요구 사항은 새로운 버전의 기능과 충돌합니다.

이것은 Eclipse 포럼에서 fewtimes입니다. 당신은 이것에 흥미가있을 것입니다 blog post 나는 응답으로 썼습니다.

+0

내 p2 업데이트 사이트에 제품의 새로운 버전을 추가 할 수 있는지 궁금합니다. –

+2

p2에서 제품은 메타 데이터의 또 다른 설치 가능 단위 일 수 있어야합니다. 제품 파일에서 버전을 증가시키고 빌드를 다시 실행하십시오. –

+0

감사합니다. myapp.product에서 제품 버전을 증가시킨 후 P2 업데이트가 제대로 작동합니다. –