Having a flex project, how to compile it with mxmlc (not using flashBuilder gui)?

牧云@^-^@ 提交于 2020-01-04 21:36:05

问题


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

?


回答1:


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



来源:https://stackoverflow.com/questions/5475938/having-a-flex-project-how-to-compile-it-with-mxmlc-not-using-flashbuilder-gui

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!