Eclipse CDT+RSE+PTP:如何设置具有远程索引的同步远程项目?
我应该从事的这个 C 项目在本地建立索引花费的时间太长(> 5 小时),而且构建还取决于远程服务器上的环境设置。
所以我正在考虑让服务器进行索引,同时保留项目的本地副本,以便快速编辑和浏览。经过google一番搜索,发现Eclipse PTP5.0的同步远程项目非常接近我想要的。
但文档似乎不太清楚如何设置它。我尝试过很多次,没有成功。
我看到很多地方都提供远程工具和 RSE 选项,我该选择哪一个?它们有何不同?我是否必须手动运行 rdt-server(我没有服务器上的 root 访问权限)?是否可以仅使用 ssh 来执行此操作,而不在服务器上打开另一个端口?
有这种设置的指南吗? 或者,还有其他方法可以实现这一目标吗?
谢谢 !
编辑: 再想一想,同步对我来说似乎并不是很重要,因为无论如何 PTP 都是通过 git 来完成的。所以远程索引是我最需要的。
This C project I am supposed to work on is taking too long(>5 hours) to do indexing on local, also the building depends on the environment setting on a remote server.
So I am thinking to have the server doing the indexing and at the same time keep a local copy of the project just for the fast editing and browsing. After some search on google, I found that Eclipse PTP5.0 's synchronized remote project is very close to what I want.
But the docs doesn't seem very clear how to set it up. I have tried many times, no success.
I see many places with Remote Tools and RSE as options, which one do I choose? How are they different? Do I have to run rdt-server manually (I don't have the root access on the server)? Is it possible to do this only with ssh without opening another port on the server?
Is there a guide for this kind of setup?
Or, any other ways to achieve this?
Thanks !
EDIT:
on a second thought, synchronise doesn't seem very important to me since PTP is doing it through git anyway. So remote indexing is what I need the most.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
远程索引不会加快索引速度。索引器还不是并行的,因此使用更大的服务器也无济于事。
有关如何设置同步项目的帮助,请参阅:
http://wiki.eclipse.org/PTP/sync-projects
欢迎在[电子邮件受保护]中提问。
Remote Indexing won't speed up indexing. The indexer isn't parallel (yet), so using a larger server won't help.
For help on how to setup a synchronized project see:
http://wiki.eclipse.org/PTP/sync-projects
Feel free to ask questions at [email protected].