Eclipse Tycho를 사용하여 GMF 종속성이있는 RCP 응용 프로그램을 빌드하고 있습니다.Eclipse Tycho가 올바른 종속성을 해결할 수 없음
[ERROR] Internal error: java.lang.RuntimeException: Could not download artifacts from any repository
[ERROR] osgi.bundle,org.eclipse.gmf.runtime.emf.core,1.4.1.v20120514-1615
[ERROR] osgi.bundle,org.eclipse.gmf.runtime.emf.commands.core,1.4.0.v20120514-1615
[ERROR] osgi.bundle,org.eclipse.gmf.runtime.emf.ui.properties,1.5.0.v20120514-1615
[ERROR] osgi.bundle,org.eclipse.gmf.runtime.diagram.ui,1.6.0.v20120514-1615
[ERROR] osgi.bundle,org.eclipse.gmf.runtime.diagram.ui.properties,1.4.2.v20120514-1615
[ERROR] osgi.bundle,org.eclipse.gmf.runtime.diagram.ui.providers,1.5.0.v20120514-1615
[ERROR] osgi.bundle,org.eclipse.gmf.runtime.diagram.ui.providers.ide,1.2.0.v20120514-1615
[ERROR] osgi.bundle,org.eclipse.gmf.runtime.diagram.ui.render,1.6.0.v20120514-1615
[ERROR] osgi.bundle,org.eclipse.gmf.runtime.diagram.ui.resources.editor,1.4.1.v20120514-1615
[ERROR] osgi.bundle,org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide,1.2.1.v20120514-1615
나는 MANIFEST.MF에 다음과 같은 의존성도 명시하고있다 - -
- 나는대로 GMF 번들의 저장소 위치를 제공 한org.eclipse.gmf.runtime.emf.core;bundle-version="1.4.1",
org.eclipse.gmf.runtime.emf.commands.core;bundle-version="1.4.0",
org.eclipse.gmf.runtime.emf.ui.properties;bundle-version="1.5.0",
org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.6.0",
org.eclipse.gmf.runtime.diagram.ui.properties;bundle-version="1.4.2",
org.eclipse.gmf.runtime.diagram.ui.providers;bundle-version="1.5.0",
org.eclipse.gmf.runtime.diagram.ui.providers.ide;bundle-version="1.2.0",
org.eclipse.gmf.runtime.diagram.ui.render;bundle-version="1.6.0",
org.eclipse.gmf.runtime.lite.svg;bundle-version="1.0.0",
org.eclipse.gmf.runtime.diagram.ui.resources.editor;bundle-version="1.4.1",
org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide;bundle-version="1.2.1",
을
나는 다음과 같은 오류를 얻고있다
<repository>
<id>gmf-runtime</id>
<url>http://download.eclipse.org/modeling/gmp/gmf-runtime/updates/releases</url>
<layout>p2</layout>
</repository>
P2 저장소에는 위의 JAR 파일이 모두 있습니다. 유일한 차이점은 Tycho가 .v20120514-1615 한정자를 찾고 있다는 것입니다. 그러나 P2 저장소에는 .201302191707 한정자가 있습니다. Tycho가 특정 한정자를 찾고 최신 버전으로 해결하지 않는 이유를 모르겠습니다.
.v20120514-1615 버전도 대상 플랫폼에있는 것으로 보입니다. 구성한 다른 p2 저장소는 gmf 설치 가능 유닛 (content.jar/content.xml 참조)을 포함하지만 해당 아티팩트는 포함하지 않는 것으로 보입니다. – oberlies
@oberlies : 설치 가능한 유닛이있는 P2 저장소를 추적 할 수있는 방법이 있는지 궁금하십니까? maven/tycho 디버그 플래그가 아마도? – Pushkar
'-Dtycho.debug.resolver = true'는 [대상 플랫폼] (http://wiki.eclipse.org/Tycho/Target_Platform#Effective_content_of_target_platform)의 모든 IU를 출력하지만 AFAIK는 어떤 p2 저장소가 내용은에서 유래한다. 이 경우에도 [개선 요청] (https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Tycho)을여십시오. – oberlies