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 2016/11/02 23:22:40 UTC

[3/3] git commit: [flex-sdk] [refs/heads/release4.16.0] - Add more recent versions

Add more recent versions


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/8615a0d0
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/8615a0d0
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/8615a0d0

Branch: refs/heads/release4.16.0
Commit: 8615a0d01715be73fdfc55351dcd90d19932f39f
Parents: c25668a
Author: Justin Mclean <jm...@apache.org>
Authored: Thu Nov 3 10:22:25 2016 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Thu Nov 3 10:22:25 2016 +1100

----------------------------------------------------------------------
 ide/setFlashPlayerVersion.sh | 69 ++++++++++++++++++++++++++++++++++-----
 1 file changed, 60 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/8615a0d0/ide/setFlashPlayerVersion.sh
----------------------------------------------------------------------
diff --git a/ide/setFlashPlayerVersion.sh b/ide/setFlashPlayerVersion.sh
index 94de920..fbde916 100755
--- a/ide/setFlashPlayerVersion.sh
+++ b/ide/setFlashPlayerVersion.sh
@@ -99,13 +99,13 @@ determineVersion()
         then 
             FLASH_VERSION="11.1"
         else
-            FLASH_VERSION="20.0"
+            FLASH_VERSION="23.0"
         fi
     fi
     
     if [ ${latest} = "Y" ]
     then
-    	FLASH_VERSION="20.0"
+    	FLASH_VERSION="23.0"
     fi
 
     echo "Setting minimum Flash Player version to ${FLASH_VERSION}"
@@ -125,9 +125,10 @@ if [[ "${FLASH_VERSION}" != "10.2" && "${FLASH_VERSION}" != "10.3"  && "${FLASH_
   && "${FLASH_VERSION}" != "12.0" && "${FLASH_VERSION}" != "13.0" && "${FLASH_VERSION}" != "14.0"
   && "${FLASH_VERSION}" != "15.0" && "${FLASH_VERSION}" != "16.0" && "${FLASH_VERSION}" != "17.0"
   && "${FLASH_VERSION}" != "17.0" && "${FLASH_VERSION}" != "18.0" && "${FLASH_VERSION}" != "19.0"
-  && "${FLASH_VERSION}" != "20.0" ]]
+  && "${FLASH_VERSION}" != "20.0" && "${FLASH_VERSION}" != "21.0" && "${FLASH_VERSION}" != "22.0"
+  && "${FLASH_VERSION}" != "23.0" ]]
 then
-	echo Unknown version ${FLASH_VERSION} of Flash Player. Versions 10.2, 10.3, 11.0, 11.1, 11.2, 11.3, 11.4, 11.5, 11.6, 11.7, 11.8, 11.9, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0 and 20.0 are supported.
+	echo Unknown version ${FLASH_VERSION} of Flash Player. Versions 10.2, 10.3, 11.0, 11.1, 11.2, 11.3, 11.4, 11.5, 11.6, 11.7, 11.8, 11.9, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0 and 23.0 are supported.
 	exit 1;
 fi
 
@@ -148,11 +149,36 @@ then
 	echo Installing AIR
 	echo
 
-	if [[ $FLASH_VERSION = "17.0b" ]]
+	if [[ $FLASH_VERSION = "23.0" ]]
     then
-        ./addAIRtoSDK.sh 17.0b "$IDE_SDK_DIR"
+        ./addAIRtoSDK.sh 23.0 "$IDE_SDK_DIR"
     fi
-    
+
+	if [[ $FLASH_VERSION = "22.0" ]]
+    then
+        ./addAIRtoSDK.sh 22.0 "$IDE_SDK_DIR"
+    fi
+
+	if [[ $FLASH_VERSION = "21.0" ]]
+    then
+        ./addAIRtoSDK.sh 21.0 "$IDE_SDK_DIR"
+    fi
+
+	if [[ $FLASH_VERSION = "20.0" ]]
+    then
+        ./addAIRtoSDK.sh 20.0 "$IDE_SDK_DIR"
+    fi
+
+	if [[ $FLASH_VERSION = "19.0" ]]
+    then
+        ./addAIRtoSDK.sh 19.0 "$IDE_SDK_DIR"
+    fi
+
+	if [[ $FLASH_VERSION = "18.0" ]]
+    then
+$        ./addAIRtoSDK.sh 18.0 "$IDE_SDK_DIR"
+    fi
+
 	if [[ $FLASH_VERSION = "17.0" ]]
     then
         ./addAIRtoSDK.sh 17.0 "$IDE_SDK_DIR"
@@ -241,11 +267,36 @@ do
 	
 	updatePlayerVersion "${FLASH_VERSION}" "${configFile}"
 
-	if [ ${FLASH_VERSION} = "17.0b	" ]
+	if [ ${FLASH_VERSION} = "23.0" ]
 	then
-		updateSWFVersion 28 "${configFile}"
+		updateSWFVersion 34 "${configFile}"
+	fi
+
+	if [ ${FLASH_VERSION} = "22.0" ]
+	then
+		updateSWFVersion 33 "${configFile}"
+	fi
+
+	if [ ${FLASH_VERSION} = "21.0" ]
+	then
+		updateSWFVersion 32 "${configFile}"
 	fi
 	
+	if [ ${FLASH_VERSION} = "20.0" ]
+	then
+		updateSWFVersion 31 "${configFile}"
+	fi
+
+	if [ ${FLASH_VERSION} = "19.0" ]
+	then
+		updateSWFVersion 30 "${configFile}"
+	fi
+
+	if [ ${FLASH_VERSION} = "18.0" ]
+	then
+		updateSWFVersion 29 "${configFile}"
+	fi
+
 	if [ ${FLASH_VERSION} = "17.0" ]
 	then
 		updateSWFVersion 28 "${configFile}"