flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [08/21] git commit: [flex-sdk] [refs/heads/release4.14.0] - Added support for AIR 16 beta
Date Tue, 16 Dec 2014 08:41:30 GMT
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/f3359a91
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/f3359a91
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/f3359a91

Branch: refs/heads/release4.14.0
Commit: f3359a91a0c695e37e3ee4d48196724ff3c3db4d
Parents: 0755a1c
Author: Justin Mclean <jmclean@apache.org>
Authored: Sat Dec 13 15:14:33 2014 +1100
Committer: Erik de Bruin <erik@ixsoftware.nl>
Committed: Tue Dec 16 09:37:13 2014 +0100

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


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


Mime
View raw message