ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant Project.java
Date Tue, 08 Jul 2003 00:26:38 GMT
conor       2003/07/07 17:26:38

  Modified:    src/main/org/apache/tools/ant Project.java
  Log:
  Ensure logging message flag is reset
  Reported By Darin Swanson
  PR:	21386
  
  Revision  Changes    Path
  1.144     +10 -7     ant/src/main/org/apache/tools/ant/Project.java
  
  Index: Project.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Project.java,v
  retrieving revision 1.143
  retrieving revision 1.144
  diff -u -w -u -r1.143 -r1.144
  --- Project.java	7 Jul 2003 14:54:00 -0000	1.143
  +++ Project.java	8 Jul 2003 00:26:38 -0000	1.144
  @@ -1838,13 +1838,16 @@
                       + (priority == MSG_ERR ? "System.err" : "System.out")
                       + " - infinite loop terminated");
               }
  +            try {
               loggingMessage = true;
               int size = listeners.size();
               for (int i = 0; i < size; i++) {
                   BuildListener listener = (BuildListener) listeners.elementAt(i);
                   listener.messageLogged(event);
               }
  +            } finally {
               loggingMessage = false;
  +            }
           }
       }
   
  
  
  

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


Mime
View raw message