文章

Standard Directory Layout

Standard Directory Layout

Standard Directory Layout

Introduction to the Standard Directory Layouts

Maven Standard Directory Layout

src/main/java Appllication/Library sources
src/main/resources Appllication/Library resources
src/main/filters Resource filter files
src/main/webapp Web application sources
src/test/java Test sources
src/test/resources Test resources
src/test/filters Test resource filter files
src/it Test resource filter files
src/assembly Assembly descriptors
src/site Site
LICENSE.txt Project’s license
NOTICE.txt Notices and attributions required by libraries that the project depends on
README.txt Project’s readme

Python Directory Layout

packaging_tutorial/

  • LICENSE
  • pyproject.toml
  • README.md
  • src/
    • example_package_your_username_here/
    • __init__.py
    • example.py
  • tests/

DDD file structure

  • src
    • config
    • database
    • errors
    • middlewares
    • models
    • repositories
    • routes
    • services

C project layout

  • project
    • include
    • source
    • shared
    • resource
    • debug
    • release
    • bin
    • readme
    • dll
本文由作者按照 CC BY 4.0 进行授权