Thursday, August 03, 2006

How do you construct your projects?

In IDEA 6, default project's structure has some changes. And everybody has his own way to construct his projects. But I want to know what is best way to organize it (at least, the best way with IDEA).

In my opinion, I construct my projects like this

[project-root]
|
|------- \Module1
| |
| |------- \src
| |------- \test
| |------- \javadoc
| |------- \lib
| |------- build.properties
| |------- build.xml
|
|------- \Module2
| |
| |------- \src
| |------- \test
| |------- \javadoc
| |------- \lib
| |------- build.properties
| |------- build.xml
|
|------- \build
| |
| |------- \production
| | |
| | |-------- \Module1
| | |-------- \Module2
| |
| |------- \test
| |
| |-------- \Module1
| |-------- \Module2
|
|------- \dist
| |
| |------- \Module1
| |------- \Module2

How about your opinion?

1 comment:

t800t8 said...

I saw Dave's idea and I think it's a good idea. My project at this time is not too complex so I will try to set up my future projects base on Dave's idea. But it will make Ant build to be intricate. OK, no problems, it's time to learn to create master Ant build.