When ivy is in log="download-only" mode, it will still log potentially dozens of lines (in a large project) of "conflicts". They aren't actually conflicts, just instances of multiple versions of a package in the cache, so besides being noisy, the messages are also a source of confusion/worry.

This patch fixes the log level of these messages so that "conflict" messages aren't displayed in quiet mode.

Thanks!
robey


Index: src/java/org/apache/ivy/core/retrieve/RetrieveEngine.java
===================================================================
--- src/java/org/apache/ivy/core/retrieve/RetrieveEngine.java (revision 730653) +++ src/java/org/apache/ivy/core/retrieve/RetrieveEngine.java (working copy)
@@ -339,7 +339,7 @@
                 // which consider as greater a winning artifact
Collections.sort(artifactsList, getConflictResolvingPolicy()); // after the sort, the winning artifact is the greatest one, i.e. the last one
-                Message.info("\tconflict on "
+                Message.verbose("\tconflict on "
                         + copyDest
                         + " in "
                         + conflictsConfs


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to