用CVS获得源码
1. 直接进入Eclipse官网(http://wiki.eclipse.org/CVS_Howto)
2.获取建立cvs链接的地址(location)、通行证(Authentication)及连接方式(connection)
如下:
【表--2】
URL
Project Name
:pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse
The Eclipse
platform project
:pserver:anonymous@dev.eclipse.org:/cvsroot/tools
Tools project
:pserver:anonymous@dev.eclipse.org:/cvsroot/webtools
Web Tools Platform project
:pserver:anonymous@dev.eclipse.org:/cvsroot/birt
BIRT project
:pserver:anonymous@dev.eclipse.org:/cvsroot/technology
Technology project
:pserver:anonymous@dev.eclipse.org:/cvsroot/rt
Runtime project
:pserver:anonymous@dev.eclipse.org:/cvsroot/tptp
TPTP project
:pserver:anonymous@dev.eclipse.org:/cvsroot/dsdp
DSDP project
:pserver:anonymous@dev.eclipse.org:/cvsroot/datatools
Data Tools project
:pserver:anonymous@dev.eclipse.org:/cvsroot/stp
STP SOA tools project
:pserver:anonymous@dev.eclipse.org:/cvsroot/modeling
Modeling project
:pserver:anonymous@dev.eclipse.org:/cvsroot/mylyn
Mylyn project
:pserver:anonymous@dev.eclipse.org:/cvsroot/org.eclipse
eclipse.org web sites
:pserver:anonymous@dev.eclipse.org:/cvsroot/datatools
Data Tools project
You can also create an anonymous CVS connection manually:
Host
dev.eclipse.org
Repository Paths
/cvsroot/…
User
anonymous
Password
null
Connection Type
pserver
3. 创建cvs连接:
由以上信息,可以创建cvs连接:
具体步骤:
0> 打开Eclipse工具
1> (在Eclipse中)打开CVS连接配置界面:
File--ànew-àOther-àCVS(前提是Eclipse装有CVS插件)
--àCVS Repository Location-àNext—到cvs链接配置界面
2> 建立CVS连接:
Host:dev.eclipse.org
Repository Paths: /cvsroot/…(和表—2中的数据对应)
User:anonymous
ConnectionType:paserver
点击Finish(对应项目的连接就建好了)
4. 检出项目,获得需要的项目源码:
打开CVS Repositories视图--à点击HEAD,找到需要的项目
--à右键单击,选择Check Out-à切换到项目视图中,所需项目已经导出
---à查看即得源码