I'm not convinced that this is the proper way to solve your problem.
If they are not conflicts, they shouldn't get logged as conflict. Could you 
give us more info and an example of your log?

Maarten



----- Original Message ----
From: Robey Pointer <robeypoin...@gmail.com>
To: dev@ant.apache.org
Sent: Friday, January 2, 2009 5:56:07 AM
Subject: patch (ivy): log conflict results at verbose

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


      

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

Reply via email to