0 Replies Latest reply on Apr 28, 2010 2:02 PM by Darrell Loverin

    [svn:fx-trunk] 15795: Initial check-in for removing unused rsls and the include-inheritance-dependencies-only features .

    Darrell Loverin Level 4

      Revision: 15795

      Revision: 15795

      Author:   dloverin@adobe.com

      Date:     2010-04-28 14:01:58 -0700 (Wed, 28 Apr 2010)

      Log Message:

      ***********

      Initial check-in for removing unused rsls and the include-inheritance-dependencies-only features.

       

      Changes to implement ?\226?\128?\147remove-unused-rsls feature. When the configuration option is true, RSLs associated with RSLs that are not used by the application are not loaded at runtime. The compiler logs the primary RSLs that are required with the number of failovers, if any.

       

      compiler/src/java/flex2/compiler/common/Configuration.java

                  add ?\226?\128?\147remove-unused-rsls and ?\226?\128?\147include-inheritance-dependencies-only.

       

      compiler/src/java/flex2/compiler/CompilerSwcContext.java

                  pass rslGroup to getSwcGroup.

       

      compiler/src/java/flex2/compiler/swc/SwcCache.java

                  Add parameter to getSwcGroup to a group of rsls can be passed in.

       

      compiler/src/java/flex2/compiler/swc/SwcGroup.java

                  Add a SwcGroup constructor that accepts a SwcGroup of Rsls. Use the RSLs to give preference to scripts that come from RSLs when duplicate scripts are merged.

       

      compiler/src/java/flex2/tools/CompcPreLink.java

      compiler/src/java/flex2/tools/PreLink.java

                  Find the set of SWCs that are contributing code to the application. Use this set to restrict which RSLs are written to the generated root class. Log the RSLs that are required to give the user some feedback.

       

      compiler/src/java/flex2/tools_en.properties