RSL failover error when compiling a resource module swf
Hi, I have migrated my application from Flex SDK 3.4 to 4.1. I am moving to Flex SDK 4.5.0.17689 (Hero Milestone build) to use the Spark Form control for better layout of the RTL languages.
I am compiling my resource bundles into SWF files and using them. I am including the required framework bundles also when compiling my resources into SWF. It was working well with SDK 4.1. But when I am trying to compile the resource bundles with SDK 4.5.0, I am getting the following RSL failover.
Loading configuration file C:\Program Files (x86)\Adobe\Adobe Flash Builder Burrito\sdks\4.5.0\frameworks\flex-config.xml
Required RSLs:
http://fpdownload.adobe.com/pub/swz/flex/4.5.0.17689/framework_4.5.0.17689.swz with 1 failover.
http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.139/textLayout_2.0.0.139.swz with 1 failover.
http://fpdownload.adobe.com/pub/swz/flex/4.5.0.17689/spark_4.5.0.17689.swz with 1 failover.
http://fpdownload.adobe.com/pub/swz/flex/4.5.0.17689/sparkskins_4.5.0.17689.swz with 1 failover.
http://fpdownload.adobe.com/pub/swz/flex/4.5.0.17689/rpc_4.5.0.17689.swz with 1 failover.
http://fpdownload.adobe.com/pub/swz/flex/4.5.0.17689/osmf_1.0.0.16316.swz with 1 failover.
http://fpdownload.adobe.com/pub/swz/flex/4.5.0.17689/mx_4.5.0.17689.swz with 1 failover.
D:\FlashBuilder_Burritto\myApp\src\MyAppResources_en.swf (39276 bytes)
The SWF files gets generated, I copied it to the deployment folder and when I start the application, I am getting the following error even though this bundle is included in my compile command.
Error: Could not find compiled resource bundle 'core' for locale 'en'.
at mx.resources::ResourceManagerImpl/installCompiledResourceBundle()
at mx.resources::ResourceManagerImpl/installCompiledResourceBundles()
at mx.core::FlexModuleFactory/installCompiledResourceBundles()
at mx.core::FlexModuleFactory/docFrameHandler()
at mx.core::FlexModuleFactory/docFrameListener()
This is the command that I use to compile resource bundles into SWF file.
C:\"Program Files (x86)"\Adobe\"Adobe Flash Builder Burrito"\sdks\4.5.0\bin\mxmlc -locale=en -source-path=locale/{locale} -include-resource-bundles=core,effects,skins,styles,components,layout,MyAppResources -output MyAppResources_en.swf
What do I need to do to remove the above error?
