rk2*_*010 2 java web-applications project-structure
我有史以来第一次有机会开始一个新项目.
关于"发展",我对项目结构感到满意.它有通常的'src','lib','resources','test'等dirs.我已经在Eclipse项目中使用了这个结构.
我无法确定源控件中的dir结构应该是什么.我目前正在考虑以下问题:
/sourcecontrol/branch/MyProject:
-dev
---- Here I will have dirs that make up the 'Eclipse' project.
-dbscripts
---- sql Scripts for any DB Schema change
-documentation
---- UserGuide.pdf
---- DeveloperGuide.pdf
---- Other such docs
-sh
---- Here I will have the scripts to deploy, start, and stop the web server.
-notes
---- Here I will store random 'helpful notes' that developers can create for other developers.
Run Code Online (Sandbox Code Playgroud)
这个想法是,当有人想要'开发'项目时,他们只能查看'dev'目录.
这是一个好主意吗?您过去的经验有何建议?我一直无法找到一个不讨论'src','test','lib'等新项目的'最佳实践'.
编辑:如果它有所帮助,它是一个java spring + hibernate webapp
编辑2:这是我现在关注的问题:Eclipse项目结构是否也应该是Source countrol中的项目结构?如果是这样,那么Eclipse项目的基础目录也将成为源控件项目的基础目录