Updated README to include:
-Mention about sdk-installer-config-3.0.xml and the new location
-Note about changing Adobe AIR namespace version from 3.4 to 2.6 on Linux
Updated sdk-installer-config-3.0.xml to make AIR 3.8/FP 11.8 as default
Ensure that en_US is selected as default when there is no default locale 
provided.


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

Branch: refs/heads/master
Commit: c75937a4a43b0edbaea3066c5a0a4483d65e7c77
Parents: 679ef07
Author: Om <[email protected]>
Authored: Sun Jul 28 00:45:42 2013 -0700
Committer: Om <[email protected]>
Committed: Sun Jul 28 00:45:42 2013 -0700

----------------------------------------------------------------------
 installer/README                                | 33 +++++++++++---------
 installer/src/InstallApacheFlex.mxml            | 14 ++++++++-
 .../src/installer/sdk-installer-config-3.0.xml  | 12 +++----
 3 files changed, 38 insertions(+), 21 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/c75937a4/installer/README
----------------------------------------------------------------------
diff --git a/installer/README b/installer/README
index 6966d3f..a404943 100644
--- a/installer/README
+++ b/installer/README
@@ -36,10 +36,10 @@ Overview:
      - Adobe embedded font support
  
     All the file names and urls of the downloaded files are available in 
-    installer/src/sdk-installer-config-2.0.xml. 
+    installer/src/installer/sdk-installer-config-3.0.xml. 
     When the dependencies file names or urls change in future, update the 
-    sdk-installer-config-2.0.xml to ensure that the application works 
correctly.  
-
+    sdk-installer-config-3.0.xml to ensure that the application works 
correctly.
+    
 - The application uses http://flex.apache.org/single-mirror-url.cgi to 
determine
   the preferred mirror url to download the Apache Flex SDK binary from.
   
@@ -51,22 +51,27 @@ Overview:
 - The Adobe AIR SDK will be downloaded and the relevant files are copied to 
the required 
   locations.
   
-- The Adobe Flash Player playerglobal.swc file and the config files are placed 
in the required 
-  locations.
+- The Adobe Flash Player playerglobal.swc file and the config files are placed 
in the 
+  required locations.
   
 - Then the rest of the external dependencies and the optional files (if 
selected by user) 
   are downloaded and copied into the appropriate locations.  
 
-- From the 2.5 version, by default, Apache Flex SDK Installer 2.5 downloads 
Adobe Flash Player 11.1 
-  and Adobe AIR SDK 3.4. 
-  If you want to change it to any other supported combination, you save 
-  a copy of the config file found at: 
http://flex.apache.org/sdk-installer-config-2.0.xml, 
-  modify the download urls to point to the required versions.  Then run the 
app from command line 
-  mode with the optional command line parameter: -config=<path to config file>
+- From the 2.6 version, you can select the version of Adobe Flash Player and 
Adobe AIR SDK
+  the installer downloads.
+
+- From the 2.5 version, by default, Apache Flex SDK Installer 2.5 downloads 
Adobe Flash 
+  Player 11.1 and Adobe AIR SDK 3.4. 
+  If you want to change it to any other supported combination, you save a copy 
of the 
+  config file found at: 
http://flex.apache.org/installer/sdk-installer-config-3.0.xml, 
+  modify the download urls to point to the required versions.  Then run the 
app from 
+  command line mode with the optional command line parameter: -config=<path to 
config file>
+
+- If building the app for Linux, open InstallApacheFlex-app.xml and change the 
Adobe AIR 
+  namespace from http://ns.adobe.com/air/application/3.4 to 
+  http://ns.adobe.com/air/application/2.6  This is because AIR 2.6 is the 
latest available 
+  version on Linux.  
        
-- From the 2.6 version, you can select the version of Adobe Flash Player and 
Adobe AIR the
-  installer downloads.
-       
 
==========================================================================================
 How to build the installer using ANT (no Flash Builder or any other IDE 
required):
 
