aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Keller2012-11-15 12:43:01 (EST)
committerMike Rennie2012-11-15 12:43:01 (EST)
commit2cc81f95f1e3ccdd3408f115e6b86fc22fb2d090 (patch)
tree43a27f2d7e39c97f85748538254a19422ee7db76
parent407a468055e83c1398df1a9c1e16de5271f28310 (diff)
downloadeclipse.platform-2cc81f95f1e3ccdd3408f115e6b86fc22fb2d090.zip
eclipse.platform-2cc81f95f1e3ccdd3408f115e6b86fc22fb2d090.tar.gz
eclipse.platform-2cc81f95f1e3ccdd3408f115e6b86fc22fb2d090.tar.bz2
Bug 393802 - Properly quote arguments of Ant launch configurationv20121115-174301I20121120-0800
-rw-r--r--ant/org.eclipse.ant.launching/src/org/eclipse/ant/internal/launching/launchConfigurations/AntLaunchDelegate.java8
1 files changed, 3 insertions, 5 deletions
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 3662460..375e1ff 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
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2011 IBM Corporation and others.
+ * Copyright (c) 2000, 2012 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -424,10 +424,8 @@ public class AntLaunchDelegate extends LaunchConfigurationDelegate {
}
if (arguments != null) {
- for (int i = 0; i < arguments.length; i++) {
- commandLine.append(' ');
- commandLine.append(arguments[i]);
- }
+ commandLine.append(' ');
+ commandLine.append(DebugPlugin.renderArguments(arguments, null));
}
AntCorePreferences prefs = AntCorePlugin.getPlugin().getPreferences();