[ 
https://issues.apache.org/jira/browse/FLEX-33362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carol Frampton closed FLEX-33362.
---------------------------------

    Resolution: Not A Problem
      Assignee: Carol Frampton

from FLEX_HOME execute "ant other.locales"
                
> Unable to create resource module for other languages(like fr_FR, ja_JP) using 
> ANT
> ---------------------------------------------------------------------------------
>
>                 Key: FLEX-33362
>                 URL: https://issues.apache.org/jira/browse/FLEX-33362
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Ant Tasks
>    Affects Versions: Apache Flex Next, Apache Flex 4.9.0
>         Environment: window 7 home basic edition, Flash Builder 4.7 (trial 
> version), 64 bit. 
>            Reporter: Jagan Langa
>            Assignee: Carol Frampton
>            Priority: Blocker
>              Labels: ant, ant_build_system, bundle, flex4.9, mxmlc, resource
>
> Following is my macro for creating the resource module for some 
> module/application. when i use this macro, its working fine for en_US, but 
> when i try to run this macro with fr_FR or ja_JP its not working. and its 
> throwing the following errors( like [mxmlc] Error: Unable to resolve resource 
> bundle "validators" for locale "ja_JP" and others.)
> My Macro:
> <!-- Compiles Localization Resource Bundle. -->
>       <macrodef name="compileLocale" description="Compiles the Resource 
> package for the given locale">
>               <attribute name="locale" default="en_US" />
>               <attribute name="debug" default="false" />
>               <attribute name="module" />
>               <attribute name="dest" default="${DEPLOY_DIR}" />
>               <sequential>
>                       <!--
>             Create the Flex Home directory for the language in question.
>             This is necessary to compensate for a bug in pre-3.2 releases of 
>             mxmlc.
>             -->
>                       <mkdir dir="${FLEX_HOME}/frameworks/locale/@{locale}" />
>                       <mkdir dir="@{dest}/locale/@{locale}" />
>                       <!-- Invoke MXMLC -->
>                       <mxmlc output="@{dest}/locale/@{locale}/@{module}.swf" 
>                               optimize="true" 
>                               fork="true">
>                               <locale>@{locale}</locale>
>                               
>                               <load-config filename="${FLEX_CONFIG_XML}" />
>                               
>                               <source-path 
> path-element="${SRC_ROOT}/@{module}/src/locale/{locale}" />
>                               <include-resource-bundles bundle="@{module}" />
>                               <source-path 
> path-element="${FLEX_HOME}/frameworks/" />
>                               
>                               <include-resource-bundles bundle="collections" 
> />
>                               <include-resource-bundles bundle="controls" />
>                               <include-resource-bundles bundle="core" />
>                               <include-resource-bundles bundle="effects" />
>                               <include-resource-bundles bundle="formatters" />
>                               <include-resource-bundles bundle="logging" />
>                               <include-resource-bundles bundle="messaging" />
>                               <include-resource-bundles bundle="modules" />
>                               <include-resource-bundles bundle="rpc" />
>                               <include-resource-bundles 
> bundle="SharedResources" />
>                               <include-resource-bundles bundle="skins" />
>                               <include-resource-bundles bundle="states" />
>                               <include-resource-bundles bundle="styles" />
>                               <include-resource-bundles bundle="utils" />
>                               <include-resource-bundles bundle="validators" />
>                               <include-resource-bundles bundle="components" />
>                               <include-resource-bundles bundle="sparkEffects" 
> />
>                               <include-resource-bundles bundle="layout" />
>                               <include-resource-bundles bundle="textLayout" />
>                               <include-resource-bundles bundle="osmf" />
>                               
>                               <compiler.debug>@{debug}</compiler.debug>
>                       </mxmlc>
>               </sequential>
>       </macrodef>
> My Error:
>  [mxmlc] Error: Unable to resolve resource bundle "validators" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "styles" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "states" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "logging" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "effects" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "osmf" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "textLayout" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "controls" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "rpc" for locale "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "formatters" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "utils" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "sparkEffects" for 
> locale "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "layout" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "core" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "messaging" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "components" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "modules" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "SharedResources" for 
> locale "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "collections" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "skins" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "core" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "skins" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "core" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "styles" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "effects" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "core" for locale 
> "ja_JP".
>     [mxmlc] Error: Unable to resolve resource bundle "skins" for locale 
> "ja_JP".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to