Package structure for a Java project?

前端 未结 7 686
情歌与酒
情歌与酒 2020-12-02 04:01

Whats the best practice for setting up package structures in a Java Web Application?

How would you setup your src, unit test code, etc?

7条回答
  •  死守一世寂寞
    2020-12-02 04:44

    The way I usually organise is
    - src
            - main
                    - java
                    - groovy
                    - resources
            - test
                    - java
                    - groovy
    - lib
    - build
            - test 
                    - reports
                    - classes
    - doc
    

提交回复
热议问题