- 浏览: 168619 次
- 性别:
- 来自: 杭州
文章分类
最新评论
-
Vcb:
http://osgi.jxtech.net 是目前发现最好的 ...
OSGi控制台在Eclipse插件开发中的妙用 -
zxjlwt:
学习了。http://surenpi.com
OSGi控制台在Eclipse插件开发中的妙用 -
enen1982:
这个写得相当不错,找了好久,省了我一堆事,能不能复制整个目录
Eclipse插件中如何读取插件项目下的文件 -
yhyysxqygs:
用到起了
为RCP程序添加帮助支持 -
ququsxc:
这个一定要顶
Eclipse插件中如何读取插件项目下的文件
CVS Howto
From Eclipsepedia
There are several ways to get the source for the Eclipse projects. Most developers are actually developing their own plug-ins and are interested in browsing the Eclipse source and using it during debugging. For this, you can either browse the CVS repository online or use the source included in the Eclipse Classic download featured on the Eclipse downloads page . The download contains source zips which can be attached to jars in the SDK's Java tooling and used for browsing and debugging.
Contents[hide ] |
Anonymous CVS
For people actually want to change Eclipse code but who do not have the required commit rights in that area, all elements of the Eclipse projects are available via anonymous access to the development CVS repository. Using anonymous access you can checkout code and modify it locally, but cannot write it back to the repository. This is handy if you would like to fix a bug or add a feature. Get the code via anonymous access, do your work and then pass the work on to a committer (in a patch attached to a bug report) for inclusion in the repository. Committers love to have bugs fixed for them!
To use anonymous access from a running Eclipse platform, simply go to a Repository View and add a new CVS repository location. Use the following information to connect:
Host | dev.eclipse.org |
Repository Paths | (See "Repository paths", below) |
User | anonymous |
Password | (leave blank) |
Connection Type | pserver |
From there you can browse the repository and add projects to your workspace. If you do some changes that you'd like to contribute, rather than committing the changes to the repository (which you can't do as the anonymous user), you should save a diff file and either mail it to a committer or post it on the relevant mailing list. Note that large files cannnot be posted to the mailing lists.
Note that the pserver protocol is only available to the anonymous user. All committers must use SSH to access the CVS repository if they wish to use their user id and password (i.e., if they want to write to the repository).
The repository is also made available for browsing at http://dev.eclipse.org/viewcvs/ .
Committer access to CVS
Developers with commit rights have individual user ids and passwords in the Eclipse project development repository. As a committer you can use SSH (Secure SHell) to connect to the CVS repository as follows. Go to a Repository View and add a new CVS repository location. When asked for the repository location enter the following:
Host | dev.eclipse.org |
Repository Paths | (See "Repository paths", below) |
User | (your committer user id, supplied by the webmaster) |
Password | (your committer password) |
Connection Type | extssh |
Once your information is authenticated, you can browse the repository and add projects to your workspace. If you do some changes that you'd like to contribute, after testing and ensuring that you have followed the contribution guidelines, you are free to release your changes to the repository. Of course, you can only release changes to projects for which you have commit rights.
Note that you can use the SSH protocol and your Eclipse user id to access projects for which you are not a committer but you will not be able to release changes.
CVS Repository Paths
Use the following repository paths to connect to the Eclipse projects:
/cvsroot/eclipse | The Eclipse platform project |
/cvsroot/tools | Tools project |
/cvsroot/webtools | Web Tools Platform project |
/cvsroot/birt | BIRT project |
/cvsroot/technology | Technology project |
/cvsroot/rt | Runtime project |
/cvsroot/tptp | TPTP project |
/cvsroot/dsdp | DSDP project |
/cvsroot/datatools | Data Tools project |
/cvsroot/stp | STP SOA tools project |
/cvsroot/modeling | Modeling project |
Other repository paths:
/cvsroot/org.eclipse | eclipse.org web sites |
Using Eclipse and CVS
In general, each Eclipse plug-in corresponds to a CVS module of the same name in the repository. These modules are further grouped using CVS module aliases. A module alias is a virtual module which stands in for several other modules. In the Eclipse repository, each component has a module alias which references the plug-in projects/modules which are part of the component. For example, the Platform's Core component has an alias called platform-core which references all of the Core's plug-in projects/modules (e.g., org.eclipse.core.runtime, org.eclipse.core.resourses,...). There are also module aliases for each component's tests and examples. The module aliases have been elided if there is nothing to reference (e.g, if there are no examples). The CVS support in Eclipse supports loading and filtering using these module aliases.
Most open source CVS repositories do not enable the history file mechanism for recording repository operations since it is too costly. As a result, users must explicitly know and state the CVS tags they wish to use when looking at the repository. Eclipse manifests CVS tags in two ways; as version labels and as stream (CVS branch) labels. Rather than having to remember and manually enter these values, Eclipse can discover them for you.
Users can choose a specific file in the repository and then ask Eclipse to add all of the version or stream labels on that file to the repository explorer's view. Users can then select a stream or version and navigate to other resources which are simiarly tagged.
The auto-discovery mechanism can be costly in some situations so Eclipse also supports the explicit declaration of version and stream (CVS branch) tags. Again using the repository explorer users can define a project version label or a stream name (both of which correspond to CVS tags). The repository explorer will then use these as the context in which to browse the repository.
For more details on these mechanisms, please see the online help documentation included in the Eclipse SDK.
Other CVS Clients
The Eclipse CVS repository is a standard CVS implementation. As such, you can use just about any CVS client to read/write resources from/to the repository. There are however a number of files maintained in the workspace which contain Eclipse metadata (e.g., project definitions, Java classpath information). These files are written locally by Eclipse tools and then persisted in the the CVS repository. If you are using third party CVS clients, these resources may get out of date or inconsistent.
A checkout of a CVS repository created by Eclipse with the extssh protocol is, however, in nonstandard format. Not all CVS clients understand the reference to the extssh protocol in the CVS/Root files. In particular, the Unix CVS client (download ), in its versions 1.11.22 and 1.12.13, gives an error message Unknown method (`extssh') in CVSROOT. This is a problem for you if you want to monitor and update a checkout with both Eclipse and the command-line cvs program. To get a version of cvs that supports the extssh protocol notation, you need this patch for the 1.11.x series or this patch for the 1.12.x series or the newest sources from the cvs CVS. Alternatively, you can use distinct checkouts: one for use with Eclipse, and one for use with the command-line tool.
CVS and firewalls
Since some developers are behind firewalls which block access to hosts on tcp port 22 (ssh) or cvs pserver (2401), eclipse.org provides a redirection host which may be used in some cases to work around these restrictions. This host may be used if your firewall passes traffic on ports 80 or 443. This host cannot be used if you are behind a transparent proxy.
Host access may be tested in the following manner, by using a command prompt (Start/Run/CMD on Windows)
For committer extssh access:
telnet proxy.eclipse.org 443
For anonymous CVS services:
telnet proxy.eclipse.org 80
A successful connection will look similar to the following; any connection log that shows a mangled response or doesn't allow a connection would be considered a failure:
bash-3.00$ telnet proxy.eclipse.org 80 Trying 206.191.52.48... Connected to proxy.eclipse.org. Escape character is '^]'.
Anonymous CVS Setup using a Firewall
extssh CVS Setup using a Firewall
CVS tarball snapshots
We now provide weekly snapshots of the entire CVS repositories. These tarballed files are the raw RCS-encoded files (,v), intended for those who need the entire CVS repository. If you're only looking for the latest source, or a specific version, THIS IS NOT WHAT YOU WANT . Connect to our pserver CVS server (above) instead.
The snapshots are available on our archives site .
See also
<!---->发表评论
-
Eclipse的2012年规划
2012-02-10 09:42 946最近看到了一篇Eclipse基金会Executive Dire ... -
Eclipse RCP P2 (3.6)
2011-07-12 10:42 1467暂时没空整理,参考资料: http://wiki.eclip ... -
OSGi控制台在Eclipse插件开发中的妙用
2011-03-17 15:05 6050OSGi的实现本身有一个控制台,提供插件的查看和管理功 ... -
eclipse项目集锦
2010-06-03 11:34 90收集Eclipse官方项目及其简单介绍。 Eclipse I ... -
Eclipse December Splash
2009-12-22 10:52 955nice. -
关于在Eclipse中使用Ant中文路径乱码的错误
2009-12-10 09:41 2878情况是: 1. 有一个项目,这个项目的路径没有使用默认路径, ... -
关于RCP项目使用UTF-8编码,导出后中文乱码的解决方法。
2009-10-28 14:51 27111.右键单击build.properites文件,&quo ... -
视图和编辑器的区别
2009-08-19 11:30 1172When they first start to wri ... -
ActionSet里多个Action在工具栏上出现的顺序
2009-07-22 15:33 1342按照plugin.xml里,定义顺序的相反的顺序 -
IResource接口中的获取位置的几个方法比较
2009-06-15 19:49 1274以某个文件为例,各方法的结果如下: getFullPath: ... -
插件开发中问遇到的小问题记录
2009-04-01 15:17 36651.添加第三方包以后, ... -
Eclipse插件中如何读取插件项目下的文件
2009-03-02 22:35 6045在进行插件开发的时候,有的时候希望把某些配置文件,或者数据文件 ... -
plugin.xml文件中控制可见性和可用性总结。
2009-02-24 23:39 0Eclipse插件开发中最常见的就是一些使用平台提供的一些扩展 ... -
关于在插件开发中遇到的NoClassDefineFound异常。
2008-07-18 15:25 1253情况是: 1.两个插件,插件B依赖于插件A,并且使用了A中的类 ... -
关于使用Junit对Eclipse插件项目进行单元测试。
2008-07-16 15:53 34941.创建一个插件测试项目;即创建一个普通的插件项目。 2.添加 ... -
怎样让你的插件功能部件出现在Eclipse的about对话框中
2008-06-16 21:05 14471.首先要有一个功能部件项目 ,并且设置其ID与插件项目相同 ... -
【转】Open an editor on something that is not a file
2008-06-05 21:17 1386转自EclipseFAQ Since 3.3 you can ... -
【转】eclipse.ini说明
2008-06-05 21:12 2086-vmargs -Xms128M -Xmx512M -XX:P ... -
关于Eclipse中的选择服务(SelectionService)V1.0
2008-06-05 21:06 2684翻译自下面文章。还没有完成翻译,因为最近没有精力做这个事情,又 ... -
No Application ID has been found错误提示。
2008-05-08 20:47 13378最近一直遇到这个问题,所以比较郁闷,仔细看了下错误提示,然后做 ...
相关推荐
标签“cvs_lin cvs_linux”强调了CVS在Linux环境中的特性和用法。在Linux中,CVS可以通过命令行方便地进行交互,这对于熟悉Unix/Linux shell的开发者来说非常高效。同时,由于CVS支持标准的Unix文件权限和访问控制,...
Eclipse CVS插件就是专门为Eclipse集成CVS功能而设计的工具,使得开发者可以在Eclipse环境中方便地进行CVS操作。 在安装Eclipse CVS插件之前,你需要确保已经下载了相应的压缩包文件。这个压缩包通常包含了插件所需...
**CVS on Eclipse利用ガイド** 这份文档主要介绍了如何在Eclipse IDE中使用CVS来进行版本控制。CVS (Concurrent Versions System) 是一个开放源代码的版本控制系统,用于管理软件开发过程中的源代码版本控制。而...
通过命令行窗口,转到cvsnt目录,使用`cvs -d c:\cvsfile passwd -a giles`命令创建用户giles,然后设置密码。 完成以上步骤后,CVS服务器已经配置完毕,客户端可以使用创建的用户(如giles)登录并开始使用。 1.3...
TortoiseCVS_CVS客户端工具
《OpenQVis_cvs_19_03_2003.tar:探索量子可视化工具的奥秘》 OpenQVis_cvs_19_03_2003.tar 是一个历史版本的OpenQVis项目的源代码压缩包,发布于2003年3月19日。OpenQVis,全称Open Quantum Visualization,是一个...
Eclipse CVS插件是开发人员在使用Eclipse集成开发环境时进行版本控制的重要工具,它集成了CVS(Concurrent Versions System)系统,使得开发者能够方便地管理代码库,实现团队间的协同开发。CVS是一种广泛使用的源...
《cvs_root与BBS论坛源码解析》 在IT领域,源码是软件开发的基础,它揭示了程序运行的内部逻辑。本篇将详细探讨名为“cvs_root.tar.gz_ROOT”的压缩包,该文件涉及一个BBS(Bulletin Board System,电子公告板系统...
"cvs_java_parse.rar"这个压缩包可能包含了一系列用于解析和操作CVS数据的Java程序或库。 在这个场景中,"cvs_java_parse"可能是一个项目或工具的名字,专注于解析CVS存储库中的信息。这可能包括读取CVS日志,提取...
文件名`CVS_中文手册.chm`表明这是一个帮助文件,通常以CHM(Compiled Help Manual)格式存储,便于用户离线查阅。用户可以通过这个手册快速查找CVS的相关信息,解决在使用过程中遇到的疑问。总的来说,《CVS中文...
- **远程CVS服务器设置**:如果CVS服务器位于远程,则需要设置`CVSROOT`变量为远程地址的形式,例如`CVSROOT=:ext:$USER@test.server.address#port:/path/to/cvsroot`,同时设置`CVS_RSH=ssh; export CVS_RSH`,以...
本课件介绍了在eclipse开发环境下安装和使用cvs插件的方法。cvs用于联合开发管理,在共同开发一个工程时使用cvs可以保证小组成员之间的协作和同步。
4. **兼容性设置**:转至“Compatibility”选项卡,勾选所有选项,以确保CVS 2.0.58d在Eclipse 3.0.1下的正常运作。对于Eclipse 3.1M4及更高版本,此步骤可能非必要。 5. **用户权限配置**:在服务器端分配用户名,...
在Eclipse的CVS配置中,勾选“CVSNT Clients”下的“Respond as cvs1.11.2 to version request”选项。这是为了确保Eclipse与CVSNT之间的兼容性,因为不同版本的CVS可能存在通信协议的差异。 5. **连接到CVS仓库**...
Cvsnt是一款强大的版本控制系统,它扩展了原始的CVS(Concurrent Versions System)功能,增加了许多企业级特性,如支持多种数据库、SSL加密等。在Linux环境下,Cvsnt提供了RPM(Red Hat Package Manager)格式的...
【标题】"cvs_v10_单片机工程已经了通过编译"指的是一个针对STC15F2K60S2单片机的工程,在开发过程中已经完成了编译阶段,这意味着代码已经被转化为机器语言,可供单片机执行。在嵌入式系统开发中,编译是至关重要的...
本文将详细讲解如何使用Eclipse IDE整合CVS,并介绍名为"myPluginCVS"的插件,帮助开发者更高效地进行代码管理和协同工作。 Eclipse是一款广泛使用的开源集成开发环境,支持多种编程语言,它提供了丰富的插件生态,...