Wow, this is a serious issue on flex compiler.... I think is possible to workaround it by changing the test to include all locales available.... but not sure if that is a wise decision. I mean, does some see any problem on including all resource bundles available into the test SWF?
VELO On Mon, Apr 27, 2009 at 1:49 PM, Dtornkaew <[email protected]> wrote: > > When compiling multiple SWC libraries AND marking all dependencies as > scope "external" the unit tests won't compile. The Flex Compiler error > complains about incompatible overrides on the generated locale > classes. > > This problem arises when I create 2 SWC libraries where library B > depends on library A and both library A and B have locales and I mark > both libraries with compileLocales property and all dependencies on > library A and B are marked to scope "external". > > I have been able to fix the problem by changing TestCompilerMojo to > put all "external" and "test" dependencies on the library-path instead > of on the include-path. When I do this everything works fine. > > I am torn... I know there are problems with the Automation framework > and Unit Tests if all dependencies marked "test" are not on the > "include-path" but at the same time there are problems with compiling > multiple dependent SWCs with compiled locales. The only way I can see > to solve this problem is for more scopes such as "test-internal" and > "test-merged" but this is not my decision to make... just my > problem :'( > > Anyone have suggestions or run into this problem before? > > The reason I am using scope "external" for all dependencies on my > libraries is to attempt to keep my libraries free of transient code. > > Thanks, > Lance > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
