0 Replies Latest reply on Jul 11, 2011 2:37 PM by digitallegit

    Include resource bundle in swc

    digitallegit

      I am trying to introduce locale's into my application.  I have a library with components that use the locale and an application that also uses the locale.

       

      I have added the following configuration to the compilcation config file:

       

      <compiler>
             
              <locale>
                  <locale-element>en_US</locale-element>
              </locale>
             
              <library-path>
                  <path-element>lib/locale/{locale}</path-element>
                  <path-element>${FLEX_HOME}/frameworks/locale/{locale}</path-element>
              </library-path>
             
          </compiler>
         
          <include-resource-bundles>
              <bundle>MyLocale</bundle>
          </include-resource-bundles>

       

      This works fine for compiling the swf but not the swc.  Can anyone shed any light on how to compile a resource bundle into a flex lib with compc?