History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: OSMORC-117
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Jan Thomä
Reporter: Thomas Singer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Osmorc

Verify on Mac OS X

Created: 04 Feb 09 22:57   Updated: 10 Sep 09 14:46
Component/s: None
Affects Version/s: None
Fix Version/s: 0.12.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
When I launch our RCP-based application on Mac OS X using Eclipse/PDE, it starts as expected. When trying to start with IDEA/Osmorc, no window occurs, just an icon shows up in the task bar. I've compared the debug logs and Eclipse seems to add more Equinox parameters.

 All   Comments   Work Log   Change History      Sort Order:
Robert F. Beeger - 05 Feb 09 01:31
Most likely the missing parameters are "-os macosx -ws carbon -arch x86" or something like that. As a workaround adding them in the run configuration in "Additional Equinox parameters" should do the trick. Those parameters are currently not added automatically because they seem not to be needed on Windows. Apparently they are needed on Mac OS X and probably on any other Unix system.

Also make sure that you use the same Equinox installation as the target platform in Eclipse and framework instance in Osmorc. Trying to run an Equinox with Windows specific libraries will obviously never work on Mac OS X.


Robert F. Beeger - 17 Feb 09 00:34
Jan found out that adding "-XstartOnFirstThread" as a JVM parameter, fixes the problem.
We'll add a warning or something like that to include this option on a Mac.

Jan Thomä - 19 Feb 09 20:25
Added a warning in the run configuration for equinox, when the current OS is MacOS and the said JVM-Argument is not set.