Les Hazlewood wrote:
How do you see the directories, i.e. code, resources, etc.?

After working with wicket source trees in my own project trees, I've become
keen on keeping things co-located based on pacakge.  My personal preference
is to have a src and a test directory directly under the module directory
with code and resources co-located side-by-side for easy access/lookup.  I
noticed this greatly simplified my build scripts too.

so, for example, we would have

trunk/
|--build.xml
|--pom.xml
|--build.gradle
|--core/
|  |--src/
|  |--test/
|--web/
|  |--src/
|  |--test/
|--support/
|  |--spring/
|  |  |--src/
|  |  |--test/
|  |--ehcache/
|  |  |--src/
|  |  |--test/

etc...

Is this copacetic?  If it is, and we were to have a maven build in addition
to the regular build, could maven handle this directory structure?
Nope. But close...

you must have something like :

core/
 |--src
       |--main
       |      |--java
       |      |--resources
       |--test
             |--java
             |--resources

This should not be a real burden though.

--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


Reply via email to