Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rennie2010-08-25 10:21:25 -0400
committerMichael Rennie2010-08-25 10:21:25 -0400
commit7a6ac95767456ad550f77b4e4be03d3c49a786bb (patch)
tree754c29a53f379a9e9a1b4366f5f057288f0cfcb4 /org.eclipse.core.externaltools
parent05e47f6810639590592c089e6e4a272fd624648f (diff)
downloadeclipse.platform.debug-7a6ac95767456ad550f77b4e4be03d3c49a786bb.tar.gz
eclipse.platform.debug-7a6ac95767456ad550f77b4e4be03d3c49a786bb.tar.xz
eclipse.platform.debug-7a6ac95767456ad550f77b4e4be03d3c49a786bb.zip
Bug 323588 - External tools (Ant) launch config looses project(s) to be built
Diffstat (limited to 'org.eclipse.core.externaltools')
-rw-r--r--org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/launchConfigurations/ExternalToolsCoreUtil.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/launchConfigurations/ExternalToolsCoreUtil.java b/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/launchConfigurations/ExternalToolsCoreUtil.java
index d316f27e9..9239265a6 100644
--- a/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/launchConfigurations/ExternalToolsCoreUtil.java
+++ b/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/launchConfigurations/ExternalToolsCoreUtil.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2009 IBM Corporation and others.
+ * Copyright (c) 2000, 2010 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
@@ -224,7 +224,7 @@ public class ExternalToolsCoreUtil {
}
if (scope.startsWith("${projects:")) { //$NON-NLS-1$
String pathString = scope.substring(11, scope.length() - 1);
- if (pathString.length() > 1) {
+ if (pathString.length() > 0) {
String[] names = pathString.split(","); //$NON-NLS-1$
IProject[] projects = new IProject[names.length];
IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();

Back to the top