有一个flex项目,如何使用mxmlc编译它(不使用flashBuilder gui)? [英] Having a flex project, how to compile it with mxmlc (not using flashBuilder gui)?
问题描述
因此,我可以使用常用flex项目文件夹与 .actionScriptProperties
.flexProperties
.project
中的文件和 src
, libs
, html-template
dirs。所有我的libs在libs文件夹和我的项目一般是主题独立的(我使用服装主题)。通常它是简单的直播TCP流视频播放器 - 只有默认mx组件。我想有一些bat / sh脚本文件来编译我的项目从命令终端/ cmd在实现模式到特定目录。如何做这样的事情?
So I hava a usual flex project folder with .actionScriptProperties
.flexProperties
.project
files in it and src
, libs
, html-template
dirs. All my libs are in libs folder and my project is generally theme independent (I use costume theam). Jenerally it is simple live TCP stream video player - only default mx components. I want to have some kind of bat/sh script file for compiling my project from command terminal/cmd in realise mode into specific directory. How to do such thing?
有什么像
mxmlc compileDefaultApplication fromProject=pathToProject toRealiseDir=pathToRealiseDir
?
推荐答案
http ://livedocs.adobe.com/flex/3/html/help.html?content = compilers_13.html
http://livedocs.adobe.com/flex/3/html/help。 html?content = compilers_09.html#138195
mxmlc MyApp.mxml load-config my-app-config.xml output /pathToRelease
为了获得Flex / Flash构建器中的配置文件,您可以转到项目属性并将其添加到编译器参数中:
In order to get the config in Flex/Flash builder you can go to the project properties and add this to the compiler arguments:
-dump-config C:\Users\shusain\Desktop\slotConfig.xml
路径
这篇关于有一个flex项目,如何使用mxmlc编译它(不使用flashBuilder gui)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!