Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 24371 invoked from network); 21 Sep 2008 00:36:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Sep 2008 00:36:51 -0000 Received: (qmail 99510 invoked by uid 500); 21 Sep 2008 00:36:47 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 99448 invoked by uid 500); 21 Sep 2008 00:36:47 -0000 Mailing-List: contact dev-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 dev@geronimo.apache.org Received: (qmail 99437 invoked by uid 99); 21 Sep 2008 00:36:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Sep 2008 17:36:47 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jgawor@gmail.com designates 209.85.132.244 as permitted sender) Received: from [209.85.132.244] (HELO an-out-0708.google.com) (209.85.132.244) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Sep 2008 00:35:48 +0000 Received: by an-out-0708.google.com with SMTP id d23so84488and.132 for ; Sat, 20 Sep 2008 17:36:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=52csGhEuGclHn4Q/4iGcxSj6coHel7zLTr1pfNjcbx0=; b=Wzcc+VFB9BbQ8/BxDirGjkHef6CSuzmWbGvRpqyQmHZotLcCVgORwfSRpNQfZaaHrX Kmyb3gTXXDNitRXXMS4Xgz5n8dM6T7D8Ye5SJmuKzkwz1rXT9Su5/hA6xZJHOuX+72gb NIPeQimL01Yw7GffzuzaMeYQW3Dzbea7nnKNU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=evl3y6yZS55ZZ+OExoW55LigHVveFmnyqM/VDpiWuX7YL/1ImxOevATB70CGXED5pX U9dUo0bPDR2TYW+fZHGfzwEYVyINBVGkhIamMkLDgynbR/od1g2E4INojKAT5FPhrlvi zyBWvI1UVskCsUlBz8k+9T74V8grr7WLKhR58= Received: by 10.65.44.11 with SMTP id w11mr3544587qbj.92.1221957379925; Sat, 20 Sep 2008 17:36:19 -0700 (PDT) Received: by 10.64.142.7 with HTTP; Sat, 20 Sep 2008 17:36:19 -0700 (PDT) Message-ID: <5eb405c70809201736l69dee8d3n1c22ca9bff639945@mail.gmail.com> Date: Sat, 20 Sep 2008 20:36:19 -0400 From: "Jarek Gawor" To: dev@geronimo.apache.org Subject: Re: Lets use gshell for all startup stuff In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org Here are my thoughts on the switch to GShell: -1 for geronimo.sh, and client.sh - the GShell alternatives start two separate java processes: one for GShell env. and one for the server or client container. That's unnecessary in most cases and slower. -1 for shutdown.sh - it's nice and small. No need for the entire GShell env. just to stop the server. +1 for deployer.sh - but only if 1) support for offline deployment is added, and 2) Windows paths are supported nicely (this might have been fixed already) +1 for jaxws-tools.sh - but but only if Windows paths are supported nicely. In general, I would view GShell as another plugin to Geronimo so IMHO it shouldn't be the main way to start/stop/deploy to Geronimo and it shouldn't be part of the geronimo-boilerplate assembly. However, if we are adding new functionality to Geronimo that needs CLI interface, that should be written as a GShell command. Also, things like Control-C on server started via start-server on Windows should be fixed before switching. To be more useful for Geronimo users, GShell should have better scripting capabilities (conditionals, loops, etc.) and we should write more and/or more interesting commands. Jarek On Thu, Sep 18, 2008 at 7:46 PM, David Jencks wrote: > Lets change the scripts in bin that don't use gshell to use gshell. > > Then the helper scripts such as setjavaenv.sh will only be used for starting > gshell and I hopefully they won't need most of their current contents. > > As noted in GERONIMO-4093 I'm not OK with requiring JAVA_HOME to be defined > on systems that don't need it, and I took matters into my own hands and > restored the old behavior of using "java" if JAVA_HOME is not defined. I'm > barely literate in bash so there may well be a better solution. > > thanks > david jencks >