geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r700051 - /geronimo/gshell/trunk/gshell-commands/gshell-repository/src/main/java/org/apache/geronimo/gshell/commands/repository/ResolveAction.java
Date Mon, 29 Sep 2008 10:43:06 GMT
Author: jdillon
Date: Mon Sep 29 03:43:04 2008
New Revision: 700051

URL: http://svn.apache.org/viewvc?rev=700051&view=rev
Log:
Display resolved artifacts

Modified:
    geronimo/gshell/trunk/gshell-commands/gshell-repository/src/main/java/org/apache/geronimo/gshell/commands/repository/ResolveAction.java

Modified: geronimo/gshell/trunk/gshell-commands/gshell-repository/src/main/java/org/apache/geronimo/gshell/commands/repository/ResolveAction.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-commands/gshell-repository/src/main/java/org/apache/geronimo/gshell/commands/repository/ResolveAction.java?rev=700051&r1=700050&r2=700051&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-commands/gshell-repository/src/main/java/org/apache/geronimo/gshell/commands/repository/ResolveAction.java
(original)
+++ geronimo/gshell/trunk/gshell-commands/gshell-repository/src/main/java/org/apache/geronimo/gshell/commands/repository/ResolveAction.java
Mon Sep 29 03:43:04 2008
@@ -124,9 +124,13 @@
 
         ArtifactResolutionResult result = artifactManager.resolve(request);
 
-        //
-        // TODO: Do something with the result?
-        //
+        Set<Artifact> artifacts = result.getArtifacts();
+
+        io.info("Resolved artifacts:");
+
+        for (Artifact a : artifacts) {
+            io.info("    {}", a);    
+        }
 
         return Result.SUCCESS;
     }



Mime
View raw message