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

So, I hava a regular flex file with .actionScriptProperties .flexProperties .project and src , libs , html-template dirs files. All my libraries are in the libs folder, and my project, as a rule, is independent of the theme (I use theam costumes). In general, this is a simple streaming video player with a streaming stream - only mx components by default. I want to have some kind of bat / sh script file to compile my project from the command line / cmd in implementation mode into a specific directory. How to do it?

Is there anything like

 mxmlc compileDefaultApplication fromProject=pathToProject toRealiseDir=pathToRealiseDir 

?

+1
source share
1 answer

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 

To get the configuration 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 the appropriate path

+3
source

All Articles