Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Unable to run exported rcp app on Mac OS X (x86)
Unable to run exported rcp app on Mac OS X (x86) [message #450258] Wed, 31 May 2006 21:53 Go to next message
Franck Gasnier is currently offline Franck GasnierFriend
Messages: 3
Registered: July 2009
Junior Member
Hello,
On mac (macbook pro, x86), I am not able to run even the helloworld rcp
application once I export it.

I tryed with several eclipse version starting from 3.2M6 to 3.2RC6.
And I have the exact same behavior, ie when I double-click on the app, I
have a popup that says : "You can not open the application "eclipse"
because it may be damaged or incomplete"

I am new on Mac, but not on eclipse (so I know that my rcp app should work
and it works on windows).

I found a workarround by changing the permission of the binary that is in
the ./macosx.carbon.ppc/rl/Eclipse.app/Contents/MacOS folder, and by
creating a symbolic link to this binary in the root folder of the rcp app
(where there is the startup.jar). With this, I can run the rcp app from a
terminal when I am in the root folder and that I execute the symbolic link.
So it just proove that the rcp app is complete and works fine.
So I think that something is missing or is not created during the export
but I don't know what.

Thanks for the help
Franck
Re: Unable to run exported rcp app on Mac OS X (x86) [message #450261 is a reply to message #450258] Wed, 31 May 2006 23:33 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
The mac app needs to have a bunch of shite in the same directory in order to run properly, such as startup.jar, plugins/ and features/ -- without those, it will fail to run in exactly the same way you describe. Is it possible that once exported, you have just moved the app to another folder (e.g. ~/Applications) before running it? I don't see why the export of an RCP Hello World app shouldn't also copy over these folders, but it might do.

Alex.
Re: Unable to run exported rcp app on Mac OS X (x86) [message #450263 is a reply to message #450261] Thu, 01 June 2006 06:14 Go to previous messageGo to next message
Franck Gasnier is currently offline Franck GasnierFriend
Messages: 3
Registered: July 2009
Junior Member
I am trying to run the rcp app where I exported it, ie w/o copying it
inside ~/Applications. So I have all that is exported.
But folder's hierarchy is strange compared to what I used to have under
windows.

Here is exactly what I have :
/.DS_Store
/.eclipseproduct
/configuration
/configuration/.DS_Store
/configuration/config.ini
/configuration/org.eclipse.core.runtime
/configuration/org.eclipse.core.runtime/.contributions.1
/configuration/org.eclipse.core.runtime/.contributors.1
/configuration/org.eclipse.core.runtime/.extraData.1
/configuration/org.eclipse.core.runtime/.mainData.1
/configuration/org.eclipse.core.runtime/.manager
/configuration/org.eclipse.core.runtime/.manager/.fileTable. 7
/configuration/org.eclipse.core.runtime/.manager/.fileTable. 8
/configuration/org.eclipse.core.runtime/.manager/.fileTableL ock
/configuration/org.eclipse.core.runtime/.namespaces.1
/configuration/org.eclipse.core.runtime/.orphans.1
/configuration/org.eclipse.core.runtime/.table.1
/configuration/org.eclipse.osgi
/configuration/org.eclipse.osgi/.bundledata.1
/configuration/org.eclipse.osgi/.lazy.1
/configuration/org.eclipse.osgi/.manager
/configuration/org.eclipse.osgi/.manager/.fileTable.4
/configuration/org.eclipse.osgi/.manager/.fileTable.5
/configuration/org.eclipse.osgi/.manager/.fileTableLock
/configuration/org.eclipse.osgi/.state.1
/configuration/org.eclipse.osgi/bundles
/configuration/org.eclipse.osgi/bundles/16
/configuration/org.eclipse.osgi/bundles/16/1
/configuration/org.eclipse.osgi/bundles/16/1/.cp
/configuration/org.eclipse.osgi/bundles/16/1/.cp/libswt-carb on-3232.jnilib
/configuration/org.eclipse.osgi/bundles/16/1/.cp/libswt-pi-c arbon-3232.jnilib
/eclipse.app
/eclipse.app/Contents
/eclipse.app/Contents/MacOS
/eclipse.app/Contents/Resources
/macosx.carbon.ppc
/macosx.carbon.ppc/hello
/macosx.carbon.ppc/hello/Eclipse.app
/macosx.carbon.ppc/hello/Eclipse.app/Contents
/macosx.carbon.ppc/hello/Eclipse.app/Contents/Info.plist
/macosx.carbon.ppc/hello/Eclipse.app/Contents/MacOS
/macosx.carbon.ppc/hello/Eclipse.app/Contents/MacOS/eclipse
/plugins
/plugins/com.ibm.icu_3.4.4.1.jar
/plugins/org.eclipse.core.commands_3.2.0.I20060511-0800a.jar
/plugins/org.eclipse.core.contenttype_3.2.0.v20060511.jar
/plugins/org.eclipse.core.expressions_3.2.0.v20060518-0800.j ar
/plugins/org.eclipse.core.jobs_3.2.0.v20060511.jar
/plugins/org.eclipse.core.runtime.compatibility.auth_3.2.0.v 20060511.jar
/plugins/org.eclipse.core.runtime.compatibility.registry_3.2 .0.v20060426
/plugins/org.eclipse.core.runtime.compatibility.registry_3.2 .0.v20060426/about.html
/plugins/org.eclipse.core.runtime.compatibility.registry_3.2 .0.v20060426/fragment.properties
/plugins/org.eclipse.core.runtime.compatibility.registry_3.2 .0.v20060426/META-INF
/plugins/org.eclipse.core.runtime.compatibility.registry_3.2 .0.v20060426/META-INF/eclipse.inf
/plugins/org.eclipse.core.runtime.compatibility.registry_3.2 .0.v20060426/META-INF/MANIFEST.MF
/plugins/org.eclipse.core.runtime.compatibility.registry_3.2 .0.v20060426/runtime_registry_compatibility.jar
/plugins/org.eclipse.core.runtime_3.2.0.v20060511.jar
/plugins/org.eclipse.equinox.common_3.2.0.v20060512.jar
/plugins/org.eclipse.equinox.preferences_3.2.0.v20060511.jar
/plugins/org.eclipse.equinox.registry_3.2.0.v20060511.jar
/plugins/org.eclipse.help_3.2.0.v20060518.jar
/plugins/org.eclipse.jface_3.2.0.I20060526-0010a.jar
/plugins/org.eclipse.osgi_3.2.0.v20060510.jar
/plugins/org.eclipse.swt.carbon.macosx_3.2.0.v3232g.jar
/plugins/org.eclipse.swt_3.2.0.v3232k.jar
/plugins/org.eclipse.ui.carbon_3.2.0.I20060519-0010.jar
/plugins/org.eclipse.ui.workbench_3.2.0.I20060526-0010.jar
/plugins/org.eclipse.ui_3.2.0.I20060526-0010.jar
/plugins/TestPlugin_1.0.0.jar
/startup.jar


I am surprised to have 2 Eclipse.app and to have this additional macosx
folder that have no equivalent under windows and that does not exist in
the eclipse distribution for mac.

Franck
Re: Unable to run exported rcp app on Mac OS X (x86) [message #450268 is a reply to message #450263] Thu, 01 June 2006 10:39 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
I'm not sure why you'd have the macosx.carbon.ppc folder there. I would expect that it wouldn't be able to run from there. Something is wrong with the export -- might be worth raising a bug on this (looks like the exporter is assuming the platform is .ppc. even though it's probably a universal binary, and then failing to move the right folders over).

Raise a bug in https://bugs.eclipse.org with this information.

What you'll need to do is move the files in /macosx.carbon.ppc/ to the appropriate folders above, so that you end up with:

/configuration
/...
/Eclipse.app/Contents/Info.plist
/Eclipse.app/Contents/MacOS/eclipse
/plugins
/...

Alex.
Re: Unable to run exported rcp app on Mac OS X (x86) [message #450320 is a reply to message #450268] Thu, 01 June 2006 20:05 Go to previous messageGo to next message
Franck Gasnier is currently offline Franck GasnierFriend
Messages: 3
Registered: July 2009
Junior Member
Alex,
I tryed to move the content of the macosx folder as you suggested but it
does not change anything.

So I just submit the following new bug 144964 :
https://bugs.eclipse.org/bugs/show_bug.cgi?id=144964

Thanks
Franck
Re: Unable to run exported rcp app on Mac OS X (x86) [message #450708 is a reply to message #450258] Thu, 08 June 2006 13:50 Go to previous messageGo to next message
scb  is currently offline scb Friend
Messages: 43
Registered: July 2009
Member
I have the same issue

I was able to export fine in 3.2m5 on my MacBook Pro but can't on rc7
Re: Unable to run exported rcp app on Mac OS X (x86) [message #1774140 is a reply to message #450708] Tue, 10 October 2017 23:59 Go to previous message
Sophie Z. is currently offline Sophie Z.Friend
Messages: 1
Registered: October 2017
Junior Member
If you are using a Mac, you can just redownload the app using the Eclipse Installer.app you used to install the Eclipse that doesn't open anymore. It doesn't take up any extra space since you are using the same installer application. Just delete the Eclipse app that does not open anymore.
Previous Topic:Add MenuEntry in the Properties View Rightclick Menu
Next Topic:Missing project explorer icons after update of platform (git projects)
Goto Forum:
  


Current Time: Tue Nov 13 20:51:40 GMT 2018

Powered by FUDForum. Page generated in 0.07354 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top