ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r925003 - in /ant/ivy/core/trunk: CHANGES.txt src/java/org/apache/ivy/ant/IvyAntSettings.java
Date Thu, 18 Mar 2010 21:25:03 GMT
Author: maartenc
Date: Thu Mar 18 21:25:02 2010
New Revision: 925003

URL: http://svn.apache.org/viewvc?rev=925003&view=rev
Log:
FIX: verbose/debug messages were not logged while running ivy:configure task

Modified:
    ant/ivy/core/trunk/CHANGES.txt
    ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyAntSettings.java

Modified: ant/ivy/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/CHANGES.txt?rev=925003&r1=925002&r2=925003&view=diff
==============================================================================
--- ant/ivy/core/trunk/CHANGES.txt (original)
+++ ant/ivy/core/trunk/CHANGES.txt Thu Mar 18 21:25:02 2010
@@ -116,6 +116,7 @@ for detailed view of each issue, please 
 - IMPROVEMENT: Trace a message when a property file referenced from the settings doesn't
exixts (IVY-1074)
 - IMPROVEMENT: use defaultconf in combination with defaultconfmapping (IVY-1135) (thanks
to Jon Schneider)
 
+- FIX: verbose/debug messages were not logged while running ivy:configure task
 - FIX: ApacheURLLister does not allow directories not containing a dot on Artifactory (IVY-1175)
(thanks to Anders Jacobsson)
 - FIX: artifact-lock strategy could hang Ivy when resolving dynamic revisions
 - FIX: Authentication won't work in some situations (IVY-1168) (thanks to Sven Walter)

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyAntSettings.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyAntSettings.java?rev=925003&r1=925002&r2=925003&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyAntSettings.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyAntSettings.java Thu Mar 18 21:25:02
2010
@@ -250,9 +250,7 @@ public class IvyAntSettings extends Data
         prop.init();
         prop.execute();
 
-        
         IvyAntVariableContainer ivyAntVariableContainer = new IvyAntVariableContainer(project);
-
         IvySettings settings = new IvySettings(ivyAntVariableContainer);
         settings.setBaseDir(project.getBaseDir());
         
@@ -261,9 +259,11 @@ public class IvyAntSettings extends Data
         }
 
         Ivy ivy = Ivy.newInstance(settings);
-        ivy.getLoggerEngine().pushLogger(new AntMessageLogger(task));
-        Message.showInfo();
         try {
+            ivy.pushContext();
+            ivy.getLoggerEngine().pushLogger(new AntMessageLogger(task));
+
+            Message.showInfo();
             configureURLHandler();
             if (file != null) {
                 if (!file.exists()) {
@@ -288,6 +288,7 @@ public class IvyAntSettings extends Data
                     + (file != null ? "file: " + file : "url: " + url) + " : " + e, e);
         } finally {
             ivy.getLoggerEngine().popLogger();
+            ivy.popContext();
         }
     }
 



Mime
View raw message