Return-Path: Delivered-To: apmail-geronimo-xbean-dev-archive@locus.apache.org Received: (qmail 4152 invoked from network); 20 Jul 2007 19:55:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jul 2007 19:55:22 -0000 Received: (qmail 86079 invoked by uid 500); 20 Jul 2007 19:55:24 -0000 Delivered-To: apmail-geronimo-xbean-dev-archive@geronimo.apache.org Received: (qmail 86063 invoked by uid 500); 20 Jul 2007 19:55:24 -0000 Mailing-List: contact xbean-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: xbean-dev@geronimo.apache.org Delivered-To: mailing list xbean-dev@geronimo.apache.org Received: (qmail 86054 invoked by uid 99); 20 Jul 2007 19:55:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jul 2007 12:55:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [208.97.132.74] (HELO spaceymail-a2.g.dreamhost.com) (208.97.132.74) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jul 2007 12:55:21 -0700 Received: from [192.168.15.106] (cpe-76-167-142-11.socal.res.rr.com [76.167.142.11]) by spaceymail-a2.g.dreamhost.com (Postfix) with ESMTP id A3CFA109FE7 for ; Fri, 20 Jul 2007 12:55:02 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <901CDFEE-C344-43D2-B8E3-E384CDA80913@toolazydogs.com> References: <901CDFEE-C344-43D2-B8E3-E384CDA80913@toolazydogs.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <2C280BF8-F2C6-48C5-8828-EBAE6A0BF123@iq80.com> Content-Transfer-Encoding: 7bit From: Dain Sundstrom Subject: Re: Slim spring? Date: Fri, 20 Jul 2007 12:54:58 -0700 To: xbean-dev@geronimo.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org Done. -dain On Jul 20, 2007, at 10:45 AM, Alan Cabrera wrote: > +1 spring-module approach, marking all the spring jars as provided. > > > Regards, > Alan > > On Jul 19, 2007, at 7:28 PM, Dain Sundstrom wrote: > >> How does everyone feel about changing from the uber-spring jar >> (2M) to the spring module jars? Here is a sizing chart: >> >> spring-beans-2.0.5.jar 379K >> spring-context-2.0.5.jar 156K >> ---- >> 531K >> >> spring-web-2.0.5.jar 148K # optional for web context >> spring-jmx-2.0.5.jar 85K # optional xbean-server >> >> >> With full spring at 2M this is a pretty big savings. This will >> also help to keep the modules free of using other stuff from spring. >> >> On the other hand, maven and uber jars don't always get along. If >> anther project imports xbean-spring, they will either need to use >> the spring module jars, or exclude them transitively from the >> xbean-spring. Alternatively, we could mark them as provided, and >> then the importing project will need to explicitly import spring >> in which ever form they like. >> >> I'd prefer we go with the spring-module approach, but mark all the >> spring jars as provided. This make it easier for users to upgrade >> to newer spring releases (no exclude/reinclude). >> >> -dain >> >> BTW, I did test this actually works :) >> >