tags:

views:

28

answers:

1

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.

A: 

From the LiveDocs for mxmlc / -load-config:

If you specify a configuration file, you can override individual options by setting them on the command line.

Michael Brewer-Davis