==========================================================================================

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/c75937a4/installer/src/InstallApacheFlex.mxml
----------------------------------------------------------------------
diff --git a/installer/src/InstallApacheFlex.mxml 
b/installer/src/InstallApacheFlex.mxml
index 4e5978f..5fbd726 100644
--- a/installer/src/InstallApacheFlex.mxml
+++ b/installer/src/InstallApacheFlex.mxml
@@ -296,7 +296,7 @@ variables are not required because the locations of these 
pieces are known.
                
                protected function 
handleApplicationComplete(event:FlexEvent):void {
                        _langSelect.dataProvider = 
ViewResourceConstants.supportedLanguages;
-                       _langSelect.selectedIndex = 0;
+                       _langSelect.selectedIndex = getIndexOfEnUS();
                        defineResourceManagerDefaultLanguage();
                        
                        updateWindow();
@@ -317,6 +317,18 @@ variables are not required because the locations of these 
pieces are known.
                        selectDefaultLanguage();
                }
                
+               private function getIndexOfEnUS():int
+               {
+                       for (var i:int = 0; i < 
_langSelect.dataProvider.length; i++) 
+                       {
+                               if(_langSelect.dataProvider.getItemAt(i).data 
== "en_US")
+                               {
+                                       return i;
+                               }
+                       }
+                       return -1;
+               }
+               
                private function updateWindowTitle():void {
                        this.nativeWindow.title = 
StringUtil.substitute(_viewResourceConstants.INFO_WINDOW_TITLE, 
[APACHE_FLEX_BIN_DISTRO_VERSION_DISPLAY]);
                }

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/c75937a4/installer/src/installer/sdk-installer-config-3.0.xml
----------------------------------------------------------------------
diff --git a/installer/src/installer/sdk-installer-config-3.0.xml 
b/installer/src/installer/sdk-installer-config-3.0.xml
index f5f239c..f79d75c 100644
--- a/installer/src/installer/sdk-installer-config-3.0.xml
+++ b/installer/src/installer/sdk-installer-config-3.0.xml
@@ -35,19 +35,19 @@ limitations under the License.
         <!-- Mirror URL CGI -->
         <file name="MirrorURLCGI" path="" file="single-mirror-url.cgi"/>
 
-               <file name="FlexVersions" versions="4.10.0 RC1,4.9.1,Nightly" 
default="4.10.0 RC1" />
+               <file name="FlexVersions" versions="4.10.0 RC3,4.9.1,Nightly" 
default="4.10.0 RC3" />
 
         <!-- Apache Flex binary distribution
              Notes:
                  - path is relative to mirror URL; don't use starting slash
                  - use http based url if you want to use an absolute url 
instead of mirror
                  - remove the extension from the file name -->
-               <file name="4.10.0 RC1" 
path="https://dist.apache.org/repos/dist/dev/flex/sdk/4.10.0/rc1/binaries/"; 
file="apache-flex-sdk-4.10.0-bin"/>
+               <file name="4.10.0 RC3" 
path="https://dist.apache.org/repos/dist/dev/flex/sdk/4.10.0/rc3/binaries/"; 
file="apache-flex-sdk-4.10.0-bin"/>
                <file name="4.9.1" path="flex/4.9.1/binaries/" 
file="apache-flex-sdk-4.9.1-bin"/>
                <file name="Nightly" 
path="https://builds.apache.org/job/flex-sdk_release/lastSuccessfulBuild/artifact/out/";
 file="apache-flex-sdk-4.10.0-bin" /> 
 
         <!-- All the versions! -->
-               <file name="Versions" 
airVersions="3.8,3.7,3.6,3.5,3.4,3.3,3.2,3.1,3.0,2.7,2.6" 
flashPlayerVersions="11.8,11.7,11.6,11.5,11.4,11.3,11.2,11.1,11.0,10.3,10.2" 
airDefault="3.7" flashPlayerDefault="11.7" /> 
+               <file name="Versions" 
airVersions="3.8,3.7,3.6,3.5,3.4,3.3,3.2,3.1,3.0,2.7,2.6" 
flashPlayerVersions="11.8,11.7,11.6,11.5,11.4,11.3,11.2,11.1,11.0,10.3,10.2" 
airDefault="3.8" flashPlayerDefault="11.8" /> 
 
         <!-- Adobe AIR SDK -->
                <file name="AdobeAIRSDKLin2.6" 
