Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 62597 invoked from network); 11 Sep 2007 02:10:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Sep 2007 02:10:25 -0000 Received: (qmail 49360 invoked by uid 500); 11 Sep 2007 02:10:18 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 49321 invoked by uid 500); 11 Sep 2007 02:10:18 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 49310 invoked by uid 99); 11 Sep 2007 02:10:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 19:10:18 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2007 02:10:24 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1A2E61A9832; Mon, 10 Sep 2007 19:10:04 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: scm@geronimo.apache.org From: jdillon@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20070911021004.1A2E61A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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();