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

AntTask: Allow mxmlc task to compile resource modules

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK 3.0 (Release)
    • None
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Firefox 2.x
      Language Found: English

    Description

      When compiling resource module swfs, you usually only specify resource bundles to be included. In the command line, you do this by:
      > mxmlc -locale en_US -sp locale/

      {locale} -output=Resources.swf -include-resource-bundles=core,controls

      When you compile this using AntTask, an error will be thrown because file attribute in mxmlc task is required.

      Steps to reproduce:
      1. Get build.xml
      2. Compile using ant
      > ant -Dsdk.dir={your local sdk.dir}

      Actual Results:
      build.xml:15: file attribute must be set!

      Expected Results:
      Successful compile


      Workaround (if any):
      compile the resource module using the command line.
      > >mxmlc -o Resources.swf -locale en_US -sp ${flexlib}/projects/framework/bundles/{locale}

      /src -include-resource-bundles=core,controls

      Please refer following link:

      https://bugs.adobe.com/jira/browse/SDK-12786

      This Bug is marked as closed but still exist in Flex 3 Beta 3 version.

      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: