ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/launch Launcher.java
Date Sun, 29 Feb 2004 00:06:42 GMT
conor       2004/02/28 16:06:42

  Modified:    src/main/org/apache/tools/ant/launch Launcher.java
  Log:
  Merge
  
  Revision  Changes    Path
  1.15      +2 -2      ant/src/main/org/apache/tools/ant/launch/Launcher.java
  
  Index: Launcher.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/launch/Launcher.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -w -u -r1.14 -r1.15
  --- Launcher.java	9 Feb 2004 21:05:18 -0000	1.14
  +++ Launcher.java	29 Feb 2004 00:06:42 -0000	1.15
  @@ -121,8 +121,7 @@
               while (myTokenizer.hasMoreElements()) {
                   String elementName = myTokenizer.nextToken();
                   File element = new File(elementName);
  -                if (elementName.startsWith("%") && elementName.endsWith("%")
  -                    && !element.exists()) {
  +                if (elementName.indexOf("%") != -1 && !element.exists()) {
                       continue;
                   }
                   if (element.isDirectory()) {
  @@ -132,6 +131,7 @@
                           libPathURLs.add(dirURLs[j]);
                       }
                   }
  +                
                   libPathURLs.add(element.toURL());
               }
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message