Bug 395323 - Ant test failures in N20121127-2000 (and prior) - v2
diff --git a/ant/org.eclipse.ant.launching/src/org/eclipse/ant/internal/launching/launchConfigurations/AntLaunchDelegate.java b/ant/org.eclipse.ant.launching/src/org/eclipse/ant/internal/launching/launchConfigurations/AntLaunchDelegate.java
index 4ad4532..079389d 100644
--- a/ant/org.eclipse.ant.launching/src/org/eclipse/ant/internal/launching/launchConfigurations/AntLaunchDelegate.java
+++ b/ant/org.eclipse.ant.launching/src/org/eclipse/ant/internal/launching/launchConfigurations/AntLaunchDelegate.java
@@ -47,7 +47,6 @@
 import org.eclipse.core.runtime.Platform;
 import org.eclipse.core.runtime.Status;
 import org.eclipse.core.runtime.SubProgressMonitor;
-import org.eclipse.core.variables.VariablesPlugin;
 import org.eclipse.debug.core.DebugEvent;
 import org.eclipse.debug.core.DebugPlugin;
 import org.eclipse.debug.core.IBreakpointManager;
@@ -113,14 +112,6 @@
 
 	private boolean fUserSpecifiedLogger = false;
 
-	private String getProgramArguments(ILaunchConfiguration configuration)
-			throws CoreException {
-		String arguments = configuration.getAttribute(
-				IExternalToolConstants.ATTR_TOOL_ARGUMENTS, ""); //$NON-NLS-1$
-		return VariablesPlugin.getDefault().getStringVariableManager()
-				.performStringSubstitution(arguments);
-	}
-
 	/**
 	 * @see org.eclipse.debug.core.model.ILaunchConfigurationDelegate#launch(org.eclipse.debug.core.ILaunchConfiguration,
 	 *      java.lang.String, org.eclipse.debug.core.ILaunch,
@@ -194,12 +185,7 @@
 		idProperty.append(idStamp);
 
 		// resolve arguments
-		String[] arguments = null;
-		if (isSeparateJRE) {
-			arguments = DebugPlugin.parseArguments(getProgramArguments(configuration));
-		} else {
-			arguments = ExternalToolsCoreUtil.getArguments(configuration);
-		}
+		String[] arguments = ExternalToolsCoreUtil.getArguments(configuration);
 
 		Map userProperties = AntLaunchingUtil.getProperties(configuration);
 		if (userProperties != null) {// create a copy so as to not affect the