2012-03-27 2 views
0

Indigo (Eclipse v3.7)에서 일부 Eclipse 플러그인 및 업데이트 사이트를 만들었습니다.일부 환경에서 Eclipse에서 사용 가능한 플러그인을 확인하는 방법은 무엇입니까?

새로운 Eclipse 인스턴스로 내 플러그인을 디버깅 할 수는 있지만 업데이트 사이트를 통해 플러그인을 설치할 수 없습니다.

내가 인디고 (dev에 환경과 동일한 환경) 내 플러그인을 설치 테스트하려고

, 설치 마법사는 말한다 :

Cannot complete the install because some dependencies are not satisfiable 
com.mytest.helloworld.feature.group [1.0.0.201203071543] cannot be installed in this environment because its filter is not applicable. 

(나는 일식의 동일한 버전으로 내 플러그인을 설치하려고 - 인디고. 그리고 내 플러그인은 수동 설치 후에 잘 작동합니다.)

해결할 수있는 체크 포인트가 있습니까?

eclipse check available plugin? (어떤 정보를 기반으로합니까?)

여기 내 features.xml입니다.

<?xml version="1.0" encoding="UTF-8"?> 
<feature 
    id="com.mytest.helloworld" 
    label="mytest Feature" 
    version="1.0.0.qualifier" 
    provider-name="mytest.com" 
    plugin="com.mytest.helloworld" 
    os="aix,hpux,linux,macosx,qnx,solaris,win32" 
    ws="carbon,cocoa,gtk,motif,photon,win32,wpf" 
    nl="en,ko" 
    arch="ia64,ia64_32,PA_RISC,ppc,sparc,x86,x86_64"> 
    <description url="http://www.example.com/description"> 
     [Enter Feature Description here.] 
    </description> 

    <copyright url="http://www.example.com/copyright"> 
     [Enter Copyright Description here.] 
    </copyright> 

    <license url="http://www.example.com/license"> 
     [Enter License Description here.] 
    </license> 

    <url> 
     <update label="mytest update" url="http://localhost:8088/plugin"/> 
    </url> 

    <requires> 
     <import plugin="org.eclipse.ui"/> 
     <import plugin="org.eclipse.core.runtime"/> 
     <import plugin="org.eclipse.core.expressions" version="3.4.101"  match="greaterOrEqual"/> 
     <import plugin="com.android.ide.eclipse.adt" version="0.9.5" match="greaterOrEqual"/> 
     <import plugin="org.jdom" version="1.1.1" match="greaterOrEqual"/> 
     <import plugin="org.apache.commons.httpclient" version="3.1.0" match="greaterOrEqual"/> 
     <import plugin="org.eclipse.jdt.core" version="3.5.2" match="greaterOrEqual"/> 
     <import plugin="org.eclipse.core.resources" version="3.5.2"  match="greaterOrEqual"/> 
    </requires> 

    <plugin 
     id="com.mytest.helloworld" 
     os="aix,hpux,linux,macosx,qnx,solaris,win32" 
     ws="carbon,cocoa,gtk,motif,photon,win32,wpf" 
     nl="en,ko" 
     arch="ia64,ia64_32,PA_RISC,ppc,sparc,x86,x86_64" 
     download-size="1000" 
     install-size="1000" 
     version="0.0.0" 
     unpack="false"/> 

    <plugin 
     id="com.mytest.helloworld.nl1" 
     os="aix,hpux,linux,macosx,qnx,solaris,win32" 
     ws="carbon,cocoa,gtk,motif,photon,win32,wpf" 
     nl="en,ko" 
     arch="ia64,ia64_32,PA_RISC,ppc,sparc,x86,x86_64" 
     download-size="1" 
     install-size="1" 
     version="0.0.0" 
     fragment="true" 
     unpack="false"/> 
</feature> 

답변

0
  1. 당신은 개발 환경에서 새 이클립스 인스턴스의 플러그인을 실행할 수 있었습니까? 즉, 실행 버튼을 누르고 플러그인이 활성화 된 상태에서 새로운 Eclipse 애플리케이션을 시작한다.

  2. 필터에 문제가 있거나 버전 요구 사항을 정의하지 않았거나 작동하지 않는 OS를 정의한 것처럼 보입니다. feature.xml을 게시하면 도움이 될 수 있습니다. 의견에 따라

편집 :

봅니다, 즉 속성 "OS"는 XML에서 OS 특정 부분을 제거 "WS", "아치"아마도 "NL"합니다.

당신은 얻을 것

<feature 
    id="com.mytest.helloworld" 
    label="mytest Feature" 
    version="1.0.0.qualifier" 
    provider-name="mytest.com" 
    plugin="com.mytest.helloworld"> 

에만 플러그인은 일부 운영 체제/아키텍처에서 작동 OS 특정 코드를 포함, 즉, 당신이 어떤 방법으로 검색을 제한하는 경우 그 속성을 입력해야 .

+0

감사합니다. 프레드릭. 나는 당신이 원래 게시물에 말한 것을 추가합니다. features.xml에 "requires"부분이 없으면 플러그인을 설치하려고했지만 도움이되지 않았습니다. : ( – kizmo

+0

@kizmo 편집자 답글을 바탕으로 답변 – Fredrik

관련 문제