It also might be a problem of lacking resource for particular locale.
I had that issue with sdk resources, like 'rpc' missing for some
exotic locales. In that case you might use locale chains, like that:

                    <localesCompiled>
                        <locale>en_US</locale>
                        <locale>es_ES,en_US</locale>
                        <locale>fr_FR,en_US</locale>
                    </localesCompiled>

In that case, if there are missing resource from particular locale,
then it will look for this resource in next locale from the list.


On Aug 3, 3:52 pm, Giorgio Vespucci <[email protected]>
wrote:
> Hello to everybody
> I'm using
>
> <flex.sdk.version>4.1.0.16248</flex.sdk.version>
> <flexmojos.version>4.0-RC1</flexmojos.version>
>
> to mavenize a Flex project.
> I'm experiencing the not-so-new :( "Unable to resolve resource bundle"
> error.
>
> The plugin configuration snippet is:
>
>      <build>
>         <sourceDirectory>${basedir}/src/main/flex</sourceDirectory>
>         <testSourceDirectory>${basedir}/src/test/flex</testSourceDirectory>
>         <plugins>
>             <plugin>
>                 <groupId>org.sonatype.flexmojos</groupId>
>                 <artifactId>flexmojos-maven-plugin</artifactId>
>                 <version>${flexmojos.version}</version>
>                 <extensions>true</extensions>
>                 <dependencies>
>                     <dependency>
>                         <groupId>com.adobe.flex</groupId>
>                         <artifactId>compiler</artifactId>
>                         <version>${flex.sdk.version}</version>
>                         <type>pom</type>
>                     </dependency>
>                 </dependencies>
>                 <configuration>
>                     <themes>
>
> <theme>${sdk.install.path}/sdks/4.0.0/frameworks/themes/Spark/spark.css</theme>
>
> <theme>${sdk.install.path}/sdks/4.0.0/frameworks/themes/Halo/halo.swc</theme>
>                     </themes>
>
> <localesSourcePath>${basedir}/src/main/locales/{locale}</localesSourcePath>
>                     <locales>
>                         <locale>en_US</locale>
>                         <locale>es_ES</locale>
>                         <locale>fr_FR</locale>
>                     </locales>
>                 </configuration>
>             </plugin>
>         </plugins>
>     </build>
>
> I found this issue Vs. 4.0 
> version:https://issues.sonatype.org/browse/FLEXMOJOS-395
>
> Now the question is:
> Are all of you blocked on it?
> Is it actually NOT possible building a localized project with flexmojos, due
> to this issue?
> Anyone have found a workaround?
>
> Thank you
> --
> Giorgio Vespucci
> giorgio [dot] vespucci [at] gmail [dot] com
> Skype, Twitter, Slideshare: gvespuccihttp://xpermanwalking.blogspot.com

-- 
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