|RCP app on Mac, "Cannot open files in the XYZ format" when app is already running. [message #1000270]
||Mon, 14 January 2013 07:02
| Klara Ward
Registered: July 2009
I have an RCP application to which I would like to associate *.jfr files.|
I'm having problems on Mac, where my app only opens the files when the app is newly launched,
if the app is already running, instead of opening my file, I get this error message:
The document "X.jfr" could not be opened. <App name> cannot open files in the "XYZ" format.
What I've done is add the file extension to Info.plist
And followed this example in the Eclipse help to handle SWT.OpenDocument events
I guess there is some important difference between a new launched app, and a already running one, but what is it, and how can I make it work in both cases?
Is there a workaround to launch a new instance of the app each time?
Powered by FUDForum
. Page generated in 0.01905 seconds