code_junkie

Popular folder structure for build

Nov 13th, 2011
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 KB | None | 0 0
  1. /client/projectname/trunk/source/Solution Name.sln
  2. /client/projectname/trunk/source/Project.One
  3. /client/projectname/trunk/source/Project.Two
  4. /client/projectname/trunk/source/Project.Three
  5. /client/projectname/trunk/source/SQL/
  6. /client/projectname/trunk/source/SQL/SomeScript.sql
  7. /client/projectname/trunk/libraries
  8. /client/projectname/trunk/resources/Nunit
  9. /client/projectname/trunk/resources/LLBLGEN
  10. /client/projectname/trunk/documentation
  11. /client/projectname/trunk/builds
  12.  
  13. src/ - source files
  14. src/tests - unit tests
  15. doc/ - documentation
  16. res/ - static resources (textures, locale database, level definitions etc)
  17. build/ - tools needed to build the system
  18. project specific libraries and compilers
  19. Makefile - the makefile (make, test, clean etc)
  20.  
  21. /src - source files (test files are within a package 'test' here, or 'test' subpackage of what is being tested)
  22. /lib - required libraries
  23. /doc - text documentation and development notes
  24. /build - where we build (each separate build item within a subfolder here)
  25. /conf - configurations (each config, production, test, developer, etc gets a folder in here, and when building Jars and Wars the correct set is copied across)
  26. /extras - other stuff
  27. /extras/resources - resources that should be included within generated Jars, e.g., icons
  28.  
  29. /websites - Web related content and configurations (each website in its own folder here)
  30. /websites/$site/webcontent - All the web content here
  31. /websites/$site/conf - website related configuration files here (instead of /conf)
  32. /websites/$site/build.xml - ANT build script for website that creates a war, etc
  33.  
  34. (remember you might have an admin site and a public site for a single project, hence the multi-site configuration within a single project, or even site v1 and site v2, etc)
  35.  
  36. project
  37. src/main/java --> source files
  38. src/main/resources --> resources files (*.xml, *.properties, etc.)
  39. src/test/java --> source files for tests.
  40. src/test/resources --> resources files for tests.
  41.  
  42. /build/reports - reports and logs from the build process
  43. /build/artifacts - all output of the build process is copied here
  44. /src/ - all solution source code
  45. /lib/ - 3rd party or other build dependencies
  46. /tools/... - all other helper tools used in the build process
  47. /tools/nant - example tool
  48. /tools/nunit - example tool
  49. /myProject.sln - visual studio solution file (or other IDE)
  50. /default.build - nant build file
  51.  
  52. Build - ignored from version control
  53. Artifact - build artifacts (grabbed by CC.NET from here)
  54. Package - generated zip or install packages
  55. Test - all assemblies for unit tests
  56. Help - autogenerated documentation
  57. Resource
  58. Build - plugins and extensions for NAnt/MSBuild
  59. Library - 3rd party dependencies
  60. Tool
  61. FxCop
  62. ILMerge
  63. NCover
  64. NCoverExplorer
  65. NUnit
  66. SHFB
  67. Wix
  68. Samples
  69. SampleProject1
  70. SampleProject2
  71. Source
  72. Project1
  73. Project2
  74.  
  75. GlobalAssemblyInfo.cs
  76. VersionAssemblyInfo.cs - integration server updates this one
  77.  
  78. Test
  79. Project1.Tests
  80. Project2.Tests
  81.  
  82. Solution.build - primary build file
  83. Solution.ccnet - CruiseControl adapter for the build file
  84. Solution.sln - Visual Studio
  85.  
  86. go.cmd - shortcut for launching the build file locally
  87. readme.txt - licenses and overview
  88. SharedKey.snk - for strong naming
Add Comment
Please, Sign In to add comment