tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@locus.apache.org
Subject cvs commit: jakarta-tools/ant/src/main/org/apache/tools/ant/taskdefs Javac.java
Date Tue, 04 Jan 2000 02:29:41 GMT
rubys       00/01/03 18:29:41

  Modified:    ant/src/main/org/apache/tools/ant/taskdefs Javac.java
  Log:
  Remove missing files from the classpath.  This eliminates Jikes warnings...
  
  Revision  Changes    Path
  1.18      +4 -2      jakarta-tools/ant/src/main/org/apache/tools/ant/taskdefs/Javac.java
  
  Index: Javac.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tools/ant/src/main/org/apache/tools/ant/taskdefs/Javac.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- Javac.java	2000/01/04 02:18:06	1.17
  +++ Javac.java	2000/01/04 02:29:40	1.18
  @@ -324,8 +324,10 @@
               System.getProperty("path.separator"), false);
   	    while (tok.hasMoreTokens()) {
   		File f = project.resolveFile(tok.nextToken());
  -		classpath.append(f.getAbsolutePath());
  -		classpath.append(File.pathSeparator);
  +		if (f.exists()) {
  +		    classpath.append(f.getAbsolutePath());
  +		    classpath.append(File.pathSeparator);
  +		}
   	    }
   	}
   
  
  
  

Mime
View raw message