Rella
Rella

Reputation: 66935

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

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

?

Upvotes: 2

Views: 2825

Answers (1)

shaunhusain
shaunhusain

Reputation: 19748

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

Upvotes: 5

Related Questions