Community
Participate
Working Groups
Main currently consumes a -launcher argument that points to the location of the executable used to launch eclipse. This used to be used to show the splash screen and set exit data, but now it not used for anything. The value from this argument should be published in a property for others to see if they are interested.
See bug 204341 attachment 79090 [details] This patch also uses the -launcher argument to set the osgi.install.area property. I think this is a better approach than the current assumption which is to set it to one directory up from the org.eclipse.equinox.launcher jar but only if the launcher is contained in the "plugins" directory.
bug 204341 sets osgi.install.area, but this would not be sufficient for those that want the name of the launcher exe itself. We should define a second property, perhaps osgi.launcher? or org.eclipse.equinox.launcher.exe?
I agree. I was pointing out another reason we would want to process the -launcher argument is to set the osgi.install.area but I agree we probably need another property set to indicate the launcher path. For better or worse we have not used fully qualified org.eclipse.* properties. Typically we use eclipse.* properties for eclipse specific properties. I suggest "eclipse.launcher".
Done in head, property is eclipse.launcher