有一个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
目录.我所有的库都在 libs 文件夹中,我的项目通常与主题无关(我使用服装主题).Jenerally 它是简单的实时 TCP 流视频播放器 - 只有默认的 mx 组件.我想要某种 bat/sh 脚本文件,用于在实现模式下从命令终端/cmd 将我的项目编译到特定目录中.这种事情怎么办?
有没有类似的东西
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 输出/pathToRelease
为了在 Flex/Flash builder 中获取配置,您可以转到项目属性并将其添加到编译器参数中:
<块引用> -dump-config C:\Users\shusain\Desktop\slotConfig.xml
有合适的路径
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?
Is there anything like
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
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
with an appropriate path
这篇关于有一个flex项目,如何用mxmlc(不使用flashBuilder gui)编译它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!