Return-Path: X-Original-To: apmail-flex-commits-archive@www.apache.org Delivered-To: apmail-flex-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 51E03CD88 for ; Tue, 16 Dec 2014 08:41:25 +0000 (UTC) Received: (qmail 91416 invoked by uid 500); 16 Dec 2014 08:41:24 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 91291 invoked by uid 500); 16 Dec 2014 08:41:24 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 91130 invoked by uid 99); 16 Dec 2014 08:41:24 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2014 08:41:24 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 2C6A29C9FAF; Tue, 16 Dec 2014 08:41:24 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: erikdebruin@apache.org To: commits@flex.apache.org Date: Tue, 16 Dec 2014 08:41:30 -0000 Message-Id: <0c777f5f08534db5818aa80880b8779c@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [08/21] git commit: [flex-sdk] [refs/heads/release4.14.0] - 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/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 Authored: Sat Dec 13 15:14:33 2014 +1100 Committer: Erik de Bruin 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