ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Available.java
Date Wed, 14 Jun 2000 01:40:22 GMT
rubys       00/06/13 18:40:21

  Modified:    src/main/org/apache/tools/ant/taskdefs Available.java
  Log:
  log informational messages when classes are not available
  
  Revision  Changes    Path
  1.5       +2 -0      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Available.java
  
  Index: Available.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Available.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Available.java	2000/04/01 13:42:56	1.4
  +++ Available.java	2000/06/14 01:40:21	1.5
  @@ -107,6 +107,7 @@
               File f = new File(file);
               return f.exists();
           } catch (Exception e) {
  +            project.log(e.toString(), "available", Project.MSG_VERBOSE);
               return false;
           }
       }
  @@ -120,6 +121,7 @@
               Class.forName(classname);
               return true;
           } catch (Throwable t) {
  +            project.log(t.toString(), "available", Project.MSG_VERBOSE);
               return false;
           }
       }
  
  
  

Mime
View raw message