Community
Participate
Working Groups
Currently, there is no code we can return from IPlatformRunnable.run() to indicate something went wrong. When we start up the workbench, it is possible something can go wrong even before we have a Display up and running. By returning this code, the launcher could notify the user something went wrong and to look at their log file. (actually, you guys already have this support in the Main class - exit code 13).
I don't think it's worth adding this to IPlatformRunnable at the moment. If we go ahead with the Equinox runtime, then I believe the existing boot plugin will be disappearing. Pascal, this is something to keep in mind for the new story though.
Obsolete?
The error code is application specific. However for completion we may want to add a default error code that will trigger the opening of the dialog indicating where to find the log.
I believe that eclipse.exe will bring up a dialog if it sees any error code other than -23 or -24 (the restart codes). There is a way of stuffing a message back for the exe to display in a dialog if it sees such a code. Can't for the life of me remember/find it right now. Pascal?
Simon is waiting since july 2003, I'm sure he can wait until 3.3 ;-) Moving to equinox for consideration when moving to the eclipse app model. To get the exe to display a message you simply need to put the message in eclipse.exitdata.
I think we should add a default error code to IApplication and document in the javadoc that any code other than 23 and 24 are considered error codes. I also think we should add a constant and javadoc for the eclipse.exitdata property to IApplication.
Not going to add this as new API to 3.3
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.