Browse Source

Merge

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276175 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 21 years ago
parent
commit
19fe5b25a6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/org/apache/tools/ant/launch/Launcher.java

+ 2
- 2
src/main/org/apache/tools/ant/launch/Launcher.java View File

@@ -121,8 +121,7 @@ public class Launcher {
while (myTokenizer.hasMoreElements()) { while (myTokenizer.hasMoreElements()) {
String elementName = myTokenizer.nextToken(); String elementName = myTokenizer.nextToken();
File element = new File(elementName); File element = new File(elementName);
if (elementName.startsWith("%") && elementName.endsWith("%")
&& !element.exists()) {
if (elementName.indexOf("%") != -1 && !element.exists()) {
continue; continue;
} }
if (element.isDirectory()) { if (element.isDirectory()) {
@@ -132,6 +131,7 @@ public class Launcher {
libPathURLs.add(dirURLs[j]); libPathURLs.add(dirURLs[j]);
} }
} }
libPathURLs.add(element.toURL()); libPathURLs.add(element.toURL());
} }
} }


Loading…
Cancel
Save