geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tki...@apache.org
Subject svn commit: r1069966 - /geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java
Date Fri, 11 Feb 2011 22:09:15 GMT
Author: tkirby
Date: Fri Feb 11 22:09:14 2011
New Revision: 1069966

URL: http://svn.apache.org/viewvc?rev=1069966&view=rev
Log:
enhance tracing when publishing modules

Modified:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java?rev=1069966&r1=1069965&r2=1069966&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.core/src/main/java/org/apache/geronimo/st/v30/core/GeronimoServerBehaviourDelegate.java
Fri Feb 11 22:09:14 2011
@@ -290,6 +290,12 @@ abstract public class GeronimoServerBeha
             List list = getOrderedModules(this.getServer(),modules, deltaKind);
             modules = (List) list.get(0);
             deltaKind = (List) list.get(1);
+            // trace output
+            for (int i = 0; i < modules.size(); i++) {
+                IModule[] module = (IModule[]) modules.get(i);
+                Trace.trace(Trace.INFO, i + " " + Arrays.asList(module).toString() + " "
+                        + deltaKindToString(((Integer) deltaKind.get(i)).intValue()));
+            }
         }
 
         IStatus status = Status.OK_STATUS;
@@ -319,6 +325,7 @@ abstract public class GeronimoServerBeha
             for (int i = 0; i < size; i++) {
                 IModule[] module = (IModule[]) modules.get(i);
                 int moduleDeltaKind = ((Integer)deltaKind.get(i)).intValue();
+                Trace.trace(Trace.INFO, "look to publish " + Arrays.asList(module).toString()
+ " " + deltaKindToString(moduleDeltaKind));
                 //has the root of this module been published already?
                 if(!rootModulesPublished.contains(module[0])) {
                     status = publishModule(kind, module, moduleDeltaKind, ProgressUtil.getSubMonitorFor(monitor,
3000));



Mime
View raw message