You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by ma...@apache.org on 2008/04/02 01:01:56 UTC
svn commit: r643637 -
/ant/ivy/core/trunk/src/java/org/apache/ivy/ant/AntMessageLogger.java
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) {