java - 内容/MacOS 不存在于 4.5.2

标签 java eclipse

我正在尝试将我的项目从 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/

相关文章:

java - 有没有办法在 Eclipse 中搜索包中的文本?

android - 如何在 Eclipse 中格式化 Android xml?

java - 在 null 上找不到值类型为 java.lang.String 的属性 'android:text' 的 getter

java - 将字符串拆分为数组的 n 个长度元素

java - 在 webservice 中获取 java.lang.reflect.InitationTargetException

java - Datanucleus 增强器在使用 GAE 插件的 Eclipse 上失败并出现类未找到异常

java - 在 eclipse 中构建项目?

eclipse - 是否可以在 ubuntu 中使用 ADT 创建已安装的 Eclipse 的 Eclipse.Desktop 文件?

java - JTable 行的默认颜色

java - 扫描输入字符串(例如 "eeeeexxxxx")并一次跳过和处理一个字符