ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r643637 - /ant/ivy/core/trunk/src/java/org/apache/ivy/ant/AntMessageLogger.java
Date Tue, 01 Apr 2008 23:01:56 GMT
Author: maartenc
Date: Tue Apr  1 16:01:47 2008
New Revision: 643637

URL: http://svn.apache.org/viewvc?rev=643637&view=rev
Log:
Fixed little bug causing the AntMessageLogger never being unregistered as an Ant BuildListener.

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/ant/AntMessageLogger.java

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/ant/AntMessageLogger.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/ant/AntMessageLogger.java?rev=643637&r1=643636&r2=643637&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/ant/AntMessageLogger.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/ant/AntMessageLogger.java Tue Apr  1 16:01:47
2008
@@ -72,11 +72,11 @@
                 // with the initial task, except if it was an antcall, ant or subant target
                 // NB2 : Testing the identity of the task is not enought, event.getTask()
return
                 // an instance of UnknownElement is wrapping the concrete instance
+                stackDepth--;
                 if (stackDepth == 0) {
                     ivy.getLoggerEngine().popLogger();
                     event.getProject().removeBuildListener(this);
                 }
-                stackDepth--;
             }
 
             public void messageLogged(BuildEvent event) {



Mime
View raw message