将 Java jar 文件放入存储库(CVS、SVN ..) [英] Java jar files into a repository (CVS, SVN..)

查看:18
本文介绍了将 Java jar 文件放入存储库(CVS、SVN ..)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么将 Java jar 文件提交到存储库(CVS、SVN ..)是个坏主意

Why it's a bad idea to commit Java jar files into a repository (CVS, SVN..)

推荐答案

因为您可以从源代码重建它们.另一方面,如果您谈论的是项目所需的第三方 JAR 文件,那么最好将它们提交到存储库中,以便项目自包含.

Because you can rebuild them from the source. On the hand if you are talking about third-party JAR files which are required by your project then it is a good idea to commit them into the repository so that the project is self-contained.

这篇关于将 Java jar 文件放入存储库(CVS、SVN ..)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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