On Tue, Sep 29, 2009 at 11:32 PM, Chetan <[email protected]> wrote:
> [ERROR] Unable to resolve resource bundle "CRSResource" for locale
> "en_US".
> [INFO]
...
>        <configuration>
>          <locales>
>             <locale>en_US</locale>
>          </locales>
>   <resourceBundlePath>src/main/flex/locale/en_US</
> resourceBundlePath>
>        </configuration>

This should be:
<compiledLocales>
  <locale>en_US</locale>
<compiledLocales>
  <resourceBundlePath>src/main/flex/locale/{locale}</resourceBundlePath>

That's assuming you want your languages compiled into your
application. If you want them loaded at runtime, then switch
<compiledLocales> to <runtimeLocales>.
If this came from the archetype, then the archetype is out of date and
needs to be updated.

> Can someone plesae tell me how to configure my resource.properties
> which is at
> src/main/flex/locale/en_US/CRSResource.properties.
> I have looked up many threads but haven't found a proper answer.In
> FlexBuilder it is as easy as adding this properties file to the build
> path.

Flexmojos has a parent pom with all of the default values already set.
If you can use the Flexmojos parent pom, and you move  your resource
bundles into the default value of src/main/locales/{locale} then you
wouldn't need to do any configuration at all.

More info here:
http://sites.sonatype.org/flexmojos/flexmojos-maven-plugin/compile-swf-mojo.html

Logan

--~--~---------~--~----~------------~-------~--~----~
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?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to