No idea if it has anything to do but, DON'T ever tamper with sourcePaths.

VELO

On Tue, Jun 8, 2010 at 11:34 AM, Lei <[email protected]> wrote:

> I was trying to compile certain .properties files to resource bundles
> in one execution of flexmojo.
> But it always ended up with this message:
>
> [WARNING] Resource-bundle generation fail: No resource-bundle found.
>
> And I am sure there are strings.properties under src/locales/
> {locale}.
> Anything I am doing wrong? Thanks!
>
> Here is the configuration for that execution.
>                <execution>
>                        <id>rb-major</id>
>                        <phase>compile</phase>
>                        <goals>
>                            <goal>compile-swf</goal>
>                        </goals>
>                <configuration>
>                    <sourceFile>MetaResource.as</sourceFile>
>                    <sourcePaths>
>                      <path>${basedir}/src/locales/{locale}</path>
>                    </sourcePaths>
>                    <resourceBundlePath>${basedir}/src/locales/{locale}
> </resourceBundlePath>
>                    <runtimeLocaleOutputPath>bin-release</
> runtimeLocaleOutputPath>
>                    <includeResourceBundles>
>                        <bundle>strings</bundle>
>                    </includeResourceBundles>
>                    <runtimeLocales>
>                                           <locale>en_US</locale>
>                                           <locale>pt_BR</locale>
>                                        </runtimeLocales>
>                    <mergeResourceBundle>false</mergeResourceBundle>
>                </configuration>
>                </execution>
>
> --
> 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]<flex-mojos%[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