vmArgs.add("-Dde.innovationgate.wga.devplugins=\"" + _developerPluginsRoot.getLocation().toFile().getAbsolutePath() + "\"");
int segmentCount = _wgaBase.getLocation().matchingFirstSegments(_luceneRoot.getLocation());
vmArgs.add("-D" + WGAConfiguration.SYSPROP_LUCENE_ROOT + "=\"" + _luceneRoot.getLocation().removeFirstSegments(segmentCount) + "\"");
vmArgs.add("-Dde.innovationgate.wga.tmlscript.debug=\"" + Boolean.toString(store.getBoolean(PreferenceConstants.TMLSCRIPT_DEBUG)) + "\"");
WGADeployment deployment = WGADesignerPlugin.getDefault().getWGADeploymentManager().getDeployment(getWGADistributionName());
if (deployment != null) {
vmArgs.add("-Dde.innovationgate.wga.defaultplugins=\"" + deployment.getDefaultPluginsDir().getAbsolutePath() + "\"");
}
vmArgs.add("-Dde.innovationgate.wga.skipLocalAdminLogins=true");
vmArgs.add("-Dde.innovationgate.wga.outputWarningsOnConsole=true");
// enable jmx - necessary for development mode check
vmArgs.add("-Dcom.sun.management.jmxremote");
vmArgs.add("-Dde.innovationgate.license.DevelopmentModeEnabled=true");
if (deployment != null) {
vmArgs.add("-Dde.innovationgate.license.WGAContextPath=\"" + deployment.getContextPath() + "\"");
}
if (_config.getJvmOptions() != null) {
Iterator<String> options = WGUtils.deserializeCollection(_config.getJvmOptions(), "\n").iterator();
while (options.hasNext()) {