To compile a swc library with i18n support using flexmojos 3.7.1, I have this configured: mergeResourceBundles=false; includeResourceBundles=bundle1,bundle2 runtimeLocales=en_US,zh_CN
when build this swc, I got warning that cannot find resource bundles to compile I removed includeResourceBundles setting and recompiled, everything works fine. However, if I unzip the compiled rb.swc file, I found not only bundle1,bundle2 included in, but also some framework bundles are included as well. I downloaded the source code of flexmojos manve plugin to see what's happening. seems flexmojos using the output of -resource-bundle-list to determine which bundle should be included in. Unfortunaly, -include- resource-bundles has no effect to this list. I suppose this is a bug or something else derived from flex compiler. Maybe flexmojos 3.x needs a patch to compile specified bundles using includeResourceBundles setting. I googled a lot and got some info about this situation, seems it can work with flexmojos 4.x. But I am not ready to migrate to maven 3.x, really annoying. Cound someone provide a workaround? I got a patch from https://issues.sonatype.org/browse/FLEXMOJOS-181, it seems working, but when I check the compile swc (not rb.swc), I found that the swc file is so small and nothing compiled into it. Maybe there is something wrong with my custom flexmojos-maven-plugin. I will dig it later. Thanks, Edison -- 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/
