Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 70156 invoked from network); 4 Jan 2006 11:45:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Jan 2006 11:45:56 -0000 Received: (qmail 31471 invoked by uid 500); 4 Jan 2006 11:45:54 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 31388 invoked by uid 500); 4 Jan 2006 11:45:53 -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 31377 invoked by uid 99); 4 Jan 2006 11:45:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2006 03:45:52 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of GHARLEY@uk.ibm.com designates 195.212.29.137 as permitted sender) Received: from [195.212.29.137] (HELO mtagate4.uk.ibm.com) (195.212.29.137) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2006 03:45:51 -0800 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate4.uk.ibm.com (8.12.10/8.12.10) with ESMTP id k04Bj8i9169754 for ; Wed, 4 Jan 2006 11:45:12 GMT Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by d06nrmr1407.portsmouth.uk.ibm.com (8.12.10/NCO/VERS6.8) with ESMTP id k04Bj4Jq151614 for ; Wed, 4 Jan 2006 11:45:04 GMT Received: from d06av04.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.12.11/8.13.3) with ESMTP id k04Bj4EZ006236 for ; Wed, 4 Jan 2006 11:45:04 GMT Received: from d06ml066.portsmouth.uk.ibm.com (d06ml066.portsmouth.uk.ibm.com [9.149.38.139]) by d06av04.portsmouth.uk.ibm.com (8.12.11/8.12.11) with ESMTP id k04Bj4Bj006227 for ; Wed, 4 Jan 2006 11:45:04 GMT In-Reply-To: <15243499.1136332928075.JavaMail.root@elwamui-hybrid.atl.sa.earthlink.net> To: harmony-dev Subject: Re: repo layout again MIME-Version: 1.0 X-Mailer: Lotus Notes Release 7.0 HF85 November 04, 2005 Message-ID: From: George Harley1 Date: Wed, 4 Jan 2006 11:45:02 +0000 X-MIMETrack: S/MIME Sign by Notes Client on George Harley1/UK/IBM(Release 7.0 HF85|November 04, 2005) at 04/01/2006 11:45:10, Serialize by Notes Client on George Harley1/UK/IBM(Release 7.0 HF85|November 04, 2005) at 04/01/2006 11:45:10, Serialize complete at 04/01/2006 11:45:10, S/MIME Sign failed at 04/01/2006 11:45:10: The cryptographic key was not found, Serialize by Router on D06ML066/06/M/IBM(Release 6.53HF247 | January 6, 2005) at 04/01/2006 11:45:03, Serialize complete at 04/01/2006 11:45:03 Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Dan, By "the java.lang.*/java.io.*/etc. classes that have key native methods tied to the VM" you mean the set of classes labelled as "kernel classes" in HARMONY-14. The existing documentation for these classes (see http://svn.apache.org/viewcvs.cgi/*checkout*/incubator/harmony/enhanced/classlib/trunk/doc/kernel_doc/html/index.html#KernelJavaClasses) states that "the VM writer is expected to entirely implement" these classes which suggests that your proposal to break these out independent of the class libraries is the way to go. With the implementation of the kernel classes completely under the control of the VM writer it is then an internal design decision whether or not to realise a given method as a native or as pure Java. So long as these kernel classes adhere to the expected interface from the perspective of the classlib then there is no real issue. Meanwhile a dummy/stub implementation of the kernel classes would still be required in the classlib source tree simply to enable compilation to complete. Does that sound reasonable ? Best regards, George ________________________________________ George C. Harley "bootjvm@earthlink.net" 04/01/2006 00:02 Please respond to harmony-dev@incubator.apache.org To harmony-dev cc Subject Re: repo layout again Some more platform tree names: solaris32.sparc solaris64.sparc linux32.sparc linux64.sparc darwin32.ppc (Is this correct for the new MAC boxes?) One of the things that has never come up in this discussion has been the possible breakout of the java.lang.*/java.io.*/etc. classes that have key native methods tied to the VM. These are currently set to 'method(int p1, char p2) { return(dummy_value); }' in the initial contribution, but will need to be converted to become 'native method (int p1, char p2);' in any real implementation. I would propose to break these out in some meaningful way to be independent of the rest of the class library, or possibly independent but absorbed into the class library, where the actual native code implementation is _not_ provided there, but is found in the VM code where it naturally belongs. What to you think? What other suggestions do you have? Dan Lydick -----Original Message----- >From: George Harley1 >Sent: Jan 3, 2006 4:57 PM >To: harmony-dev@incubator.apache.org >Subject: Re: repo layout again > >Hi, > >How does this sound for the layout of a given module/component/thing (in >this case "luni") ... > >classlib/trunk > | > +--java-src > | > +--luni > | > | > +---src > | | > | +--main > | | | > | | +-- > | | | > | | +--native > | | | > | | +--java > | | | > | | +--resources > | | > | +--test > | | > | +--java > | | > | +--resources > | > | > +--doc > > > >where the value of comes from the set of agreed identifiers for >all operating systems we build/run on that have platform-specific code >together with the "common" identifier for all platform-neutral code. There >would be multiple subdirectories under the "main" folder like >this ... > > > +---src > | | > | +--main > | | | > | | +--common > | | | | > | | | +--native > | | | | > | | | +--java > | | | | > | | | +--resources > | > | > +--win32.x86 > | | > | +--native > | | > | +--java > | | > | +--resources > | > | > +--linux32.x86 > | | > | +--native > | | > | +--java > | | > | +--resources > | > ...etc... > > > >I'm keeping my fingers crossed that my mail client doesn't completely mess >up the above formatting. > >Best regards, >George >________________________________________ >George C. Harley > > > > > >Geir Magnusson Jr >30/12/2005 16:34 >Please respond to >harmony-dev@incubator.apache.org > > >To >harmony-dev@incubator.apache.org >cc > >Subject >Re: repo layout again > > > > > > > > >Tim Ellison wrote: >> Geir Magnusson Jr wrote: >> >>>does this follow from the convo re layout we had last week? >> >> >> yes, plus me trying to follow along with an Eclipse set-up to do >> development. > >Ah - that's key for you. Please help us Eclipse journeymen when you get >it figured out... > >> >> >>>We'd >>>prollie want to rename java-src to something else being it's more like a >>>module than just java... >> >> >> Well today it _is_ just java (and a bit of metadata) in there, but I >> agree that thoughts of making them a bit more than that is goodness. >> > >I thought we'd given some serious thought and had some kind of agreement >that it's worth putting the natives for a given module in that module (I >won't use the term 'component' there) > >That would mean : > >modules/ > luni/ > java-src/ > ... your tree for luni java > native-src/ > ... your tree for luni natives > > >geir > >> Regards, >> Tim >> >> >>>Tim Ellison wrote: >>> >>> >>>>beats me :-) >>>> >>>>I was following along with the Maven standard directory structure [1] >as >>>>much as possible, since we might as well do that rather than invent >>>>something gratuitously different. (I know nothing about maven, and I'm >>>>open to changing the structure to suit the majority.) >>>> >>>>This is where I was heading: >>>> >>>>.../classlib/trunk/ >>>> java-src/ <- poor name, easily changed later >>>> / >>>> make/ <- component-level build script >>>> src/ >>>> main/ >>>> java/ >>>> org/apache/harmony/... <- impl types >>>> java//... <- Java API types >>>> resources/ >>>> test/ >>>> java/ >>>> org/apache/harmony/... <- unit tests >>>> resources/ >>>> META-INF/MANIFEST.MF <- OSGi manifest >>>> / >>>> ... >>>> make/ <- 'bootstrap'/global build script >>>> target/ <- results of builds >>>> >>>> native-src/ <- I'm going to leave the natives structure >>>> alone for the moment >>>> >>>>I guess the main omission at the moment is a location for >>>>platform-specific code, I didn't see anything on the maven site about >>>>that. >>>> >>>>[1] >>>>http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html >>>> >>>> >>>>Regards, >>>>Tim >>>> >>>>Geir Magnusson Jr. wrote: >>>> >>>> >>>>>what does "main" mean? >>>>> >>>>> >>>>>On Dec 29, 2005, at 8:31 AM, tellison@apache.org wrote: >>>>> >>>>> >>>>> >>>>>>Author: tellison >>>>>>Date: Thu Dec 29 05:31:44 2005 >>>>>>New Revision: 359782 >>>>>> >>>>>>URL: http://svn.apache.org/viewcvs?rev=359782&view=rev >>>>>>Log: >>>>>>Restructuring NIO component layout to allow main and test co-location >>>>>> >>>>>>Added: >>>>>> incubator/harmony/enhanced/classlib/trunk/java-src/nio/src/main/ >>>>>> incubator/harmony/enhanced/classlib/trunk/java-src/nio/src/test/ >>>>>> incubator/harmony/enhanced/classlib/trunk/java-src/nio/src/test/ >>>>>>java/ >>>>>> incubator/harmony/enhanced/classlib/trunk/java-src/nio/src/test/ >>>>>>resources/ >>>>>>Removed: >>>>>> incubator/harmony/enhanced/classlib/trunk/java-src/nio/src/com/ >>>>>> incubator/harmony/enhanced/classlib/trunk/java-src/nio/src/java/ >>>>>> >>>>> >> > >