Hi Logan!

I tried that - but it didn't work using <includeResourceBundles>.

On 10 Feb., 16:19, Logan Allred <[email protected]> wrote:
> On Tue, Feb 10, 2009 at 7:27 AM, netphreak <[email protected]> wrote:
> > I can make it include the files, by making a mxml file:
> ....
> >                [ResourceBundle("fionia_validators")]
> >                [ResourceBundle("validators")]
>
> You could also just put these in a Metadata tag:
>     <mx:Metadata>
>         [ResourceBundle("fionia_validators")]
>         [ResourceBundle("validators")]
>     </mx:Metadata>
>
> > So something is missing in the maven plugin for handling this.
>
> Well, the Flex compiler is an optimizing compiler, so if you don't use
> something, they don't compile it. In this case, since you don't use
> your resource bundles in the swc itself, it just optimizes them out
> assuming you don't need them. That's what the include-resource-bundles
> compiler option that Velo linked to is for. It's to tell the compiler
> that while your swc doesn't use them, other projects will depend on
> them and to include them anyway.
>
> So just add your 2 resource bundles to your includeResourceBundles and
> you should be good.
>
> 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