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

SDK-4.5.0.18623 - Size of the compiled resource bundle swf file is too big

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Later
    • Adobe Flex SDK Previous
    • None
    • Compiler API
    • None
    • Affected OS(s): Linux
      Affected OS(s):
      Browser: Internet Explorer 8.x
      Language Found: English

    Description

      The size of the compiled resource bundle swf file is too big when compiling on Linux using the latest available Flex Hero SDK - 4.5.0.18623.
      I've attached link reports from Windows and Linux for comparison. It seems that the same SDK is linking with the framework.swc on Linux and core.swc on Windows.

      Steps to reproduce:
      1. Windows - c:/flex/flex_sdk\bin\mxmlc.exe -headless-server=true -output "Resources_en_US.swf" -target-player 10.2 -compiler.debug=false -compiler.omit-trace-statements=true -compiler.optimize=true -compiler.locale=en_US -source-path "C:\Users\Miroslav.Havrlent\Adobe Flash Builder 4\AmbitBaseSpark/locale/en_US" -include-resource-bundles "Alert" -include-resource-bundles "CaseValidator" -include-resource-bundles "DataGrid" -include-resource-bundles "DataGridEditorMenuBar" -include-resource-bundles "DataGridMenuBar" -include-resource-bundles "DataProviderValidator" -include-resource-bundles "LovSearchAndSelect" -include-resource-bundles "NumberFormatter" -include-resource-bundles "NumberValidator" -include-resource-bundles "SharedProperties"

      2. Linux - /opt/flex_sdk/bin/mxmlc -headless-server=true -output Resources_en_US.swf -target-player 10.2 -compiler.debug=false -compiler.omit-trace-statements=true -compiler.optimize=true -compiler.locale=en_US -source-path /tc_buildagents/buildAgent2/work/93b61ba6ca14d8bf/locale/en_US -include-resource-bundles Alert -include-resource-bundles CaseValidator -include-resource-bundles DataGrid -include-resource-bundles DataGridEditorMenuBar -include-resource-bundles DataGridMenuBar -include-resource-bundles DataProviderValidator -include-resource-bundles LovSearchAndSelect -include-resource-bundles NumberFormatter -include-resource-bundles NumberValidator -include-resource-bundles SharedProperties

      Actual Results:

      Resources_en_US.swf (24759 bytes) Windows
      Resources_en_US.swf (155320 bytes) Linux

      Expected Results:

      Resources_en_US.swf (24759 bytes) Windows
      Resources_en_US.swf (~24759 bytes) Linux

      Workaround (if any):

      Specify the library path explicitly.

      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: