I wonder how appropos this will be (the maven layout). It's tried and true for a broad class of common projects, but ours isn't as simple as the norm.

geir

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, [EMAIL PROTECTED] 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/



Reply via email to