conor       01/07/11 08:00:25

  Modified:    src/main/org/apache/tools/ant/taskdefs Property.java
  Log:
  Changed the logging level of invalid property files to warning
  
  PR:   1451
  
  Revision  Changes    Path
  1.27      +2 -2      
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Property.java
  
  Index: Property.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Property.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- Property.java     2001/07/10 14:55:38     1.26
  +++ Property.java     2001/07/11 15:00:19     1.27
  @@ -198,8 +198,8 @@
                   }
                   addProperties(props);
               } else {
  -                log("Unable to find " + file.getAbsolutePath(), 
  -                    Project.MSG_VERBOSE);
  +                log("Unable to find property file: " + 
file.getAbsolutePath(), 
  +                    Project.MSG_WARN);
               }
           } catch(Exception ex) {
               throw new BuildException(ex.getMessage(), ex, location);
  
  
  

Reply via email to