| cannot run application on mac os x [message #517852]
||Tue, 02 March 2010 10:52
| Luca Ferrari
Registered: November 2009
I've finished an rcp application, and now I was exporting it to different platforms. While the application runs smoothly on windows and linux (bith 32 and 64 versions) I've got problems on mac os x. First of all, when exporting, the results includes two folders with the same launcher name (for me it is hrpm) one in lower case and one with the first letter capital case:
$ ls hrpm/macosx.cocoa.x86/eclipse/
artifacts.xml configuration Eclipse.app hrpm.app Hrpm.app p2 plugins
As you can see the hrpm.app and Hrpm.app are present, and this prevents me to install (copy) on a mac os x since the operating system gives me the error of duplicated file. So I removed the capitalized folder and leaved only the lower case one, and then I run the application but I got an error about the application not present in the registry:
!SESSION 2010-03-02 11:38:34.937 -----------------------------------------------
java.vendor=Apple Computer, Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=it_IT
Framework arguments: -psn_0_4980737
Command-line arguments: -os macosx -ws carbon -arch x86 -psn_0_4980737
!ENTRY org.eclipse.osgi 4 0 2010-03-02 11:38:36.589
!MESSAGE Application error
java.lang.RuntimeException: Application "HRPM_RCP_git.application" could not be found in the registry. The applications available are: org.eclipse.equinox.app.error.
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
!ENTRY org.eclipse.osgi 2 0 2010-03-02 11:38:36.605
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-02 11:38:36.605
!MESSAGE Bundle HRPM_RCP_git_188.8.131.52003021131  was not resolved.
!SUBENTRY 2 HRPM_RCP_git 2 0 2010-03-02 11:38:36.606
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Is it only a problem of the java version? How can I relax this constraint before exporting my product?
|Re: cannot run application on mac os x [message #517875 is a reply to message #517866]
||Tue, 02 March 2010 12:21
Registered: July 2009
Am 02.03.2010 12:48, schrieb Luca Ferrari:|
> On Mac OS X Tiger, setting the java preferences to java 1.6 makes the
> application running, so the only doubt that remains is about the double
> application name.
Building application for mac does not work from Linux or Windows.
I also encountered this naming issue when building from Linux.
If build from windows executable Permissions are not correctly set.
Am 15.02.2010 14:17, schrieb Christian:
> > Am 13.02.2010 12:46, schrieb Christian:
>> >> Hello,
>> >> I do have some problems building software for MacOsX (software is
>> >> Jucy or jucy what ever I don't care)
>> >> There seems to be some probelms with the case in building.
>> >> Following problem
>> >> if Launching -> Launcher Name (In .product file) first letter is Upper
>> >> case.(Jucy)
>> >> I get for MacOsX one directory Jucy.app
>> >> containing in Contents/MacOs/
>> >> 2 ini files (and one other)
>> >> one is
>> >> jucy.ini
>> >> and one is
>> >> Jucy.ini
>> >> Both with different contents!
>> >> if I now set the name of the Launcher to lower case (jucy)
>> >> i gett two .app directories
>> >> Jucy.app
>> >> and
>> >> jucy.app
>> >> where the lower case jucy.app
>> >> contains a lower case jucy.ini file (with the same contents the
>> >> file had before)
>> >> and the upper case Jucy.app contains only one file
>> >> Contents/MacOS/jucy.ini (with the content jucy.ini had before)
>> >> Now what am I doing wrong?
>> >> What should I do?
>> >> Christian
> > Can anyone reproduce this problem? ... if so I would report it as a bug
> > Christian
It works for me as expected if export is done using MacOsX(Leopard)
computer or Windows 7 though on Linux (Ubuntu 9.10) this fails..
(all tried with 3.6M3)
Powered by FUDForum
. Page generated in 0.01777 seconds