Best practices of project structure

Aside from the humorous (not without a bit of seriousness ) templates of Java projects with their "/main/java/com/seriouscompany/business/java/", etc., then, nevertheless, what structure can be considered a minimalistic and not grotesque standard that is easy to develop, and can also be demonstrated without shame to serious people?

Author: Дух сообщества, 2014-02-01

2 answers

  1. Create your own domain, for example kiselevadev.ru -however, you can not physically regat the domain, but we are talking about serious people?
  2. Enter all your projects in packages like: ru.kiselevadev.myproject
  3. Next, we build the project tree in the form:

/ src-sources

/test-test sources

/lib-libs

/ ext - other resources: technical specifications, images, etc.

/docs-documentation

 7
Author: Barmaley, 2014-02-02 06:25:51

We haven't come up with anything better than this: Introduction to the Standard Directory Layout

 3
Author: huffman, 2014-02-02 10:26:28