Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-24291

load-config option does not support chaining (+=) in mxmlc ant task but does on command-line

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 4.0 (Release)
    • None
    • Ant Tasks
    • 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>

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: