[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: [swt][cocoa] Cannot run an Eclipse application with the SWT Cocoa port

OK, it worked! Awesome, thanks!

Antoine

Duong Nguyen wrote:
I'm pretty sure this has more to do with running the Cocoa port in an
Eclipse instance.

Can you run an Eclipse instance with the cocoa port, or just your
samples ?

I'm running with a recent cocoa build and I can run another Eclipse instance (self host). What version of Eclipse are you using? Is your host Eclipse environment carbon? If yes, you'll need to change the target platform environment variable to cocoa.

STEPS:
- open the Preferences page - select Preferences from the Window menu
- select Plug-in Development->Target Platform
- select Environment tab
- if the Window System isn't cocoa, change it to cocoa
- press Apply and close the preferences dialog

As an alternative, you can download the latest cocoa build of Eclipse
and run it.