如何将plugin.xml
文件转换为manifest.mf
文件,如一些标签:
<runtime>
<library name="aaa.jar">
<export name="*"/>
</library>
<runtime>
似乎被忽略了。
这是下一个文档中的一些对应关系,但远非完整参考。
http://www.eclipse.org/eclipse/platform-core/runtime/adoption.html
如何将plugin.xml
文件转换为manifest.mf
文件,如一些标签:
<runtime>
<library name="aaa.jar">
<export name="*"/>
</library>
<runtime>
似乎被忽略了。
这是下一个文档中的一些对应关系,但远非完整参考。
http://www.eclipse.org/eclipse/platform-core/runtime/adoption.html
在 plugin.xml 编辑器中打开该文件。在Overview 选项卡>Plug-in Content部分应该有一个链接,“ ..., create an OSGi manifest ”
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