I returned to this problem after some time and noticed that it happens
if I import and use any class from mx.logging package.
How can I include logging bundle during runtime locales compilation?

My sdk dependencies are following:

<dependency>
            <groupId>com.adobe.flex.framework</groupId>
            <artifactId>framework</artifactId>
            <version>${flex.sdk.version}</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>

        <dependency>
            <groupId>com.adobe.flex.framework</groupId>
            <artifactId>textLayout</artifactId>
            <version>${flex.sdk.version}</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>

        <dependency>
            <groupId>com.adobe.flex.framework</groupId>
            <artifactId>spark</artifactId>
            <version>${flex.sdk.version}</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>
        <dependency>
            <groupId>com.adobe.flex.framework</groupId>
            <artifactId>sparkskins</artifactId>
            <version>${flex.sdk.version}</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>

        <dependency>
            <groupId>com.adobe.flex.framework</groupId>
            <artifactId>rpc</artifactId>
            <version>${flex.sdk.version}</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>

On 20 Gru 2011, 10:01, rivendels <[email protected]> wrote:
> Hello,
> I have a problem with compiling runtime locales with FM 4.0-RC2.
>
> I got the following configuration of the flexmojos-maven-plugin:
>  <localesSourcePath>${basedir}/src/main/locales/{locale}</
> localesSourcePath>
>  <localesRuntime>
>                         <runtime>en_US</runtime>
>  </localesRuntime>
> <resourceBundleNames>{locale}</resourceBundleNames>
>
> in my locales directory i have only one properties file:
> test.properties
> resource swf is compiling however when i want to load it at runtime I
> get the following error:
>
> Error: Could not find compiled resource bundle 'logging' for locale
> 'en_US'.
>
> I already defined in my root Application file the resource bundle:
> <fx:Metadata>
>     [ResourceBundle("test")]
>  </fx:Metadata>
>
> When I'm compiling bundle with Ant everything works without problems.
>
> is there any option that would help me to solve this problem.
> Maybe different version of FM ?
>
> I would appreciate any help with this problem as I'm stuck on this.

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to