Aptana Studio 2.0:如何将 SVN 项目检出到 SFTP 远程目录?
如果您熟悉出色的 Aptana Studio IDE,您就会知道它基于 Eclipse。您还知道它预先打包了 SFTP 功能。我需要在安装了 Apache 的远程服务器上工作; SFTP 非常适合此目的。
我已经安装了 Subclipse 插件,并且可以从 Repo 访问和签出项目。我可以从 SVN 源创建一个新项目,它将所有源下载到我选择的工作区或指定位置。
但我无法找到结合这些功能的方法!我需要通过 SFTP 在远程服务器上创建一个项目,但我需要将源链接到存储库。
有什么办法可以做到这一点吗?
If you're familiar with the excellent Aptana Studio IDE, you know it's based on Eclipse. You also know it comes pre-packaged with SFTP capability. I need to work on a remote server, where I have Apache installed; SFTP is ideal for this.
I've installed the Subclipse plugin, and I can access and checkout projects from the Repo. I can create a new project from SVN source, which will download all the source to my chosen workspace or a specified location.
But I can't figure out a way to combine these features! I need to create a Project on a remote server via SFTP but I need to link the source to a repository.
Is there any way to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
答案是你不能。 SVN 库无法管理不在本地磁盘上的工作副本。您需要在本地文件系统上处理您的项目。然后,您可以对远程文件系统使用某种 SFTP 同步解决方案,也可以提交文件并使用提交后挂钩或其他进程来更新 Apache 服务器上的文件。
Answer is that you can't. The SVN libraries cannot manage a working copy that is not on your local disk. You need to work on your project on local file system. You can then either use some kind of SFTP synch solution with the remote filesystem, or you can commit your files and use a post-commit hook or some other process to update the files on the Apache server.
添加一个名为 esftp 的插件,您从存储库创建项目并设置远程服务器配置,然后您可以将文件上传到任何服务器并将更改提交到您的 svn 服务器
http://sourceforge.net/projects/esftp/
Add a plugin called esftp , you create your project from a repository and and set the remote server configuration then you can upload files to any server and commit the changes to your svn server
http://sourceforge.net/projects/esftp/
尝试 ExpanDrive 3
http://www.expandrive.com/expandrive
它可以工作,但速度很慢。取决于您的互联网速度。
例如,您可以从 SFTP 网络驱动器 (Z:) 结帐
Try out ExpanDrive 3
http://www.expandrive.com/expandrive
It works, but it is slow. Depends on the internet speed that you have.
For example, you can checkout from the SFTP Networkdrive (Z:)
这些描述适用于 AptanaStudio3。
1)如果您使用SVN作为项目存储库,请首先安装subversion插件,然后使用subversion签出项目。您将能够在 SVN 存储库视图中找到签出的项目
2) 右键单击签出项目并选择“签出”选项。这将询问您所需的工作空间位置。
3)转到工作区并右键单击您的项目并选择“发布”=> “部署设置”并提供您的服务器 sftp 设置。并选择“自动将您的更改与远程站点同步”
,您就完成了,准备好将您在本地工作区中所做的任何更改与远程同步。这对我有用。
These descriptions are for AptanaStudio3.
1)If you are using SVN as your project repository , first install subversion plugin and then checkout the project using subversion. You will be able to find the checked out project in SVN Repositories view
2)Right click on checkout out project and select the option 'checkout'. This will ask you for desired workspace location.
3)Go to workspace and right click on your project and select 'Publish' => 'Deployment Settings' and provide your server sftp settings. And select 'Automatically sync your changes with remote site'
And you are done, ready to go whatever changes your are doing in your local workspace is synced with remote.This worked for me.