0 Replies Latest reply on Dec 8, 2009 1:13 PM by Darrell Loverin

    [svn:fx-trunk] 12665: Load RSLs relative to module.

    Darrell Loverin Level 4

      Revision: 12665

      Revision: 12665

      Author:   dloverin@adobe.com

      Date:     2009-12-08 13:13:20 -0800 (Tue, 08 Dec 2009)

      Log Message:

      ***********

      Load RSLs relative to module.

       

      Also dispatch an error message from ModuleLoader if a module cannot be created.

       

      build.xml

      Include modules.properties file in framework resource bundle.

       

      src/mx/core/FlexModuleFactory.as

      Pass rootURL to RSLItem to support relative urls for the import loading style of RSL loading.

       

      src/mx/modules/ModuleLoader.as

      Dispatch an error if we cannot create a module for whatever reason. In the scenario for this bug the module had a custom library that was externalized but it did not try to load the RSL partly due to user error and partly to tooling. This caused the Module?\226?\128?\153s main class to not be present in the module factory?\226?\128?\153s application domain.

       

      Bug FB-24689 has been written up to address compiling modules to load RSLs from Flash Builder.

       

      bundles/en_US/modules.properties

      New bundle for modules.

       

       

      QE notes: None.

      Doc notes: None.

      Bugs: SDK-20632

      Reviewer: Alex

      Tests run: checkintests, Modules

      Is noteworthy for integration: no

       

      Ticket Links:

      ***********

          http://bugs.adobe.com/jira/browse/FB-24689

          http://bugs.adobe.com/jira/browse/SDK-20632

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/framework/build.xml

          flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleLoader.as

       

      Added Paths:

      ***********

          flex/sdk/trunk/frameworks/projects/framework/bundles/en_US/modules.properties