Mxmlc multiple files
If you are using some source files which are located in another directory or multiple directories, use this option to specify those locations. The first parameter e. The second parameter defines the maximum script execution time in seconds. By default, the mxmlc compiler does a clean build each time it is invoked. To use incremental builds, specify this option. In case of incremental builds, the compiler compiles only those files which have changed from the last build.
Instead of specifying the compiler options on the command line, you can put all the options in the config. Are you using the Adobe Ant tasks for Flex? They are a library that provides flex specific commands you can use in build. Gotta agree with dredphul, seems like maybe you are taking the wrong approach.
I've recently completed writing some Ant build scripts for an AIR project, if you post your script I should be able to help you out. The issue is That isn't resolved in that example that the MXMLC application TASK or Command line doesn't seem to accept multiple files at once and thus requires a "compile" task that you feed each file name in to.. That make sense? If you are using exec to compile each and every file, you are spending the vast majority of the time forking, creating and destroying the JVM, loading library files over and over again.
Posted in How to run Flex application??? Leave a Comment ». Teach Me Flex A Flex learning portal. Home About Me. What is MXML??? Any Idea?? August 7, Tags: compiling mxml to swf , relation between mxml and action script , run flex app.
Blog at WordPress.