先转网上一篇Flex支持ant的文章:
Until Flex Builder 3 Stand Alone includes Ant built in you will have to install it separately. Peter Elst wrote steps for installing it in Flex Builder 2 but in Flex Builder 3 the steps are slightly different. For those that are not familiar with Eclipse, this can be tricky to install.
The following is the revised steps for Flex Builder 3 Stand Alone.
Quoted and revised from ??http://www.peterelst.com/blog/2006/09/03/flex-builder-2-ant-support/??:# Launch Flex Builder 3
- Go to Help > Software Updates > Find and Install
- Select "Search for new features to install" and click next
- Select "The Eclipse Project Updates" and click finish
Note: If you do not have the option above click New Remote Site and enter "The Eclipse Project Updates" as the name and "eclipse - http://download.eclipse.org/releases/maintenance" as the url.
- In the Eclipse Project Updates > Eclipse 3.3.2 (3.3.3, 3.3.4, etc) node select "Eclipse Java Development Tools..." and click next
- Accept the license agreement and click next
- Click finish to start download
- Eclipse downloads Java Development Tools
- Click "Install all" to install Java Development Tools
- Restart the Eclipse workbench
That's it! You now have Apache Ant support in your standalone Flex Builder 3 install.
Go to Window > Other View > Ant and Click OK. You now have the Ant view
Please vote for ANT to be included in future versions.
Hmmm...interesting...
This entry was posted on Thursday, December 13th, 2007 at 2:55 pm and is filed underFlex. You can follow any responses to this entry through theRSS 2.0feed. You canleave a response, ortrackbackfrom your own site.
注意: 安装ant后可能会把svn插件弄没了, 可以重新装一次. http://subclipse.tigris.org/update_1.6.x/
安装好ant后, 然后需要把附件中的 jsch-0.1.29.jar 放到 D:\Program Files\Adobe\Adobe Flash Builder Beta 2\plugins\org.apache.ant_1.7.0.v200803061910\lib\ 下
并在Flex->Window->Preferences->Ant->Runtime 里的Ant Home Entries 里 Add External JARs 添加这个jar.
然后ant运行Client工程的build.xml
build.xml配置如下:
<project name="ihome2client" basedir="." default="deploy">
<target name="deploy" description="copy xml files to 90">
<scp todir="root:XlandsGoingUp@192.168.0.90:/home/xlands/html/client/" trust="yes" verbose="yes">
<fileset dir="./client/">
<exclude name="*.fla"/>
<exclude name=".svn"/>
</fileset>
</scp>
</target>
</project>
这样就会自动把本地的client目录上传到90的client上.
分享到:
相关推荐
范例使用supermap iclient for Flex客户端裁剪地图。
flex客户端和服务端分页控件,后台使用java实现数据的传送,flex客户端调用服务端的webservices服务进行数据的展现~~ 内附myeclipse项目和flex项目·~ 分别导入可运行,注意端口的修改~
NULL 博文链接:https://morry.iteye.com/blog/387138
flex 使用ant 脚本来编译flex源码示例脚本。方便学习,共享一下!
在eclipse_的一个项目中同时开发j2ee模块和flex_客户端模块
flex是妇科客户端编程的很好变现形式。
flex客户端导出excel所需的类库jar包(as3xls-1.0.1.swc)以及实例代码.支持mx.controls.DataGrid、mx.controls.AdvancedDataGrid、spark.components.DataGrid的excel导出。很不错的。
动态分段是交通行业常用的功能之一,按照以往的实现方式,该功能通常都是在服务端来...由于富客户端的出现,很多功能都已可以移植到客户端来实现,现介绍使用SuperMap iClient 6R for Flex在客户端实现动态分段功能。
解决Flex开发的swf服务器端最新版本,客户端IE浏览器需要手动设置,才可以显示服务器端最新的SWF版本问题
建立Flex客户端与J2EE服务端于同一(BlazeDS服务)工程, 解决了因MyEclipse版本过高而不兼容的问题.
Eclipse通过wtp插件对j2ee web app的开发提供了很好的支持,flex builder plugin是基于eclipse 的一个用于开发flex 应用程序的插件,blazeds是一个用于集成flex 客户端和j2ee server的组件,下面介绍一种方法,集成...
在eclipse 的一个项目中同时开发j2ee模块和flex 客户端模块,里面有详细的过程步骤、截图
flex3 客户端缓存 module 解决方案 swf文件缓存
结合spring,hibernate配置flex的学习,教你学会flex最基本的配置
flex聊天程序客户端flex聊天程序客户端flex聊天程序客户端
Eclipse 通过 wtp 插件对 j2ee web app 的开发提供了很好的支持 ,flex builder plugin 是基于 eclipse 的一个用于开发 flex 应用程序的插件 ,blazeds 是一个用于集成 flex 客户端和 j2ee server 的组件 , 下面介绍...
NULL 博文链接:https://xiongjiajia.iteye.com/blog/1639140
Flex开发环境配置手册 Flex开发环境配置手册 Flex开发环境配置手册
本范例是将wgs1984坐标 转换为Xian_1980_3_DEGREE_GK_Zone_40(EPSG:2364)
柔性Flex是具有客户端和服务器jar库的简单协议/框架,可通过使用简单的Map(获取/放置)接口在应用程序之间传输低延迟的高吞吐量数据。 从逻辑上将数据划分为多个存储,每个存储都有一个名称。眼镜基于Netty(NIO)...