ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r1297759 - in /ant/ivy/core/trunk: CHANGES.txt src/java/org/apache/ivy/ant/IvyResolve.java
Date Tue, 06 Mar 2012 22:20:33 GMT
Author: maartenc
Date: Tue Mar  6 22:20:32 2012
New Revision: 1297759

URL: http://svn.apache.org/viewvc?rev=1297759&view=rev
Log:
FIX: The showprogress=false attribute of ivy:resolve doesn't do what it should (IVY-1052)
(thanks to Joseph Boyd)

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

Modified: ant/ivy/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/CHANGES.txt?rev=1297759&r1=1297758&r2=1297759&view=diff
==============================================================================
--- ant/ivy/core/trunk/CHANGES.txt (original)
+++ ant/ivy/core/trunk/CHANGES.txt Tue Mar  6 22:20:32 2012
@@ -26,6 +26,7 @@ for detailed view of each issue, please 
 	Jasper Blues
 	Jim Bonanno
 	Jean-Louis Boudart
+	Joseph Boyd
 	Dave Brosius
 	Matthieu Brouillard
 	Carlton Brown
@@ -139,6 +140,7 @@ for detailed view of each issue, please 
 - IMPROVEMENT: ivy:retrieve can now convert 'dotted'-organisation names into a directory
tree.
 - IMPROVEMENT: ivy:retrieve now accepts a nested mapper type.
 
+- FIX: The showprogress=false attribute of ivy:resolve doesn't do what it should (IVY-1052)
(thanks to Joseph Boyd)
 - FIX: extends ignores defaultconfmapping/defaultconf/confmappingoverride attributes from
parent's configurations and dependencies tags (IVY-1213)
 - FIX: NullPointerException when providing empty password to <credentials> (IVY-1335)
 - FIX: [originalname] not expanded for source and javadoc types during publish in ivy:install
(IVY-1324)

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyResolve.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyResolve.java?rev=1297759&r1=1297758&r2=1297759&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyResolve.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyResolve.java Tue Mar  6 22:20:32 2012
@@ -64,6 +64,8 @@ public class IvyResolve extends IvyTask 
 
     private boolean haltOnFailure = true;
 
+    private boolean showProgress = true;
+
     private boolean useCacheOnly = false;
 
     private String type = null;
@@ -155,7 +157,7 @@ public class IvyResolve extends IvyTask 
     }
 
     public void setShowprogress(boolean show) {
-        Message.setShowProgress(show);
+        this.showProgress = show;
     }
 
     public boolean isUseCacheOnly() {
@@ -225,6 +227,11 @@ public class IvyResolve extends IvyTask 
         return c;
     }
 
+    protected void prepareTask() {
+        super.prepareTask();
+        Message.setShowProgress(showProgress);
+    }
+
     public void doExecute() throws BuildException {
         Ivy ivy = getIvyInstance();
         IvySettings settings = ivy.getSettings();



Mime
View raw message