如何远程保存在Eclipse PDT像Netbeans? [英] How to remote save in Eclipse PDT like Netbeans?
问题描述
我有一个Eclipse远程保存的问题。
我一直在使用Netbeans 2年,我的项目存储在本地和远程测试服务器中。 / p>
当我在Netbeans中打开,更改和保存文件时,它也会将文件保存(覆盖)到远程位置。
Netbeans的配置如下所述: Netbeans远程同步
另一件事是SVN中的检出代码在我的本地,我只从本地提交,从远程不提供,我的意思是我只使用远程服务器进行测试。
由于其他原因,我决定切换Eclipse,但我无法准备类似的开发环境。
我尝试过远程浏览器,这很复杂我找不到我的问题的解决方案。有一些使用蚂蚁的建议,我认为这可以很容易的事情,对我来说更是如此。
我对任何提示都是开放的,准备一个类似的开发环境我在Netbeans的情况下描述。
Regards ...
到NetBeans页面的链接仅显示本地主机连接的设置。
远程连接需要远程计算机上的ftp服务器。
首先,我将显示本地连接的Eclipse设置。
文件 - 新PHP项目。
项目名称: SwitchLoc
点击
文件夹 - 下一页
设置如图所示。点击浏览
创建新的连接。
图片。点击下一步
只看到发生了什么:点击下一步或完成
返回连接选择刚刚创建的 。
选择您的www根目录下的文件夹。
创建一个新的php文件
右键单击开关新建 - PHP文件 - echo.php
Richt点击echo.php - 属性 - 运行/调试设置 - 新建 - PHP网页
设置如图所示。点击浏览
取消选中自动生成并更改网址
切换到标签公共
图像上显示的设置。点击确定
开始调试
选择 switch-local
输出
下一步:创建一个远程连接到远程服务器
与FTP和远程调试。
后续续集。
I have a problem with Eclipse remote save.
I have been using Netbeans for 2 years, my projects are stored in local and also in remote test servers.
When I opened, change and saved files in Netbeans, it also saves (overwrites) the files to remote location.
Configuration of Netbeans is described here : Netbeans Remote Sync
Another thing is checkouted code from SVN is in my local, and I only commit from local, never from remote, I mean I use remote server only for testing purposes.
I decided to switch Eclipse because of other reasons, but I cannot succeed to prepare a similar development environment.
I tried remote explorer,it's complicated and I cannot find a solution to my problem. There are some suggessions by using Ant, I think, this can be easy thing.Ant is much more for me.
I am open to any suggessions, to prepare a similar development environment I described above in Netbeans case.
Regards...
The link to the NetBeans page only shows the settings for localhost connection.
The remote connection requires an ftp server on the remote machine.
First I will show the Eclipse settings for localhost connection.
File -- New -- PHP Project.
Project Name : SwitchLoc
Click
Folder -- Next
Settings as shown on image. Click Browse
Create a new connection.
Settings as shown on image. Click Next
Only to see what's going on : Click Next or Finish
Back to Connection select the one just created.
Select a folder under your www root.
Create a new php file
Right click on Switch new -- PHP File -- echo.php
Richt click on echo.php -- Properties -- Run/Debug Settings -- New -- PHP Web Page
Settings as shown on image. Click Browse
Uncheck Auto Generate and change the URL
Switch to Tab Common
Settings as shown on image. Click OK
Start Debug
select switch-local
Output
Next: Create a remote connection to a Remote Server
with FTP and remote debug.
Follows in the sequel.
这篇关于如何远程保存在Eclipse PDT像Netbeans?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!