Try leaving away the localesSourcePath as your setting exactly matches
the default.
After that provide your locales this way:

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

Hope it helps.

Chris

2011/8/3 Giorgio Vespucci <[email protected]>:
> 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: gvespucci
> http://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/
>

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