Community
Participate
Working Groups
With the new launcher work, several new arguments have been added to the launcher. Every argument consumed by the launcher is one argument that can't be used by an eclipse application. We should change the naming of the new arguments to distinguish them from other application arguments. As well, if the launcher must pass information to Java for its own purposes, it should do it by setting system properties. Currently the new arguments are: -library -suppressErrors -ini (not yet, but probably coming for bug 149994) -library is also read by Main, it should be passed into java with -Dorg.eclipse.equinox.launcher.library. One suggestion is to use -- arguments (--library).
Simply changing the arguments to start with -- doesn't really solve the problem, as applications could be easily using those arguments. I suggest using, for example, --launcher-library (or --launcher.library) The convention for linux seems to be that -- arguments are "long" arguments, generally the normal short arguments have corresponding long ones. The alternative is to have these arguments specified as vm-args that set properties and the launcher would then scan the vmargs for any that apply to it. I am leaning towards using the longer arguments mostly because it is a simple change in the code.
These changes have been made. The launcher is now using --launcher.library --launcher.suppressErrors --launcher.ini