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 AD91410BA4 for ; Mon, 5 Aug 2013 18:45:43 +0000 (UTC) Received: (qmail 540 invoked by uid 500); 5 Aug 2013 18:45:43 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 360 invoked by uid 500); 5 Aug 2013 18:45:43 -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 354 invoked by uid 99); 5 Aug 2013 18:45:42 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Aug 2013 18:45:42 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 40EAB8B924C; Mon, 5 Aug 2013 18:45:42 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bigosmallm@apache.org To: commits@flex.apache.org Message-Id: <5c33effa02734e1d9f0749b46fe20305@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: [flex-utilities] [refs/heads/develop] - Installer badge now supports sdk-installer-config-3.0.xml and hence Flex 4.10.0 Date: Mon, 5 Aug 2013 18:45:42 +0000 (UTC) Updated Branches: refs/heads/develop f57d54194 -> eda5f959f Installer badge now supports sdk-installer-config-3.0.xml and hence Flex 4.10.0 Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/eda5f959 Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/eda5f959 Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/eda5f959 Branch: refs/heads/develop Commit: eda5f959f14de6f78d92a345ce82ca8efc89351d Parents: f57d541 Author: Om Authored: Mon Aug 5 11:45:24 2013 -0700 Committer: Om Committed: Mon Aug 5 11:45:24 2013 -0700 ---------------------------------------------------------------------- installerBadge/.actionScriptProperties | 6 +++--- installerBadge/src/InstallApacheFlexBadge.mxml | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/eda5f959/installerBadge/.actionScriptProperties ---------------------------------------------------------------------- diff --git a/installerBadge/.actionScriptProperties b/installerBadge/.actionScriptProperties index c9e2451..991a460 100644 --- a/installerBadge/.actionScriptProperties +++ b/installerBadge/.actionScriptProperties @@ -1,6 +1,6 @@ - - + + @@ -11,7 +11,6 @@ - @@ -19,6 +18,7 @@ + http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/eda5f959/installerBadge/src/InstallApacheFlexBadge.mxml ---------------------------------------------------------------------- diff --git a/installerBadge/src/InstallApacheFlexBadge.mxml b/installerBadge/src/InstallApacheFlexBadge.mxml index 453a65a..aca734f 100644 --- a/installerBadge/src/InstallApacheFlexBadge.mxml +++ b/installerBadge/src/InstallApacheFlexBadge.mxml @@ -161,8 +161,9 @@ limitations under the License. { var configXML:XML = XML(_internetUtil.result); var files:XMLList = configXML.files.file; + var defaultFlexVersion:String = files.(@name == "FlexVersions").@default.toString(); - _sdkBinaryFileName = files.(@name == "ApacheFlexSDK").@file.toString(); + _sdkBinaryFileName = files.(@name == defaultFlexVersion).@file.toString(); _installerFileName = files.(@name == 'SDKInstallerApp').@file.toString(); _installerDownloadPath = files.(@name == 'SDKInstallerApp').@path.toString();