First, did the locale compile work? Are there _rb.swc files in the sdk’s frameworks/locale/fr_FR folder?
Are you adding a test to an existing file of tests or creating a whole new thing? There are .compile files that control what locales get compiled into a SWF. See the mustella/tests/RuntimeLocalization folder for examples of them. The default just compiles en_US into the SWF. -Alex On 12/10/14, 3:23 PM, "Chris Martin" <chrsm...@outlook.com> wrote: >Well, I was hoping compiling for all locales would do the trick, but i'm >still getting the same error. Silly me was only looking at the readme >for mustella and didn't think to check the readme for the SDK itself. >Any other ideas? I'm thinking it's a compile switch for the swf that is >generated for the specific test itself. But that would mean everyone >would be having the problem, and certain Jenkins would be freaking out >with the same error. So I feel this has to be environmental. > >Chris > >> From: bigosma...@gmail.com >> Date: Wed, 10 Dec 2014 12:32:32 -0800 >> Subject: Re: Could not find compiled locale with mustella >>ResourceManager tests >> To: dev@flex.apache.org >> >> Try doing ant other.locales first? That's what the README seems to >> indicate. >> >> If you want only fr_FR, you could try ant -Dlocale=fr_FR >> >> Thanks, >> Om >> >> On Wed, Dec 10, 2014 at 12:28 PM, Chris Martin <chrsm...@outlook.com> >>wrote: >> >> > Hey everyone, >> > >> > In trying to create a new mustella test case for ResourceManager, i'm >> > trying to run the tests to get a baseline. When I run the tests I >>get a >> > failure. >> > >> > [java] ===================================================== >> > [java] Failed: >> > [java] ===================================================== >> > [java] >> > >>resources/ResourceManager/Integration/ResourceManager_Integration_UICompo >>nent_resourcesChanged >> > ResourceManager_Integration_UIComponent_resourcesChanged_localeChain >>Failed >> > Timed out >> > >> > How when it fails, the swf that is running reports the following >>error: >> > >> > Error: Could not find compiled locale 'fr_FR'. >> > at mx.resources::ResourceManagerImpl/set >> > >>localeChain()[C:\Users\cmartin\Documents\GitHub\flex-sdk\frameworks\proje >>cts\framework\src\mx\resources\ResourceManagerImpl.as:248] >> > at >> > >>ResourceManager_Methods_findResourceBundleWithResource/___ResourceManager >>_Methods_findResourceBundleWithResource_RunCode6_code()[C:\Users\cmartin\ >>Documents\GitHub\flex-sdk\mustella\tests\resources\ResourceManager\Method >>s\ResourceManager_Methods_findResourceBundleWithResource.mxml:137] >> > at flash.events::EventDispatcher/dispatchEventFunction() >> > at flash.events::EventDispatcher/dispatchEvent() >> > at >> > >>RunCode/doStep()[C:\Users\cmartin\Documents\GitHub\flex-sdk\mustella\as3\ >>src\mustella\RunCode.as:46] >> > at >> > >>TestStep/execute()[C:\Users\cmartin\Documents\GitHub\flex-sdk\mustella\as >>3\src\mustella\TestStep.as:65] >> > at >> > >>TestCase/runSteps()[C:\Users\cmartin\Documents\GitHub\flex-sdk\mustella\a >>s3\src\mustella\TestCase.as:418] >> > at >> > >>TestCase/runSetup()[C:\Users\cmartin\Documents\GitHub\flex-sdk\mustella\a >>s3\src\mustella\TestCase.as:272] >> > at >> > >>TestCase/runTest()[C:\Users\cmartin\Documents\GitHub\flex-sdk\mustella\as >>3\src\mustella\TestCase.as:251] >> > at >> > >>UnitTester/runTests()[C:\Users\cmartin\Documents\GitHub\flex-sdk\mustella >>\as3\src\mustella\UnitTester.as:1984] >> > >> > Now, I'm sure I'm just missing that "little something" to get this to >> > work, but I don't quite know my way around Mustella quite yet. Any >> > pointers would be awesome. Or even if you get the same error when >>you try >> > to run the mustella tests for ResourceManager via the command line: >> > >> > ./mini_run.sh tests/resources/ResourceManager/ >> > >> > while in the mustella directory. >> > >> > Thanks in advance, >> > >> > Chris >> > >