using property file along with config file to be used with mxmlc

Posted by whoopy_whale on Stack Overflow See other posts from Stack Overflow or by whoopy_whale
Published on 2009-12-02T05:24:53Z Indexed on 2010/04/25 2:03 UTC
Read the original article Hit count: 310

Filed under:

Hi,

I'm trying to run mxmlc in the following manner.

mxmlc -load-config+=mycfg.xml C:\\projects\\src\\main.mxml -output myswf.swf

In the config file, I want to keep some values configurable, for example the paths of the external libraries. Is it possible to include a property file into the config file and use it as {property_name} in the config file?

Or is it possible to pass certain arguments from the command line itself that will override/replace the corresponding values in the config file, like the -D option in the ant command?

Please provide your suggestions.

© Stack Overflow or respective owner

Related posts about mxmlc