Bug 407982 - Eclipse App debug launcher creates a new config.ini &
doesn't copy from the host eclipse
Change-Id: I15f922cafd2a1591516cd5f6fa91cda5f2983c1e
diff --git a/ui/org.eclipse.pde.launching/src/org/eclipse/pde/internal/launching/launcher/LaunchConfigurationHelper.java b/ui/org.eclipse.pde.launching/src/org/eclipse/pde/internal/launching/launcher/LaunchConfigurationHelper.java
index 4f18f62..9a755b0 100644
--- a/ui/org.eclipse.pde.launching/src/org/eclipse/pde/internal/launching/launcher/LaunchConfigurationHelper.java
+++ b/ui/org.eclipse.pde.launching/src/org/eclipse/pde/internal/launching/launcher/LaunchConfigurationHelper.java
@@ -107,7 +107,7 @@
Properties properties = null;
// if we are to generate a config.ini, start with the values in the target platform's config.ini - bug 141918
if (configuration.getAttribute(IPDELauncherConstants.CONFIG_GENERATE_DEFAULT, true)) {
- String appID = configuration.getAttribute(IPDELauncherConstants.APPLICATION, TargetPlatform.getDefaultApplication());
+ String appID = configuration.getAttribute(IPDELauncherConstants.APPLICATION, (String) null);
properties = TargetPlatformHelper.getConfigIniProperties();
// if target's config.ini does not exist, lets try to fill in default values
if (properties == null)