1

次のようないくつかのタグとしてplugin.xmlファイルをファイルに変換する方法:manifest.mf

<runtime>
    <library name="aaa.jar">
        <export name="*"/>
    </library>
<runtime>

無視されているようです。

これは次のドキュメントでの対応ですが、完全なリファレンスにはほど遠いです。

http://www.eclipse.org/eclipse/platform-core/runtime/adoption.html

4

1 に答える 1

2

plugin.xmlエディターでファイルを開きます。「概要」タブ>「プラグインコンテンツ」セクションに、「 ...、OSGiマニフェストを作成する」というリンクがあるはずです。

OSGiマニフェストは、バンドル、依存関係であるバンドルまたはパッケージ、およびこのバンドルがエクスポートするパッケージを説明するヘッダーのセットです。元:

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Eclipse UI Tests
Bundle-SymbolicName: org.eclipse.ui.tests; singleton:=true
Bundle-Version: 3.6.0.qualifier
Bundle-ClassPath: uitests.jar
Bundle-Activator: org.eclipse.core.internal.compatibility.PluginActivator
Bundle-Vendor: Eclipse.org
Require-Bundle: org.eclipse.core.runtime.compatibility,
 org.eclipse.core.resources,
 org.eclipse.core.expressions,
 org.eclipse.ui,
 ...
Eclipse-AutoStart: true
Export-Package: org.eclipse.ui.tests.api,
 org.eclipse.ui.tests.helpers,
 org.eclipse.ui.tests.menus
Bundle-RequiredExecutionEnvironment: J2SE-1.4
于 2011-07-25T01:09:21.150 に答える