Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK 4.0 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. execute mxmlc ant task using <load-config> trying to chain config files as per command line functionality of -load-config+='my-custom-config.xml' (described here: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a92.html)
2.
<mxmlc file="${dir.src}/MyApp.mxml">
<load-config append="true" filename="${dir.config}/my-custom-config.xml"/>
</mxmlc>
Actual Results:
Error Message: The <load-config> type doesn't support the "append" attribute
Expected Results:
No error.
Workaround (if any):
Use <exec> to compile from commandline within ant
<exec executable="${flex.mxmlc}" failonerror="true">
<arg line="'${dir.src}/MyApp.mxml'"/>
<arg line="-load-config+='${dir.config}/my-custom-config.xml'"/>
</exec>