But how does the Compiler then actually function correctly? Does it
automatically fallback to en_US?
In Flexmojos there is this feature called locale-chains in which you can
specify the order in which the languages are selected.
Here an example from the testsuite:
<build>
<plugins>
<plugin>
<groupId>net.flexmojos.oss</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<configuration>
<localesCompiled>
<locale>en_US</locale>
<locale>pt_PT,pt_BR,en_US</locale>
</localesCompiled>
</configuration>
</plugin>
</plugins>
</build>
In this case the two "languages" en_US and, pt_PT are available in the
application, but the compiler uses pt_BR if a pt_PT resource bundle is not
available and if even pt_PT is not available it falls back to en_US.
I find this concept far more flexible than having the compiler automatically
fallback to English ... so could you give the following resource configuration
a try:
<localesCompiled>
<locale>en_US</locale>
<locale>es_ES,en_US</locale>
</localesCompiled>
It should do the trick.
Chris
-----Ursprüngliche Nachricht-----
Von: Alex Harui [mailto:[email protected]]
Gesendet: Dienstag, 24. Dezember 2013 05:34
An: [email protected]
Betreff: Re: Flexmojos 6 and IntelliJ 13
My FB 4.7 comes with Adobe Flex 4.6 and the flash-integration_rb.swc is not in
there either. AFAIK, this is ok from the SDK's perspective.
Flexmojos will have to be tolerant of that.
On 12/23/13 8:32 AM, "Alexander Doroshko"
<[email protected]> wrote:
>Workaround is to copy it from some other locale.
>
>I'd like somebody from Flex SDK team to check, isn't that a bug that
>locale-specific subfolders of [Flex SDK]/frameworks/locale have
>different sets of *_rb.swc files?
>
>If the absence of *_rb.swc file in standard SDK distribution doesn't
>prevent the app from being compiled using command line compiler, but
>causes errors in case of Flexmojos, then that's a question to Chris:
>isn't it a Flexmojos bug?
>
>Alexander
>
>
>On 23.12.2013 18:35, wim.deblauwe wrote:
>> You are right, the Apache Flex SDK 4.11 does not have the
>>'flash-integration_rb.swc' file in the 'frameworks/locale/es_ES'
>>folder. Any
>> idea on how to get it there ?
>>
>