构建Flex项目的RSL和ANT [英] Building Flex Project with RSLs and ANT
本文介绍了构建Flex项目的RSL和ANT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人可以给我如何使用建立与ANT Flex项目一个code例如框架RSL的?
Can someone give me a code example of how to build a flex project with ANT using framework RSL's?
这是目前使用什么即时通讯,但生成的SWF文件的方式来大;
This is what im currently using but the file SWF generated is way to big;
<target name="main">
<mxmlc
file="${SRC_DIR}/myApp.mxml"
output="${DEPLOY_DIR}/myApp.swf"
actionscript-file-encoding="UTF-8"
keep-generated-actionscript="true"
incremental="true">
<!-- Get default compiler options. -->
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
<!-- List of path elements that form the roots of ActionScript
class hierarchies. -->
<source-path path-element="${FLEX_HOME}/frameworks"/>
<!-- List of SWC files or directories that contain SWC files. -->
<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="libs" />
<include name="../bundles/{locale}" />
</compiler.library-path>
</mxmlc>
</target>
感谢
推荐答案
这是一个很好的说明:的http://soenkerohde.com/2008/04/using-the-flash-player-cache-for-the-flex-framework/
This is a great description: http://soenkerohde.com/2008/04/using-the-flash-player-cache-for-the-flex-framework/
这篇关于构建Flex项目的RSL和ANT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文