You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by er...@apache.org on 2014/12/18 10:06:43 UTC

[09/33] git commit: [flex-sdk] [refs/heads/develop] - Added support for AIR 16 beta

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/33ee5f13
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/33ee5f13
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/33ee5f13

Branch: refs/heads/develop
Commit: 33ee5f137a28b33ae9ce74b3885b32cf013e7e29
Parents: 798ce50
Author: Justin Mclean <jm...@apache.org>
Authored: Sat Dec 13 15:14:33 2014 +1100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Thu Dec 18 09:53:52 2014 +0100

----------------------------------------------------------------------
 ide/addAIRtoSDK.sh | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/33ee5f13/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