My eclipse plug-in must be unpacked.
我的eclipse插件必须打开包装。
How can I enforce the installer to unpack it?
如何强制安装程序解压缩?
Will it be unpacked if the jar file is simply dropped into the plugins
folder?
如果将jar文件简单地放入plugins文件夹中,它是否会解压缩?
2 个解决方案
#1
This can be chosen when configuring the feature including the plugin. Go to the plugin list, select your plugin and check "Unpack the plug-in archive after installation".
在配置包括插件的功能时可以选择此选项。转到插件列表,选择您的插件并选中“安装后解压缩插件存档”。
Arguably, this property should be defined by the plugin itself. There's a bug report about that https://bugs.eclipse.org/bugs/show_bug.cgi?id=157562
可以说,这个属性应该由插件本身定义。有关于https://bugs.eclipse.org/bugs/show_bug.cgi?id=157562的错误报告
regards, Vlad
#2
You can set the Eclipse-BundleShape value in your MANIFEST.MF file to either jar (the default) or dir. If set to dir, it is deploy unpacked.
您可以将MANIFEST.MF文件中的Eclipse-BundleShape值设置为jar(默认值)或dir。如果设置为dir,则部署解压缩。
Eclipse-BundleShape: dir
http://eclipsesource.com/blogs/2009/01/20/tip-eclipse-bundleshape
#1
This can be chosen when configuring the feature including the plugin. Go to the plugin list, select your plugin and check "Unpack the plug-in archive after installation".
在配置包括插件的功能时可以选择此选项。转到插件列表,选择您的插件并选中“安装后解压缩插件存档”。
Arguably, this property should be defined by the plugin itself. There's a bug report about that https://bugs.eclipse.org/bugs/show_bug.cgi?id=157562
可以说,这个属性应该由插件本身定义。有关于https://bugs.eclipse.org/bugs/show_bug.cgi?id=157562的错误报告
regards, Vlad
#2
You can set the Eclipse-BundleShape value in your MANIFEST.MF file to either jar (the default) or dir. If set to dir, it is deploy unpacked.
您可以将MANIFEST.MF文件中的Eclipse-BundleShape值设置为jar(默认值)或dir。如果设置为dir,则部署解压缩。
Eclipse-BundleShape: dir
http://eclipsesource.com/blogs/2009/01/20/tip-eclipse-bundleshape