我目前的尝试不起作用:在 my_plugin/META-INF/p2.inf 中,我有:
instructions.install = unzip(source:${artifact}/browser.zip,target:${artifact});
安装过程中没有出现错误,但 browser.zip 存档未解压缩。
我究竟做错了什么?
干杯。
编辑:更多信息:工作区日志文件中实际上存在错误:
!ENTRY org.eclipse.equinox.p2.touchpoint.natives 4 0 2011-04-22 23:58:20.967
!MESSAGE org.eclipse.equinox.internal.p2.touchpoint.natives.actions.UnzipAction the files to be unzipped is not here
!ENTRY org.eclipse.equinox.p2.touchpoint.natives 4 0 2011-04-22 23:58:20.968
!MESSAGE org.eclipse.equinox.internal.p2.touchpoint.natives.actions.UnzipAction error unzipping zipfile: /Users/admin/sandbox/eclipse-dev/Eclipse.app/Contents/MacOS/osgi.bundle,com.myplugin.test,1.0.0.201104211649/browser.zipdestination: osgi.bundle,com.myplugin.test,1.0.0.201104211649
如何在 unzip 命令中正确引用我的插件的路径?