FlashBuilder 输出到 SFTP
我需要在远程服务器上调试 Flex 项目。该项目有Linux 后端。
我可以通过 WinSCP 访问后端。
是否可以设置 Adobe FlashBuilder 来构建到服务器(我应该在 Flex Build Path/Output 文件夹中写入什么)?
I need to debug a Flex project on a remote server. The project has Linux backend.
I have access to the backend via WinSCP.
Is it possible to set up Adobe FlashBuilder to build to the server (what should I write in the Flex Build Path/Output folder)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
完成相同任务的一种方法是将 WinSCP 作为构建器添加到项目的构建步骤中。缺点是这意味着您的项目只能在 Windows 上构建。
如何操作:
在参数框中,输入要连接的主机的命令行选项以及希望 WinSCP 执行的操作(请参阅 WinSCP 命令行选项 )。例如,我使用:
<块引用>
好的所有对话框。
现在,每当您构建时,WinSCP 都会在构建后运行以将文件上传到服务器。您可以使用 WinSCP 对话框中的复选框来删除不需要的提示。
直到最近,我一直在使用 Eclipse Target Management 插件 的 SFTP 的 RSE 部分/SCP 从 Flex Builder 内上传。这对我来说是一个更好的解决方案,因为它是多平台的;但是我找不到摆脱最后一个手动步骤的方法,右键单击 RSE 导出预设文件并告诉它导出。此外,由于 RSE 的 SFTP 上传支持很不稳定,超时时间长得离谱,错误消息质量很差,因此它不太适合在我的服务器详细信息经常变化的测试运行环境中使用。
One way to accomplish the same thing is to add WinSCP as a builder in your project's build steps. The downside is that this it means your project will only build on Windows.
How to do it:
In the arguments box, put in command line options for the host you want to connect to and what you want WinSCP to do ( see WinSCP command line options ). For instance, I use:
Okay all the dialogs.
Now, whenever you build, WinSCP will run after the build to upload your files to the server. You can use the checkboxes in the WinSCP dialogs to remove the prompts that you don't want.
Up until recently, I've been using the RSE part of the Eclipse Target Management plug-in for SFTP/SCP uploads from within Flex Builder. That would be a better solution for me because it's multi-platform; however I can't find a way to get rid of the last manual step, right-clicking on an RSE export preset file and telling it to export. Also, since RSE's SFTP upload support is flaky, with ridiculously long timeouts and poor quality error messages, it's not really suitable for use in my test running environment where the server details change often.