eclipse 如何通过ssh使用eclipse,让本地eclipse可以编辑远程项目?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13169983/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to use eclipse with ssh, so that the remote projects can be edited by local eclipse?
提问by HymanWM
I often use remote servers to store and run my Java projects. But this prevents me from using eclipse. So I have two questions:
我经常使用远程服务器来存储和运行我的 Java 项目。但这使我无法使用 eclipse。所以我有两个问题:
Can I use my local eclipse manage the Java projects on the remote servers ? ( I usually use
ssh
to access the servers )If there is a solution for question 1, then is it possible that the Java programs run on the remote server also ? (i.e. only the GUI of eclipse is shown local)
我可以使用本地 eclipse 管理远程服务器上的 Java 项目吗?(我通常
ssh
用来访问服务器)如果问题 1 有解决方案,那么 Java 程序是否也可能在远程服务器上运行?(即只有 eclipse 的 GUI 显示在本地)
For the second question, I know ssh -X
can do this (run eclipse on the remote server), but it is too slow. Any ideas?
对于第二个问题,我知道ssh -X
可以这样做(在远程服务器上运行 eclipse),但是它太慢了。有任何想法吗?