dir.md 1.2 KB

Mapping of directory structure

Temporary directories marks with (t)

  • / - Contains all files relevant to project
    • build (t) - Where compiled files/outputs are placed
    • conf - Contains all configuration files
    • dev - Configuration files for development
      • ant - Files that will be loaded into ant to set properties.
      • *.properties - Properties dynamically set in ant, prefixed with file name.
      • app - Files that will be included in the final classpath to be loaded at run time.
    • prod - Configuration files for production
      • Same as /conf/dev
    • lib (t) - Contains dependencies dynamically loaded by ivy
    • Each sub directory represents the dependencies for a build target.
    • scripts - Utility scripts such as database pre-seeding go here.
    • src - Java files go here. Mostly server code
    • tests - Testing files go here
    • Mirrors /src except contains tests for each java file
    • usda (t) - Where files downloaded from the USDA are placed
    • web - User interface files go here.
    • views - Directory of web pages the user can see
    • js - Directory of javascript files
      • templates - Any html files imported in by the javascript
    • WEB-INF - Directory of spring config files