ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant DirectoryScanner.java
Date Thu, 03 May 2001 13:19:52 GMT
bodewig     01/05/03 06:19:51

  Modified:    src/main/org/apache/tools/ant DirectoryScanner.java
  Log:
  Make DirectoryScanner's error message a bit more useful.
  
  PR: 1234
  
  Revision  Changes    Path
  1.13      +4 -2      jakarta-ant/src/main/org/apache/tools/ant/DirectoryScanner.java
  
  Index: DirectoryScanner.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/DirectoryScanner.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- DirectoryScanner.java	2001/03/29 10:29:46	1.12
  +++ DirectoryScanner.java	2001/05/03 13:19:50	1.13
  @@ -655,10 +655,12 @@
               throw new IllegalStateException("No basedir set");
           }
           if (!basedir.exists()) {
  -            throw new IllegalStateException("basedir does not exist");
  +            throw new IllegalStateException("basedir " + basedir
  +                                            + " does not exist");
           }
           if (!basedir.isDirectory()) {
  -            throw new IllegalStateException("basedir is not a directory");
  +            throw new IllegalStateException("basedir " + basedir
  +                                            + " is not a directory");
           }
   
           if (includes == null) {
  
  
  

Mime
View raw message