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/02/13 02:31:29 UTC

[07/11] git commit: [flex-sdk] [refs/heads/release4.12.0] - - use 'build.xml' compatible version numbering to make sure FP version is matched correctly to 'swfversion' - split AIR 'version' and 'SDK location' to allow for more descriptive SDK directory n

- use 'build.xml' compatible version numbering to make sure FP version is matched correctly to 'swfversion'
- split AIR 'version' and 'SDK location' to allow for more descriptive SDK directory naming
- correctly output AIR version to 'local.properties'

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/release4.12.0
Commit: 96ba4bc1d13f384e7e8ef603b67a27dc6eabb771
Parents: b0b5820
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Mon Feb 10 11:48:28 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Mon Feb 10 11:48:43 2014 +0100

----------------------------------------------------------------------
 mustella/jenkins.sh | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/96ba4bc1/mustella/jenkins.sh
----------------------------------------------------------------------
diff --git a/mustella/jenkins.sh b/mustella/jenkins.sh
index 84530f4..3023763 100755
--- a/mustella/jenkins.sh
+++ b/mustella/jenkins.sh
@@ -65,17 +65,21 @@ if [ "$FLASH_VERSION" == "11.1" ]
 then
   FLASH_VERSION=11.7
   AIR_VERSION=3.7
+  AIR_SDK_DIR=3.7
 elif [ "$FLASH_VERSION" == "11.7" ]
 then
   FLASH_VERSION=12.0
-  AIR_VERSION=4
+  AIR_VERSION=4.0
+  AIR_SDK_DIR=4.0
 elif [ "$FLASH_VERSION" == "12.0" ]
 then
-  FLASH_VERSION=13
-  AIR_VERSION=4.01
+  FLASH_VERSION=13.0
+  AIR_VERSION=4.0
+  AIR_SDK_DIR=4.0_beta
 else
   FLASH_VERSION=11.1
   AIR_VERSION=3.7
+  AIR_SDK_DIR=3.7
 fi
 
 # write toggled values to 'versions' file
@@ -90,7 +94,7 @@ LOG=$LOG"- Set FLASH_VERSION to '$FLASH_VERSION' and AIR_VERSION to '$AIR_VERSIO
 
 # LOCATIONS
 #export AIR_HOME="/Users/erik/Documents/ApacheFlex/dependencies/AdobeAIRSDK"
-export AIR_HOME="C:\\ApacheFlex\\dependencies\\AdobeAIRSDK\\$AIR_VERSION"
+export AIR_HOME="C:\\ApacheFlex\\dependencies\\AdobeAIRSDK\\$AIR_SDK_DIR"
 LOG=$LOG"- Set AIR_HOME to '$AIR_HOME'"$'\n'
 
 case "$FLASH_VERSION" in
@@ -104,7 +108,7 @@ case "$FLASH_VERSION" in
   12.0)
     export FLASHPLAYER_DEBUGGER="C:\\ApacheFlex\\dependencies\\FlashPlayer_Debug\\flashplayer12-0_debugsa_win_32.exe"
   ;;
-  13)
+  13.0)
     export FLASHPLAYER_DEBUGGER="C:\\ApacheFlex\\dependencies\\FlashPlayer_Debug\\flashplayer13_debugsa_win_32.exe"
   ;;
   *)
@@ -119,7 +123,7 @@ LOG=$LOG"- Set FLASHPLAYER_DEBUGGER to '$FLASHPLAYER_DEBUGGER'"$'\n'
 # To build the SDK using the versions specified above, write '../local.properties'
 cat > ../local.properties <<END 
 playerglobal.version = $FLASH_VERSION
-air.version = AIR_VERSION
+air.version = $AIR_VERSION
 END