felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsav...@apache.org
Subject svn commit: r814643 - /felix/trunk/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldResolver.java
Date Mon, 14 Sep 2009 13:53:41 GMT
Author: dsavage
Date: Mon Sep 14 13:53:40 2009
New Revision: 814643

URL: http://svn.apache.org/viewvc?rev=814643&view=rev
Log:
add debug and verbose log elements to ivy wrapper (FELIX-1590)

Modified:
    felix/trunk/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldResolver.java

Modified: felix/trunk/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldResolver.java
URL: http://svn.apache.org/viewvc/felix/trunk/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldResolver.java?rev=814643&r1=814642&r2=814643&view=diff
==============================================================================
--- felix/trunk/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldResolver.java (original)
+++ felix/trunk/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldResolver.java Mon Sep
14 13:53:40 2009
@@ -92,10 +92,11 @@
             manager = new BldRepositoryManager( repos );
         }
 
-        IResolutionMonitor nullMonitor = new IResolutionMonitor()
+        IResolutionMonitor ivyMonitor = new IResolutionMonitor()
         {
             public void endResolution( IModelElement requirement, ISigilBundle sigilBundle
)
             {
+                Log.debug( "Resolved " + requirement + " -> " + sigilBundle );
             }
 
 
@@ -107,9 +108,10 @@
 
             public void startResolution( IModelElement requirement )
             {
+                Log.verbose( "Resolving " + requirement );
             }
         };
 
-        return manager.getBundleResolver().resolve( element, config, nullMonitor );
+        return manager.getBundleResolver().resolve( element, config, ivyMonitor );
     }
 }



Mime
View raw message