SVN 和二进制文件 [英] SVN and binaries

查看:47
本文介绍了SVN 和二进制文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在询问这个问题后,我被告知不要将二进制文件签入 subversion.我的问题是,我该如何处理需要在 bin 文件夹中的 3rd 方 dll?我需要能够检出工作副本,并将其作为网站运行,所有 dll 等都完好无损.

After asking this question I was advised not to check in binaries into subversion. My question is then what do I do with 3rd party dlls that are required to be in the bin folder? I need to be able checkout a working copy and have that run as a website with all dlls, etc intact.

推荐答案

您另一个问题的答案表明您不要将任何生成的文件提交给 Subversion.bin 文件夹中的 DLL 通常作为应用程序的一部分构建,因此,它们应该重新生成而不是存储在 subversion 中.

The answers to your other question suggest you don't commit any generated files to subversion. DLLs in the bin folder are often built as part of the application, therefore, they should be regenerated rather than stored in subversion.

如果 DLL 是您没有源代码的 3rd 方 DLL,那么我会将它们存储在 subversion 中.您应该将重新创建应用程序所需的所有内容都放入 subversion 中.这意味着您的源代码和第 3 方库或程序.

If the DLLs are 3rd party DLLs for which you don't have the source code then I would store them in subversion. You should put everything in subversion that is needed to recreate the application. That means your source code and 3rd party libraries or programs.

这篇关于SVN 和二进制文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