On 4 July 2016 at 16:02, Ed Merks <[email protected]> wrote: > In any case, it would definitely be best if the launched IDE didn't inherit > the installer's choice. I'm not sure the current mechanism/issue that makes > it inherit the choice.
The inheriting happens because --launcher.GTK_version tells launcher (aka eclipse-inst) to set SWT_GTK3 [1] environment variable appropriately. That environment value is read by SWT java code [2] to determine which GTK to use. But because it is an environment variable, children processes inherit that value, so when oomph launches installed eclipse, the child Eclipse inherits the SWT_GTK3 variable value. [1] https://git.eclipse.org/c/equinox/rt.equinox.framework.git/tree/features/org.eclipse.equinox.executable.feature/library/eclipse.c#n511 [2] https://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/bundles/org.eclipse.swt/Eclipse%20SWT%20PI/gtk/org/eclipse/swt/internal/gtk/OS.java#n23 HTH Jonah _______________________________________________ cross-project-issues-dev mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
