Hi,
To begin with, and give you right context: I'm using sdk 3.3.0.4852,
maven 3.0.3, and Flexmojos 3.5.0, but tried to solve problem with
3.6.0, 3.6.1, and 3.8 without success.
The problem is that I want to create resource bundle with my resource
that i store in ${basedir}/src/locale/{locale}. So I added to my pom,
to flexmojos-maven-plugin configuration:

<resourceBundlePath>${basedir}/src/locale/{locale}</
resourceBundlePath>
<runtimeLocales>
    <locale>en_US</locale>
</runtimeLocales>
<includeResourceBundles>
    <bundle>Specification</bundle>
    <bundle>SpecificationHelp</bundle>
</includeResourceBundles>

Then when i run maven, when main swf is created, maven list such
compiler options(I'm pasting only relevant ones):

-compiler.locale=
-include-resource-bundles Specification SpecificationHelp

And then It's creating resource bundle, and maven report such compiler
options:

-compiler.source-path C:\Flex\SpecificationManager\src\locale\en_US
-compiler.locale en_US
-include-resource-bundles CairngormMessages SharedResources
collections containers controls core datamanagement effects formatters
logging messaging rpc skins states styles utils validators

So you can see, that when creating resource bundle, it ignore my
resource bundles that i requested, and use only ones from some
dependencies. I don't mind about additional resources, but why the
ones that I requested are not there, but when creating main swf(not
resource bundle) flexmojos adds '-include-resource-bundles
Specification SpecificationHelp' options, while it should do it, while
creating resource bundle.

Thanks,
Pawel

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