将 Flex Builder 与源代码管理结合使用
为 Flex Builder 工作区设置源代码控制存储库时,您认为什么值得检查?您是否排除工作区 .metadata 文件夹,但保留 .project 和其他项目特定文件?两个都保留吗?两个都扔掉吗?您是否有一个指导方针来决定哪个值得坚持,或者您是根据实际经验来决定的?
When setting up a source control repository for a Flex Builder workspace, what do you consider to be worth checking in? Do you exclude the workspace .metadata folder but keep the .project and other project specific files? Keep both? Throw away both? Is there a guideline you use to decide which is worth holding onto or do you do it out of practical experience?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我们检查源文件,但不检查二进制文件或设置文件(例如,.actionScriptProperties、.flexLibProperties、bin-debug 中没有任何内容、目标目录中没有任何内容)。我们使用 Maven 构建和部署。
We check in the source files but not the binaries or settings files (e.g., .actionScriptProperties, .flexLibProperties, nothing in bin-debug, nothing in target directory). We build and deploy with Maven.
我检查源目录和二进制目录;没有别的。我设置了 Flex Builder 项目以使用链接目录作为主要源;这使代码和存储库独立于任何项目特定设置。
我认识一些检查所有项目文件的人。这使得签出并建立新项目变得相对容易;因为您可以非常轻松地将项目文件夹导入 Flex Builder。
但我不能说其中一个比另一个更好。这取决于你想做什么。
I check in the source directoy and the binary directory; nothing else. I set up my Flex Builder project to use a linked directory as my primary source; which keeps the code and repository independent of any project specific settings.
I have known people who check in all the project files. This makes it relatively easy to check out and then set up a new project; as you can import the project folder very easily into Flex Builder.
I can't say one is better than the other, though. It depends what you want to do.