ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant Main.java
Date Wed, 17 Mar 2004 22:06:47 GMT
mbenson     2004/03/17 14:06:47

  Modified:    src/main/org/apache/tools/ant Main.java
  Log:
  ant -p swallows (configuration) errors silently.
  PR:  27732
  
  Revision  Changes    Path
  1.105     +2 -0      ant/src/main/org/apache/tools/ant/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Main.java,v
  retrieving revision 1.104
  retrieving revision 1.105
  diff -u -r1.104 -r1.105
  --- Main.java	9 Mar 2004 16:47:59 -0000	1.104
  +++ Main.java	17 Mar 2004 22:06:47 -0000	1.105
  @@ -685,6 +685,8 @@
           } finally {
               if (!projectHelp) {
                   project.fireBuildFinished(error);
  +            } else if (error != null) {
  +                project.log(error.toString(), Project.MSG_ERR);
               }
           }
       }
  
  
  

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


Mime
View raw message