harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject repo layout again (was: Re: svn commit: r359782 - in /incubator/harmony/enhanced/classlib/trunk/java-src/nio/src: com/ java/ main/ test/ test/java/ test/resources/)
Date Fri, 30 Dec 2005 16:28:27 GMT
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.

> 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.

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
>>     <component_name>/
>>       make/               <- component-level build script
>>       src/
>>         main/
>>           java/
>>             org/apache/harmony/...  <- impl types
>>             java/<whatever>/...     <- Java API types
>>           resources/
>>         test/
>>           java/
>>             org/apache/harmony/...  <- unit tests
>>           resources/
>>       META-INF/MANIFEST.MF         <- OSGi manifest
>>     <component_name_2>/
>>       ...
>>   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/
>>>>
>>>
>>
> 

-- 

Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

Mime
View raw message