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 Thu, 12 Feb 2004 10:54:35 GMT
conor       2004/02/12 02:54:35

  Modified:    src/main/org/apache/tools/ant/launch Tag: ANT_16_BRANCH
                        Launcher.java
  Log:
  More general check for uninitialised windows environment variables
  in Classpaths
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.5.2.10  +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.5.2.9
  retrieving revision 1.5.2.10
  diff -u -w -u -r1.5.2.9 -r1.5.2.10
  --- Launcher.java	11 Feb 2004 08:39:20 -0000	1.5.2.9
  +++ Launcher.java	12 Feb 2004 10:54:35 -0000	1.5.2.10
  @@ -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