diff options
-rw-r--r-- | ant/org.eclipse.ant.launching/src/org/eclipse/ant/internal/launching/launchConfigurations/AntLaunchDelegate.java | 8 |
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 3662460da..375e1ff96 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(); |