简体   繁体   English

使用Eclipse的RSE插件更新远程文件

[英]Update remote File using Eclipse's RSE Plugin

I've installed the Remote System Explorer Plugin for Eclipse and set up a SSH connection to our development server using public key authentication and a custom Port (not sure if any of these customisations relate to the problem). 我已经安装了适用于Eclipse的远程系统资源管理器插件,并使用公钥身份验证和自定义端口(不确定这些自定义是否与问题相关)来建立与开发服务器的SSH连接。

However browsing the file system works great and I can even create folders and files. 但是,浏览文件系统效果很好,甚至可以创建文件夹和文件。 Eg /tmp/foo/bar.txt but I can't figure out to "push" changes I've did to the server. 例如/tmp/foo/bar.txt,但我无法弄清楚对服务器所做的“推送”更改。

So my problem is I open a file, write some text and save it in Eclipse. 所以我的问题是我打开一个文件,写一些文本并将其保存在Eclipse中。 The asterisk next to file names vanishes (indicating it's save) and if I close an re-open the file in Eclipse the changes are present. 文件名旁边的星号消失(表示已保存),如果我在Eclipse中关闭重新打开文件,则存在更改。 But they're not visible on the server. 但是它们在服务器上不可见。 Eg doing changes to a .html file won't show any changes in the web browser or cat bar.txt (mentioned earlier) produces an empty output. 例如,对.html文件进行更改将不会在网络浏览器中显示任何更改,或者cat bar.txt(前面提到)会产生空的输出。

Creating folders or files is working as intended but updates to file contents are not shown up on the remote system though they're persist in Eclipse. 创建文件夹或文件可以按预期工作,但是文件内容的更新虽然保留在Eclipse中,但并未显示在远程系统上。

Is there some button I'm missing to update my "local" changes to the "remote server". 我缺少将我的“本地”更改更新为“远程服务器”的按钮吗? Can I even get rid off all this caching? 我什至可以摆脱所有这些缓存吗? As we're working in a Team it's crucial our Files are always up to date and having some extra caching would definitely spoil all the fun :( 当我们在一个团队中工作时,至关重要的是我们的文件必须始终保持最新,并且进行一些额外的缓存肯定会破坏所有的乐趣:(

My IDE configuration is like that : Eclipse IDE for C/C++ Developers Version: Juno Service Release 2 Build id: 20130225-0426 我的IDE配置是这样的:用于C / C ++开发人员的Eclipse IDE版本:Juno Service Release 2内部版本号:20130225-0426

获取托管文件的IFileService的句柄...这使您能够上传文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM