说说cvs的本地化管理(四)

类别:Java 点击:0 评论:0 推荐:

最后通过完全和NB无关的方式实现了程序的版本管理,应该算是一种迂回。通过几次试验操作,现在已经基本能够实现版本管理的一些基本功能,但对分支管理、版本融合以及目录移除添加还没有完全掌握,只能留待以后在需要的时候补充学习了。虽然已经能够使用这个功能,但对NB支持cvs而只能通过外部方式实现的现状耿耿于怀,NB既然实现了此功能,不把它发挥出来岂不可惜!不死心,晚上又试了试Mounting Version Control,这次NB好像能够识别出me已经正在使用的repository,因为cvs.exe的路径已经放在系统路径中了,设置了work directory后直接finish。哦赫,和以前一样,又出错了:

the following command failed exectue in the system:
 sh.exe -c cd ""D:\mycode\0wrkdir\j2me_other///.""&&   ""cvs"" -d "":local:""  -f status -l 
 

气愤,马上把它unmount。回到设置窗口仔细研究,在use command line cvs client选项中unix shell中显示tips为“unix shell for windows 95/98/ME”,其默认值是sh.exe。想到出错的不能执行的命令,难道是这里的问题?!

拿那个tips的内容在帮助系统中搜了一下,嘿嘿,果不其然,居然找到了这么一条:

VCS Support on Windows 95, Windows 98, and Windows ME,即在win95、98、ME下的vcs支持,内容中是这样说的:Windows 95, Windows 98, and Windows ME do not have a command shell that enables the IDE to work with command-line version control systems. Before you can use a command-line version control system with the IDE on these systems, you need to install a UNIX shell to interpret the commands. The sh.exe and bash.exe programs, which are available from Cygwin at http://sources.redhat.com/cygwin/, are both suitable for this task.
 

呵呵,原来如此。看来me要上网搜个sh.exe来装装看咯。

本文地址:http://com.8s8s.com/it/it14993.htm