ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
Subject Re: patch (ivy): log conflict results at verbose
Date Tue, 06 Jan 2009 20:14:32 GMT
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 <robeypointer@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-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


      

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


Mime
View raw message