You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2014/12/13 05:15:39 UTC
git commit: [flex-sdk] [refs/heads/release4.14.0] - Added support for
AIR 16 beta
Repository: flex-sdk
Updated Branches:
refs/heads/release4.14.0 bf69113af -> cf61b4747
Added support for AIR 16 beta
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/cf61b474
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/cf61b474
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/cf61b474
Branch: refs/heads/release4.14.0
Commit: cf61b474714db4b5720ad7cc345661fd64998b3c
Parents: bf69113
Author: Justin Mclean <jm...@apache.org>
Authored: Sat Dec 13 15:14:33 2014 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Sat Dec 13 15:14:33 2014 +1100
----------------------------------------------------------------------
ide/addAIRtoSDK.sh | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/cf61b474/ide/addAIRtoSDK.sh
----------------------------------------------------------------------
diff --git a/ide/addAIRtoSDK.sh b/ide/addAIRtoSDK.sh
index 97e1810..fcafcb3 100755
--- a/ide/addAIRtoSDK.sh
+++ b/ide/addAIRtoSDK.sh
@@ -30,14 +30,14 @@
AIR_VERSION="$1"
OS=`uname`
-if [[ "${AIR_VERSION}" != "15.0"
+if [[ "${AIR_VERSION}" != "16.0" && "${AIR_VERSION}" != "15.0"
&& "${AIR_VERSION}" != "14.0" && "${AIR_VERSION}" != "13.0" && "${AIR_VERSION}" != "4.0"
&& "${AIR_VERSION}" != "3.9" && "${AIR_VERSION}" != "3.8" && "${AIR_VERSION}" != "3.7"
&& "${AIR_VERSION}" != "3.6" && "${AIR_VERSION}" != "3.5" && "${AIR_VERSION}" != "3.4"
&& "${AIR_VERSION}" != "3.3" && "${AIR_VERSION}" != "3.2" && "${AIR_VERSION}" != "3.1"
&& "${AIR_VERSION}" != "3.0" && "${AIR_VERSION}" != "2.7" && "${AIR_VERSION}" != "2.6" ]]
then
- echo Unknown version ${AIR_VERISON} of AIR. Versions 2.6, 2.7, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 13.0, 14.0 and 15.0 are supported.
+ echo Unknown version ${AIR_VERISON} of AIR. Versions 2.6, 2.7, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 13.0, 14.0, 15.0 and 16.0 are supported.
exit 1;
fi
@@ -98,6 +98,11 @@ downloadAIR()
airTempDir="${IDE_SDK_DIR}/frameworks/temp"
mkdir -p "${airTempDir}"
+ if [ ${AIR_VERSION} = "16.0" ]
+ then
+ airDownload="http://labsdownload.adobe.com/pub/labs/flashruntimes/air/air16_sdk_sa_mac.tbz2"
+ fi
+
if [[ "${OS}" == "Darwin" ]]
then
airDownload="http://airdownload.adobe.com/air/mac/download/${version}/AdobeAIRSDK.tbz2"
@@ -156,6 +161,13 @@ for configFile in "${configFiles[@]}"
do
echo Updating ${configFile}
+ # 16.0 needs FP 16 and swf version 27
+ if [ ${AIR_VERSION} = "16.0" ]
+ then
+ updatePlayerVersion 16.0 "${configFile}"
+ updateSWFVersion 27 "${configFile}"
+ fi
+
# 15.0 needs FP 15 and swf version 26
if [ ${AIR_VERSION} = "15.0" ]
then