Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Contents/MacOS does not exists in 4.5.2

Tags:

java

eclipse

I am trying to upgrade my project from eclipse 3.8.2 to eclipse 4.5.2. While building my project with pde build, I am getting this following error. \Contents\MacOS does not exist.

This part was working fine with earlier version.

I have updated java SDK, delta pack to 4.5.2

Details:

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.

Any help will be appriciated

Thanks in advance

like image 519
Deepali karlekar Avatar asked May 31 '16 06:05

Deepali karlekar


1 Answers

Eclipse 4.5 is packaged as a Mac OS X application. Although the name is displayed as eclipse the actual directory name is eclipse.app. So you need to change your path to end with eclipse.app/Contents/MacOS

like image 65
greg-449 Avatar answered Oct 11 '22 12:10

greg-449