geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r574430 - in /geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell: GShell.java branding/DefaultBranding.java
Date Tue, 11 Sep 2007 02:10:03 GMT
Author: jdillon
Date: Mon Sep 10 19:10:03 2007
New Revision: 574430

URL: http://svn.apache.org/viewvc?rev=574430&view=rev
Log:
Time the init, and update the about text

Modified:
    geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/GShell.java
    geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/branding/DefaultBranding.java

Modified: geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/GShell.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/GShell.java?rev=574430&r1=574429&r2=574430&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/GShell.java
(original)
+++ geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/GShell.java
Mon Sep 10 19:10:03 2007
@@ -22,6 +22,7 @@
 import java.util.Map;
 
 import org.apache.geronimo.gshell.command.IO;
+import org.apache.geronimo.gshell.common.StopWatch;
 import org.apache.geronimo.gshell.lookup.IOLookup;
 import org.apache.geronimo.gshell.shell.Environment;
 import org.apache.geronimo.gshell.shell.InteractiveShell;
@@ -66,6 +67,9 @@
         this.classWorld = classWorld;
         this.io = io;
 
+        // Lets time how long init takes
+        StopWatch watch = new StopWatch(true);
+
         log.debug("Initializing");
 
         sm = new ShellSecurityManager();
@@ -94,7 +98,7 @@
             System.setSecurityManager(psm);
         }
 
-        log.debug("Initialized");
+        log.debug("Initialized in {}", watch);
     }
 
     public ShellInfo getShellInfo() {

Modified: geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/branding/DefaultBranding.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/branding/DefaultBranding.java?rev=574430&r1=574429&r2=574430&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/branding/DefaultBranding.java
(original)
+++ geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/branding/DefaultBranding.java
Mon Sep 10 19:10:03 2007
@@ -84,8 +84,8 @@
         StringWriter writer = new StringWriter();
         PrintWriter out = new PrintWriter(writer);
 
-        out.println("For information about Apache Geronimo, visit:");
-        out.println("    http://geronimo.apache.org ");
+        out.println("For information about GShell, visit:");
+        out.println("    http://geronimo.apache.org/gshell ");
         out.flush();
 
         return writer.toString();



Mime
View raw message