开发者

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

开发者 https://www.devze.com 2022-12-13 04:35 出处:网络
I\'m trying to run mxmlc in the following manner. mxmlc -load-config+=mycfg.xml C:\\\\projects\\\\src\\\\main.mxml -output myswf.swf

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 incl开发者_Python百科ude 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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消