有一个flex项目,如何用mxmlc编译它(不使用flashBuilder gui)?

Rel*_*lla 2 apache-flex compiler-construction flash command-line project

所以我哈瓦一个通常的Flex项目文件夹.actionScriptProperties .flexProperties .project中含有文件和srclibshtml-template显示目录。我所有的库都在libs文件夹中,并且我的项目通常与主题无关(我使用服装theam)。简而言之,它是简单的实时TCP流视频播放器-仅默认的mx组件。我想要某种bat / sh脚本文件,用于以实现方式从命令terminal / cmd将项目编译到特定目录。怎么做这样的事情?

有什么像

mxmlc compileDefaultApplication fromProject=pathToProject toRealiseDir=pathToRealiseDir
Run Code Online (Sandbox Code Playgroud)

sha*_*ain 5

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
Run Code Online (Sandbox Code Playgroud)

为了在Flex / Flash构建器中获取配置,您可以转到项目属性并将其添加到编译器参数中:

 -dump-config C:\Users\shusain\Desktop\slotConfig.xml
Run Code Online (Sandbox Code Playgroud)

有适当的路径