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

Compiling css with mxmlc Flex Ant task creates a swf without resource bundles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 4.0 (Release)
    • None
    • Ant Tasks
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      1. create simple ant build with mxmlc to compile a css file
      2. run ant build to create swf
      a. Tried ant 1.6.5 & 1.7.1
      3. 'run' the swf in Flash by itself, or use the swf in a Flex application, and get an exception

      Actual Results:
      Runtime ActionScript error:

      Error: Could not find compiled resource bundle 'components' for locale 'en_US'.
      at mx.resources::ResourceManagerImpl/installCompiledResourceBundle()
      at mx.resources::ResourceManagerImpl/installCompiledResourceBundles()
      at mx.core::FlexModuleFactory/installCompiledResourceBundles()
      at mx.core::FlexModuleFactory/docFrameHandler()
      at mx.core::FlexModuleFactory/docFrameListener()

      Expected Results:
      No exception

      Workaround (if any):
      Using ant 1.7.1 in eclipse3.5 and specifying the locale option as empty (locale=""), makes this work. See build.xml for example.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: