jBuilder 4与Source Safe的集成。(1分)

  • 主题发起人 曹晓钢
  • 开始时间

曹晓钢

Unregistered / Unconfirmed
GUEST, unregistred user!
jBuilder 4我是刚拿到手,立刻把它和Source safe连了起来。
1.到http://dwjbuilderaddin.sourceforge.net/下载source safe addin.
2.用jar xf SourceSafeAddin.jar解包。注意里面有readme.txt和SourceSafe.properties文件。
3.仔细阅读readme.txt.安装不是一帆风顺的,我把jbuilder hang了2次才装成功。
4. 找到你的VSS的目录。如果你使用服务器的话,最好映射一个本地driver.
比如 net use s: //stargate/VSS
5. copy 这个properties文件到你自己的.jbuilder目录。我的目录是c:/document and settings/administrator/.jbuilder4;
编辑这个文件。
下面是我自己的这个文件的内容:
# the SourceSafePath variable MUST be defined
SourceSafePath=s:
#注意,如果是本地路径,比如d:/somefolder/vss,要写成d://somefolder//vss;
#我就上过当了...
# if not defined by the SourceSafeUser variable, the default user id will be
# employed
SourceSafeUser=cao
# if a password is required for Source Safe, be sure that the SourceSafePassword
# variable is defined. failure todo
so can make JBF appear to hang
SourceSafePassword=xxxxx (哼哼,可不能让你们知道:)
# if a value is specified for InitialProject, the Source Safe Addin will auto-
# matically attempt to make the project specified the current project in Source
# safe
InitialProject=$/
6. 退出jbuilder,把这个SourceSafe.jar copy到jbuilder/lib/ext目录下。
7.在命令行,执行jbuilder -verbose,
在列出来的结果中会看到以下的内容:
-------------------------------------------------------------------------------
SourceSafeAddin v1.11 for JBuilder by David P. White (dpwhite@halcyon.com)
-------------------------------------------------------------------------------
Note: should JB appear to hang at this point, check the SourceSafe.properties
file to ensure that the proper Source Safe user and password settings are
configured. When a password is required and none is provided, the system
will hang. On your system, the SourceSafe.properties file should be in:
C:/Documents and Settings/Administrator/.jbuilder4
-------------------------------------------------------------------------------
addToolBarGroup: SourceSafe
8. 应该一些正常了!要是有什么问题,在第7步会看到出错信息。按照提示解决吧。
如果以上的内容显示了jbuilder还hang的话,不用-verbose启动一次。应该就没有问题了。
9. 进入后,在jbuilder toolbar上会多了source safe 的toolbar,而且工程中每个文件的context menu
中多了source safe的菜单。
10. enjoy!
 
不好意思 想请教一下用SOURCE SAFE的好处何在?
 
曹大侠: 分析一下 Source safe, CVS 以及 对项目管理的作用,
我正在考虑练功场的功能, 我觉得 练功场 = onproject.com + sourceforge.net
 
9494,我也想学学。
谢过先!
 
to tuti:
source safe的主要功能是用于小组开发项目中的代码管理上,当小组多个成员对一个文件
进行修改时,可以分别修改,然后check in,vss就会把你的版本merge到这个文件中。
 
到也check in 过,不过都是手工的...
 
大虾们能不能再介绍一下安装使用Source Safe需要什么东西。比如是不是需要服务器
等。还有,集成以后,check out和check in是不是自动的?
 
呵呵,是做版本控制的
可以有服务器(多人合作),visual stduio中带的
borland的team source也差不多一个意思,不过偶就没用过了
 
接受答案了.
 

Similar threads

D
回复
0
查看
885
DelphiTeacher的专栏
D
S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
I
回复
0
查看
3K
import
I
I
回复
0
查看
715
import
I
顶部