path="http://airdownload.adobe.com/air/lin/download/2.6/"; 
file="AdobeAIRSDK.tbz2" />
@@ -62,7 +62,7 @@ limitations under the License.
                <file name="AdobeAIRSDKWin3.5" 
path="http://airdownload.adobe.com/air/win/download/3.5/"; 
file="AdobeAIRSDK.zip" />
                <file name="AdobeAIRSDKWin3.6" 
path="http://airdownload.adobe.com/air/win/download/3.6/"; 
file="AdobeAIRSDK.zip" />
                <file name="AdobeAIRSDKWin3.7" 
path="http://airdownload.adobe.com/air/win/download/3.7/"; 
file="AdobeAIRSDK.zip" />
-               <file name="AdobeAIRSDKWin3.8" 
path="http://labsdownload.adobe.com/pub/labs/flashruntimes/air/"; 
file="air3-8_sdk_sa_win.zip" />
+               <file name="AdobeAIRSDKWin3.8" 
path="http://airdownload.adobe.com/air/win/download/3.8/"; 
file="AdobeAIRSDK.zip" />
 
                <file name="AdobeAIRSDKMac2.6" 
path="http://airdownload.adobe.com/air/mac/download/2.6/"; 
file="AdobeAIRSDK.tbz2" /> 
                <file name="AdobeAIRSDKMac2.7" 
path="http://airdownload.adobe.com/air/mac/download/2.7/"; 
file="AdobeAIRSDK.tbz2" />
@@ -74,7 +74,7 @@ limitations under the License.
                <file name="AdobeAIRSDKMac3.5" 
path="http://airdownload.adobe.com/air/mac/download/3.5/"; 
file="AdobeAIRSDK.tbz2" />
                <file name="AdobeAIRSDKMac3.6" 
path="http://airdownload.adobe.com/air/mac/download/3.6/"; 
file="AdobeAIRSDK.tbz2" />
                <file name="AdobeAIRSDKMac3.7" 
path="http://airdownload.adobe.com/air/mac/download/3.7/"; 
file="AdobeAIRSDK.tbz2" />
-               <file name="AdobeAIRSDKMac3.8" 
path="http://labsdownload.adobe.com/pub/labs/flashruntimes/air/"; 
file="air3-8_sdk_sa_mac.tbz2" label="beta" />
+               <file name="AdobeAIRSDKMac3.8" 
path="http://airdownload.adobe.com/air/mac/download/3.8/"; 
file="AdobeAIRSDK.tbz2" />
                
                <!-- Adobe Flash Player player global swc -->
                <file name="FlashPlayer10.2" 
path="http://download.macromedia.com/get/flashplayer/installers/archive/playerglobal";
 file="playerglobal10_2.swc" version="10.2" swfversion="11" />
@@ -87,7 +87,7 @@ limitations under the License.
                <file name="FlashPlayer11.5" 
path="http://download.macromedia.com/get/flashplayer/updaters/11/"; 
file="playerglobal11_5.swc" version="11.5" swfversion="18" />
                <file name="FlashPlayer11.6" 
path="http://download.macromedia.com/get/flashplayer/updaters/11/"; 
file="playerglobal11_6.swc" version="11.6" swfversion="19" />
                <file name="FlashPlayer11.7" 
path="http://download.macromedia.com/get/flashplayer/updaters/11/"; 
file="playerglobal11_7.swc" version="11.7" swfversion="20" />
-               <file name="FlashPlayer11.8" 
path="http://labsdownload.adobe.com/pub/labs/flashruntimes/flashplayer/"; 
file="flashplayer11-8_playerglobal.swc" version="11.8" swfversion="21" 
label="beta" />                    
+               <file name="FlashPlayer11.8" 
path="http://download.macromedia.com/get/flashplayer/updaters/11/"; 
file="playerglobal11_8.swc" version="11.8" swfversion="21" />                   
         
         <!-- SWFObject.js -->
         <file name="swfobject" path="http://swfobject.googlecode.com/files/"; 
file="swfobject_2_2.zip"/>

Reply via email to