ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r709034 - in /ant/ivy/core/trunk: CHANGES.txt src/java/org/apache/ivy/Main.java
Date Wed, 29 Oct 2008 22:33:05 GMT
Author: maartenc
Date: Wed Oct 29 15:33:05 2008
New Revision: 709034

URL: http://svn.apache.org/viewvc?rev=709034&view=rev
Log:
FIX: Log levels aren't respected in certain cases using the standalone functionality (IVY-960)
(thanks to Patrick Woodworth)

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

Modified: ant/ivy/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/CHANGES.txt?rev=709034&r1=709033&r2=709034&view=diff
==============================================================================
--- ant/ivy/core/trunk/CHANGES.txt (original)
+++ ant/ivy/core/trunk/CHANGES.txt Wed Oct 29 15:33:05 2008
@@ -83,6 +83,7 @@
 	
    trunk
 =====================================
+- FIX: Log levels aren't respected in certain cases using the standalone functionality (IVY-960)
(thanks to Patrick Woodworth)
 
    2.0.0-rc2
 =====================================

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/Main.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/Main.java?rev=709034&r1=709033&r2=709034&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/Main.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/Main.java Wed Oct 29 15:33:05 2008
@@ -182,6 +182,7 @@
             Ivy ivy = Ivy.newInstance();
             initMessage(line, ivy);
             IvySettings settings = initSettings(line, ivy);
+            ivy.pushContext();
 
             File cache = new File(settings.substitute(line.getOptionValue("cache", settings
                     .getDefaultCache().getAbsolutePath())));
@@ -294,6 +295,7 @@
                 invoke(ivy, cache, md, confs, fileList, line.getOptionValue("main"), params);
             }
             ivy.getLoggerEngine().popLogger();
+            ivy.popContext();
     }
 
     /**



Mime
View raw message