geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r289163 - in /geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal: GeronimoPlugin.java GeronimoServerBehaviour.java
Date Thu, 15 Sep 2005 06:02:47 GMT
Author: sppatel
Date: Wed Sep 14 23:02:44 2005
New Revision: 289163

URL: http://svn.apache.org/viewcvs?rev=289163&view=rev
Log:
Added trace statements to debug M4 vs M5 deployment problem

Modified:
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoPlugin.java
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoServerBehaviour.java

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoPlugin.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoPlugin.java?rev=289163&r1=289162&r2=289163&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoPlugin.java
(original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoPlugin.java
Wed Sep 14 23:02:44 2005
@@ -21,7 +21,7 @@
  * The main plugin class.
  */
 public class GeronimoPlugin extends Plugin {
-    protected static final String PLUGIN_ID = "org.apache.geronimo.core";
+    protected static final String PLUGIN_ID = "org.apache.geronimo.devtools.eclipse.core";
 
     private static GeronimoPlugin singleton;
 

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoServerBehaviour.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoServerBehaviour.java?rev=289163&r1=289162&r2=289163&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoServerBehaviour.java
(original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/GeronimoServerBehaviour.java
Wed Sep 14 23:02:44 2005
@@ -285,7 +285,9 @@
         public void run() {
             try {
                 sleep(TIMEOUT);
+                Trace.trace(Trace.INFO, "Wait thread TIMEOUT!");
             } catch (InterruptedException e) {
+                Trace.trace(Trace.INFO, "Wait thread interrupted");
             }
         }
     }
@@ -317,7 +319,9 @@
                 Trace.trace(Trace.INFO, "\t" + status.getMessage());
                 _monitor.subTask(status.getMessage());
             }
+            System.out.println("checkpoint " + cmd + " " + status.getCommand());
             if (cmd == null || cmd == status.getCommand()) {
+                System.out.println("checkpoint pass");
                 if (status.isCompleted() || status.isFailed()) {
                     waitThread.interrupt();
                 }
@@ -384,7 +388,7 @@
         } catch (DeploymentManagerCreationException e) {
             e.printStackTrace();
             throw new CoreException(new Status(IStatus.ERROR,
-                    "org.eclipse.jst.geronimo.core", 0, e.getMessage(), e));
+                    GeronimoPlugin.PLUGIN_ID, 0, e.getMessage(), e));
         } finally {
 
         }
@@ -420,7 +424,7 @@
         } else if (po.getDeploymentStatus().isFailed()) {
             IStatus status = new Status(
                     IStatus.ERROR,
-                    "org.eclipse.jst.geronimo.core",
+                    GeronimoPlugin.PLUGIN_ID,
                     0,
                     "Distribution of application failed.  See .log for details.",
                     new Exception(listener.lastMessage));



Mime
View raw message