From harmony-dev-return-2883-apmail-incubator-harmony-dev-archive=incubator.apache.org@incubator.apache.org Mon Dec 26 22:53:03 2005 Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 58429 invoked from network); 26 Dec 2005 22:53:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Dec 2005 22:53:03 -0000 Received: (qmail 79108 invoked by uid 500); 26 Dec 2005 22:52:51 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 79046 invoked by uid 500); 26 Dec 2005 22:52:50 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 79035 invoked by uid 99); 26 Dec 2005 22:52:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Dec 2005 14:52:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [64.74.244.71] (HELO chi.mobile-health-diary.com) (64.74.244.71) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 26 Dec 2005 14:52:48 -0800 Received: (qmail 32539 invoked from network); 26 Dec 2005 22:52:24 -0000 Received: from ool-43560634.dyn.optonline.net (HELO ?10.0.1.110?) (geir@67.86.6.52) by b014.internal.mobile-health-diary.com with SMTP; 26 Dec 2005 22:52:24 -0000 Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: <43AF19A1.5050101@gmail.com> References: <43ABF70E.9040702@gmail.com> <43ACF80F.1080805@apache.org> <43AF19A1.5050101@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9DDE9268-562C-4C1D-8842-62A4BD2E33E3@4quarters.com> Content-Transfer-Encoding: 7bit From: Geir Magnusson Jr Subject: Re: Bootstrapping the classlibrary builds Date: Mon, 26 Dec 2005 17:52:45 -0500 To: harmony-dev@incubator.apache.org X-Mailer: Apple Mail (2.746.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Dec 25, 2005, at 5:13 PM, Tim Ellison wrote: > Stefano Mazzocchi wrote: >> Maybe I'm missing something, but if A depends on B and B depends >> on A, >> isn't the separation between A and B something to reconsider? > > I agree that we should be minimizing these circular dependencies, > but if > you make their avoidance a hard rule then you soon end up dragging > lots > of code into a single massive-component. > Is that really true? The component can be a packaging artifact, can't it? build a pile of class files in the easiest way possible, and then package as you need to... > Some of the API circularities are quite minimal. For example > regular IO > in the LUNI component depends upon NIO because, amongst a few other > cases, java.io.FileInputStream.getChannel() returns a > java.nio.channels.FileChannel which in turn may throw a > java.io.IOException. > > I believe that the set of circular dependencies can be managed down > to a > small number, and the extra modularity gives greater flexibility. > > Regards, > Tim > > -- > > Tim Ellison (t.p.ellison@gmail.com) > IBM Java technology centre, UK. > -- Geir Magnusson Jr +1-203-665-6437 geir@optonline.net