我准备实施一个源代码管理系统(颠覆),但我正面临着如何构建我的文件夹一些怀疑。项目文件夹结构建议
我使用Delphi进行所有开发,并从IDE中编译项目。
我当前的项目文件夹结构如下:
-E:\Work\1. Shared --Forms (shared forms across all projects) --Units (shared units/classes across all projects including 3rd party like JCL) -E:\Work\2. Company Name --Admin (stuff related with admin work like a license keys generator, Windows CGI to handle order processing automatically, all developed in Delphi) --Projects ----ProjectA -----5.x (version 5.x) ------BIN (where all the binaries for this project go) ------Build Manager (where the FinalBuilder project lives) -------Install (NSIS file that create the setup.exe) -------Protection (Project files to protect the compiled exe) -------Update (inf files related with the auto-update) ------Docs (where the readme.txt, license.txt and history.txt that are included in the setup file are) -------Defects (docs for any testing done by me or others) -------HTMLHelp (html help for the project) ------R&D (where screenshots, design ideas and other R&D stuff goes to) ------Releases (when building a release with FinalBuilder the setup file created by nsis is placed here) ------Resources (Images and other resources used by this project) ------Source (if a sub-project exists it will compile to BIN since they are all related) -------SubprojectA -------SubprojectB -------SubprojectC --Sites --- companywebsite.com (the only one at the moment but if we decide to have individual web sites for products they would all be placed on the Sites folder)
符号 “ - ” 标记目录。
任何人都在意对当前结构发表评论或有任何改进建议吗?
谢谢!
5.x的指的是5.x版我通常保留1.x,2.x的文件夹以快速访问旧版本。 – smartins 2008-11-17 20:44:06
SVN将保留修改。他们应该在单独的标签/分支(国际海事组织) – Tim 2008-11-17 20:45:52