我正在尝试将我的项目从 eclipse 3.8.2 升级到 eclipse 4.5.2。使用 pde build 构建我的项目时,出现以下错误。\Contents\MacOS 不存在。
这部分在早期版本中运行良好。
我已经更新了 java SDK,delta pack 到 4.5.2
详细信息:
C:\p4root\common\build_templates\eclipse_pde\build.xml:144: The following error occurred while executing this line:
[exec] C:\eclipse4.5.2\plugins\org.eclipse.pde.build_3.9.100.v20150521-1524\scripts\productBuild\productBuild.xml:45: The following error occurred while executing this line:
[exec] C:\eclipse4.5.2\plugins\org.eclipse.pde.build_3.9.100.v20150521-1524\scripts\build.xml:129: The following error occurred while executing this line:
[exec] C:\p4root\myproject\dev\build\myproject\configuration\customTargets.xml:29: The following error occurred while executing this line:
[exec] C:\eclipse4.5.2\plugins\org.eclipse.pde.build_3.9.100.v20150521-1524\scripts\productBuild\allElements.xml:20: The following error occurred while executing this line:
[exec] C:\eclipse4.5.2\plugins\org.eclipse.pde.build_3.9.100.v20150521-1524\scripts\genericTargets.xml:195: The following error occurred while executing this line:
[exec] C:\p4root\myproject\dev\build\myproject\base\package.org.eclipse.pde.build.container.feature.all.xml:27: The following error occurred while executing this line:
[exec] C:\p4root\myproject\dev\build\myproject\base\package.org.eclipse.pde.build.container.feature.all.xml:15: The following error occurred while executing this line:
[exec] C:\eclipse4.5.2\plugins\org.eclipse.pde.build_3.9.100.v20150521-1524\scripts\productBuild\allElements.xml:35: The following error occurred while executing this line:
[exec] C:\p4root\talon\dev\build\myproject\base\package.org.eclipse.pde.build.container.feature.macosx.cocoa.x86_64.xml:92: The following error occurred while executing this line:
[exec] C:\p4root\myproject\dev\build\myproject\base\package.org.eclipse.pde.build.container.feature.macosx.cocoa.x86_64.xml:1555: C:\p4root\myproject\dev\build\myproject\base\tmp\eclipse\Contents\MacOS does not exist.
我们将不胜感激
提前致谢
最佳答案
Eclipse 4.5 被打包为 Mac OS X 应用程序。尽管名称显示为 eclipse
,但实际目录名称为 eclipse.app
。因此,您需要将路径更改为以 eclipse.app/Contents/MacOS
关于java - 内容/MacOS 不存在于 4.5.2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37538846/