Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
2.01
-
None
Description
In order to support maven in future, or just to provide a more standard directory layout (see apache and jakarta project), I would suggest to slightly change the project layout in svn.
suggested changes:
- move /src to /src/main. Rationale: allow a common src directory which can host in future "different kind" of sources, mainly junit tests ("src/test") or resources ("src/resources")
- move /applications/webapps/magnolia to /src/webapp. Rationale: clearly separate source files from generated files (everything is a source file goes into /src, everything is a generated file goes into /target)
- fix ant build.xml and idea project in order to compile classes to /target/classes instead of /classes. Rationale: separate generated files and allow a common path for different kind of artifacts (classes, junit tests, war, distributions).
See also http://maven.apache.org/reference/dirlayout.html
note that this directory layout is not required by maven but it's the suggested one derived by best-practices.
Checklists
Acceptance criteria