Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 34315 invoked from network); 31 Mar 2005 20:15:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Mar 2005 20:15:38 -0000 Received: (qmail 46595 invoked by uid 500); 31 Mar 2005 20:15:35 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 46556 invoked by uid 500); 31 Mar 2005 20:15:34 -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 Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 46543 invoked by uid 99); 31 Mar 2005 20:15:34 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from Unknown (HELO mgd.gluecode.com) (64.14.202.141) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 31 Mar 2005 12:15:33 -0800 Received: from [192.168.15.108] (69-175-254-134.vnnyca.adelphia.net [69.175.254.134]) (authenticated bits=0) by mgd.gluecode.com (8.12.10/8.12.10) with ESMTP id j2VKFHCW003246 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Thu, 31 Mar 2005 12:15:21 -0800 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <424C4968.5030408@apache.org> References: <424C4968.5030408@apache.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Dain Sundstrom Subject: Re: Splitting up geronimo-system Date: Thu, 31 Mar 2005 12:15:28 -0800 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.619.2) X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm a bit confused about what specifically you are proposing to move. For example, would it be the full logging stuff or just the logging initializer code? Also, are we going to loose reuse if we start moving this code to configuration packaging modules? I would assume that if we move the command line stuff to one the packaged configuration, and another needed the same command line code it would need to make a copy of the source code. One last thing, do we really want to be moving code and changing the build right now? I like the idea, but I'm not sure about the timing. The static initializers really do suck :) -dain -- Dain Sundstrom Chief Architect Gluecode Software 310.536.8355, ext. 26 On Mar 31, 2005, at 11:03 AM, Jeremy Boynes wrote: > The original intention here was that this module would contain just > the basics needed to get a kernel running in a VM. However, the amount > of stuff that is needed to do that has grown and things have started > to get specialized (for example, the stuff for handling endorsed dirs, > logging, command line parsing, the tools jar hack, and more). > > With the ability to package configurations from their own Maven module > it makes sense to move some of this code into those modules. For > example, the command line parsing stuff can move into the module for > the command line tool that is actually using it; same with logging > setup so that it can be configured appropriately for client, server or > plugin operation. > > By moving the main entry point into the executable module itself it > also gives it a chance to do what it needs to be done before > bootstrapping the kernel. This would allow us to eliminate some of the > static initialization blocks of the "make sure this runs first" type > which are a little fragile. > > -- > Jeremy