0 Replies Latest reply on Apr 28, 2008 4:24 PM by (Jono_Spiro)

    [svn] 1448: compiler: added a new token {targetPlayerMajorVersion} to support multiple versions of playerglobal .swc

    Level 1
      Revision: 1448<br />Author:   jspiro@adobe.com<br />Date:     2008-04-28 17:24:57 -0700 (Mon, 28 Apr 2008)<br /><br />Log Message:<br />-----------<br />compiler: added a new token {targetPlayerMajorVersion} to support multiple versions of playerglobal.swc<br />* playerglobal.swc has been moved into libs/player/9/playerglobal.swc<br />* {tpmv} is available in all path-elements, e.g. external-library-path, in flex-config, commandline, and in <source-path> Ant task<br />  - it is replaced at compile-time with the major version from --target-player, e.g. 9<br />* added an OEM API for code model to get namespaces that should be automatically opened wrt target-player.<br />* build scripts reference playerglobal using a new ant property called ${playerglobal.version}<br />* default target-player is 9.0.115<br /><br />Reviewer: Pete and Paul<br />Bugs: n/a<br />QA: Yes, we should test all the targets in build_framework.xml and all other build.xmls that were modified.<br />Doc: Yes, we need to document the new config token in flex-config and path-elements. This will be back-merged to 3.0.x as well, so those docs probably need to be updated too.<br /><br />Modified Paths:<br />--------------<br />    flex/sdk/trunk/build.properties<br />    flex/sdk/trunk/build.xml<br />    flex/sdk/trunk/frameworks/air-config.xml<br />    flex/sdk/trunk/frameworks/build_framework.xml<br />    flex/sdk/trunk/frameworks/flex-config.xml<br />    flex/sdk/trunk/frameworks/projects/airframework/build.xml<br />    flex/sdk/trunk/frameworks/projects/flash-integration/build.xml<br />    flex/sdk/trunk/frameworks/projects/flex/build.xml<br />    flex/sdk/trunk/frameworks/projects/framework/build.xml<br />    flex/sdk/trunk/frameworks/projects/haloclassic/build.xml<br />    flex/sdk/trunk/frameworks/projects/rpc/build.xml<br />    flex/sdk/trunk/frameworks/projects/utilities/build.xml<br />    flex/sdk/trunk/modules/antTasks/src/flex/ant/AscTask.java<br />    flex/sdk/trunk/modules/antTasks/src/flex/ant/CompcTask.java<br />    flex/sdk/trunk/modules/antTasks/src/flex/ant/FlexTask.java<br />    flex/sdk/trunk/modules/antTasks/src/flex/ant/MxmlcTask.java<br />    flex/sdk/trunk/modules/antTasks/src/flex/ant/config/ConfigVariable.java<br />    flex/sdk/trunk/modules/antTasks/src/flex/ant/config/NestedAttributeElement.java<br />    flex/sdk/trunk/modules/antTasks/src/flex/ant/types/FlexFileSet.java<br />    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/Parser.java<br />    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/TypeValue.java<br />    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/ContextStatics.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java <br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/Configuration.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java< br />    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Toolkit.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/OEMUtil.java<br /><br />Added Paths:<br />-----------<br />    flex/sdk/trunk/frameworks/libs/player/9/<br />    flex/sdk/trunk/frameworks/libs/player/9/playerglobal.swc<br /><br />Removed Paths:<br />-------------<br />    flex/sdk/trunk/frameworks/libs/player/playerglobal.swc