문제

웹 세미나를보고 Buckybook PDF를 훑어보고 Eclipse RCP 빌드 자습서를 따라 CVS에서 Eclipse 작업 공간으로 간단한 RCP 플러그인 프로젝트를 실현하는 방법을 모르겠습니다.

간단한 하나의 프로젝트 작업 공간을 위해 cquery와 rmap 파일이있는 예가 있습니까?

도움이 되었습니까?

해결책

실제로 쉽습니다.

다음은 샘플 CSPEC입니다.

<?xml version="1.0" encoding="UTF-8"?>
<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap="example-site.rmap">
    <cq:rootRequest name="example-site" componentType="eclipse.feature"/>
</cq:componentQuery>

루트 요청 이름 속성은 구성 요소를 가리 킵니다. 기본 번들 (예 : 앱의 시작점 인 앱)이있는 RCP 앱이있는 경우 위의 이름 속성을 사용 하여이 구성 요소를 가리 킵니다. 이 CSPEC는 검색 경로, 제공 업체 등을 사용하여 아래의 RMAP를 사용하여 모든 종속 구성 요소를 다운로드합니다.

RMAP :

<searchPath name="default">
    <provider 
    readerType="cvs" 
    componentTypes="osgi.bundle,eclipse.feature" 
    source="true" 
    mutable="true">
        <uri format=":pserver:anon@cvs.local:/opt/data/cvsroot,{0}/">
            <bc:propertyRef key="buckminster.component" />
        </uri>
    </provider>
</searchPath>

<searchPath name="galileo">
    <provider readerType="eclipse.import" componentTypes="osgi.bundle,eclipse.feature"
        mutable="false" source="false">
        <uri format="http://download.eclipse.org/releases/galileo?importType=binary"/>
    </provider>
</searchPath>   

<locator searchPathRef="default" pattern="^example\-.*" />
<locator searchPathRef="galileo" failOnError="false" />

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