Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 52312 invoked from network); 22 Aug 2007 06:59:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Aug 2007 06:59:36 -0000 Received: (qmail 97110 invoked by uid 500); 22 Aug 2007 06:59:31 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 97041 invoked by uid 500); 22 Aug 2007 06:59:31 -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 97030 invoked by uid 99); 22 Aug 2007 06:59:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Aug 2007 23:59:31 -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 jason.dillon@gmail.com designates 209.85.198.187 as permitted sender) Received: from [209.85.198.187] (HELO rv-out-0910.google.com) (209.85.198.187) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2007 06:59:29 +0000 Received: by rv-out-0910.google.com with SMTP id k15so80786rvb for ; Tue, 21 Aug 2007 23:59:09 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=nL3rC3J0Twq+J3EuTzsmpW9trcqodm7e1GMNpvFpswCisHSThCgyvdowR7h1he6uQ/lfE4FbZsnrL0by23xn6ny/wfR0ydL58m06RwAWi+DvGLCSxAwsW0EOy6uHeLP+sxVtzriUDTSn/3yaf9afjSate47e8Ug4fKGmeAJaWgM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=cXR+2F0vGC93Ehf12D+5FDN7qq2LuIkjhEF/O+T7miQAhXXdVxRbvxIzZuE+2Q0eHSsB0gSqVnxItN6LqWTQyb0hZv3Ela2+vPhVWbqHjxnHnA3ulCiKXJqAZ753Nw1vuEQqh3W0APXyIC48JMzVUnfZVtLUP2JcwNoJIgADuMg= Received: by 10.141.42.10 with SMTP id u10mr112660rvj.1187765948899; Tue, 21 Aug 2007 23:59:08 -0700 (PDT) Received: from ?10.0.1.100? ( [24.7.69.241]) by mx.google.com with ESMTPS id 1sm614785rvi.2007.08.21.23.59.06 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 21 Aug 2007 23:59:07 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <01CA9486-49BC-4362-A820-2097B3D21ABA@yahoo.com> References: <9C9D3424-9404-49DE-9F5A-5AF8B546E7B1@planet57.com> <455EC5F3-FCBB-4DA9-A90A-A684FA3B6EB1@planet57.com> <01CA9486-49BC-4362-A820-2097B3D21ABA@yahoo.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Jason Dillon Subject: Re: New GShell-based Geronimo Server launcher now in server/trunk Date: Tue, 21 Aug 2007 23:59:02 -0700 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.752.3) Sender: Jason Dillon X-Virus-Checked: Checked by ClamAV on apache.org On Aug 21, 2007, at 11:40 PM, David Jencks wrote: > I played around with this a little bit and really like it. Yay! Thanks for taking a look David! > Some things I'd like to see soon: > > - stop the server w/o stopping the shell > - run app clients > - run the deployers (including plugin deployer). esp. for plugins > it might be nice to be able to set the repo to look at as an "env > var" in gshell and have partial listings or artifact name > completion or something like that. I plan to make GShell commands for all of the above soon, was just waiting for folks to take a look at the start-server bits I added as a POC and get feedback before I dive into all the other commands. Though you can still run the existing scripts to use those tools, but ya I do plan on adding them as GShell commands soon ;-) > - easy way to debug, setting the port and suspend, perhaps again > with 'env vars" Yup, we can add any flags to 'start-server' which help make life easier... probably need to get those bits from the geronimo.sh script ported over too, 'jpda, start, stop, run, etc'. You can current do stuff like this in the shell: > set debug_flags=foo And then commands have that context passed in... but so far, except for the 'set' and 'unset' commands no commands use that context yet. There is also a evil bug in the current parser that freaks out on quotes... which I hope to get fixed soon. > - easy way to set e.g. portOffet. IIUC you can set them with - > Dorg.apache.geronimo.configuration.portOffset=1 but having a way of > leaving out the prefix would be handy.... maybe -GportOffset=1 I've added a -G flag... so -Gfoo=bar is the same as - Dorg.apache.geronimo.foo=bar. We can sort out all of the nice short- hand flags over time... ;-) But keep the ideas coming for sure... cause I'm not sure how folks actually use this stuff ;-) > For some reason I want to be able to type commands into the console > where I'm looking at the server console output :-) This might end > up being confusing or unpleasant.... but maybe an escape character > could switch to a command mode from "viewing the console output" > mode. Or maybe another way to think of this is to switch back and > forth between the server being in the background. Yup, right now... I think... you can 'start-server --background' and it will wait for the server to boot, then return you to a shell and server output will still be put on console, unless you used 'start- server --logfile /foo/bar' or something. But I eventually want to get this syntax working for the same thing: start-server & But that requires more parser hacking... so, its a feature planned on, but pending someone to help me with the grammar and ast mucko ;-) > I'm looking forward to this developing more features :-) Yay! I'm starting to become more interested in making GShell rule the world again too ;-) Cheers, --jason