2、共享工程项目
(1)创建工程
l 在Eclipse中创建如下图的简单工程

(2)指定Repository位置
l Windows -> Open Perspective -> Other
l 选择CVS Repository Exploring项,打开CVS Repository Exploring
l 在CVS Repositories视图中右击,选择New -> Repository Location

l 指定CVS主机名和Repository路径(带/的Repository名)
l 指定用户名和密码
l 指定通信协议,通常使用pserver
l 点击Finish创建Repository位置信息
(3)共享工程
l 在Navigator视图中右击工程名,选择Team -> Share Project
l 选择已创建的Repository位置(也可以在此处新建)

l 缺省使用工程名作为模块名
l 向导的最后一页显示工程中将要被提交和追加的文件

l
点击Finish按钮完成共享,期间对提交和追加确认都选择Yes,并可以输入描述性注释
l 共享后的工程如下图所示
