flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject git commit: [flex-utilities] [refs/heads/develop] - On Linux, AIR is very unlikely to be supported, so on that platform abort at the start. Update the existing 'unsupported OS' message to link to the ANT installer docs Add compile script
Date Thu, 05 Feb 2015 18:45:16 GMT
Repository: flex-utilities
Updated Branches:
  refs/heads/develop 4eb6595be -> 58b664b13


On Linux, AIR is very unlikely to be supported, so on that platform abort at the start.
Update the existing 'unsupported OS' message to link to the ANT installer docs
Add compile script


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/58b664b1
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/58b664b1
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/58b664b1

Branch: refs/heads/develop
Commit: 58b664b1347d702798fc423d8e5ed27ee5ba918e
Parents: 4eb6595
Author: Tom Chiverton <falken@wopr.house>
Authored: Thu Feb 5 18:44:07 2015 +0000
Committer: Tom Chiverton <falken@wopr.house>
Committed: Thu Feb 5 18:44:07 2015 +0000

----------------------------------------------------------------------
 installerBadge/compile.sh                      | 1 +
 installerBadge/src/InstallApacheFlexBadge.mxml | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/58b664b1/installerBadge/compile.sh
----------------------------------------------------------------------
diff --git a/installerBadge/compile.sh b/installerBadge/compile.sh
new file mode 100644
index 0000000..4d46b15
--- /dev/null
+++ b/installerBadge/compile.sh
@@ -0,0 +1 @@
+$FLEX_SDK_HOME/bin/mxmlc -compiler.source-path+=../common/src  src/InstallApacheFlexBadge.mxml

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/58b664b1/installerBadge/src/InstallApacheFlexBadge.mxml
----------------------------------------------------------------------
diff --git a/installerBadge/src/InstallApacheFlexBadge.mxml b/installerBadge/src/InstallApacheFlexBadge.mxml
index 9a3e8d5..c8d8e0c 100644
--- a/installerBadge/src/InstallApacheFlexBadge.mxml
+++ b/installerBadge/src/InstallApacheFlexBadge.mxml
@@ -43,7 +43,7 @@ limitations under the License.
 		//
 		//----------------------------------------------------------------------
 		
-		private const INFO_ERROR_OPERATING_SYSTEM:String = "The Apache Flex SDK Installer application\nis
not supported on your operating system.";
+		private const INFO_ERROR_OPERATING_SYSTEM:String = "The Apache Flex SDK Installer application\nis
not supported on your operating system.\n\nPlease see https://cwiki.apache.org/confluence/display/FLEX/Installation+help
for alternatives.";
 		private const INFO_ERROR_RETRIEVE_CONFIG:String = "The application was unable to retrieve\nthe
configuration file.";
 		
 		private const LABEL_DOWNLOAD:String = "DOWNLOAD";
@@ -108,6 +108,10 @@ limitations under the License.
 		private function creationCompleteHandler(event:FlexEvent):void
 
 		{
+			if( Capabilities.manufacturer.toLowerCase().indexOf('linux') > -1 ){
+				Alert.show(INFO_ERROR_OPERATING_SYSTEM, TITLE_ERROR_PLATFORM);
+			}
+		
 			_serviceURL = FlexGlobals.topLevelApplication.parameters.serviceURL;
 			
 			var displayType:String = ExternalInterface.call("displayType"); 


Mime
View raw message