ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant ProjectHelper.java
Date Fri, 06 Oct 2000 07:35:55 GMT
bodewig     00/10/06 00:35:55

  Modified:    src/main/org/apache/tools/ant ProjectHelper.java
  Log:
  Don't assume it has been the build file if the parser throws a
  FileNotFoundException. Could be an external entity or a DTD file as
  well.
  
  Submitted by:	Scotte Zinn <szinn@patronix.com>
  
  Revision  Changes    Path
  1.33      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/ProjectHelper.java
  
  Index: ProjectHelper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/ProjectHelper.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- ProjectHelper.java	2000/09/21 07:19:48	1.32
  +++ ProjectHelper.java	2000/10/06 07:35:54	1.33
  @@ -127,7 +127,7 @@
               throw new BuildException(exc.getMessage(), t);
           }
           catch(FileNotFoundException exc) {
  -            throw new BuildException("File \"" + buildFile.toString() + "\" not found");
  +            throw new BuildException(exc);
           }
           catch(IOException exc) {
               throw new BuildException("Error reading project file", exc);
  
  
  

Mime
View raw message