ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs LoadProperties.java
Date Mon, 22 Aug 2005 15:38:45 GMT
stevel      2005/08/22 08:38:45

  Modified:    src/main/org/apache/tools/ant/taskdefs LoadProperties.java
  Log:
  more diagnostics
  
  Revision  Changes    Path
  1.30      +2 -2      ant/src/main/org/apache/tools/ant/taskdefs/LoadProperties.java
  
  Index: LoadProperties.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/LoadProperties.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- LoadProperties.java	10 Mar 2005 12:50:57 -0000	1.29
  +++ LoadProperties.java	22 Aug 2005 15:38:45 -0000	1.30
  @@ -156,11 +156,11 @@
   
           if (srcFile != null) {
               if (!srcFile.exists()) {
  -                throw new BuildException("Source file does not exist.");
  +                throw new BuildException("Source file does not exist :"+srcFile);
               }
   
               if (!srcFile.isFile()) {
  -                throw new BuildException("Source file is not a file.");
  +                throw new BuildException("Source file is not a file :"+srcFile);
               }
   
               try {
  
  
  

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


Mime
View raw message