[ 
https://issues.apache.org/jira/browse/FLEX-33106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erik de Bruin updated FLEX-33106:
---------------------------------

    Attachment: ViewResourceConstants.txt
                RuntimeLocale.txt
                InstallApacheFlex.txt

My suggested solution to have the application download the SDK binaries from a 
proper download mirror:

1. Create 'single-mirror-url.cgi' in the root of the site (i.e. 
http://incubator.apache.org/flex/single-mirror-url.cgi) with these three lines:
    
#!/bin/sh
# Wrapper around the standard mirrors.cgi script
exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*

2. Create 'single-mirror-url.html' (.mdtext?) next to the .cgi from step 1., 
with only this line:
    
[preferred]
    
3. Set CGI script permissions to executable:
    
% chmod a+x single-mirror-url.cgi

4. In 'ApacheFlexConfig.xml', change the 'path' attribute of the 
'ApacheFlexSDK' node to "/incubator/flex/4.8.0-incubating/binaries/" and the 
'file' attribute to "apache-flex-sdk-4.8.0-incubating-bin.zip". Note: the 
application (when patched) will take care of the addition of the mirror domain 
to complete the URL.

5. Apply patches to InstallApacheFlex source:

InstallApacheFlex.txt for InstallApacheFlex.mxml
ViewResourceConstants.txt for ViewResourceConstants.as
RuntimeLocale.txt for RuntimeLocale.as

HTH and that I understood the rules and regulations for patching, commenting 
etc. correctly (if not, please tell me and I'll behave better next time).
                
> AIR version of makeApacheFlexForFlashBuilder for Windows
> --------------------------------------------------------
>
>                 Key: FLEX-33106
>                 URL: https://issues.apache.org/jira/browse/FLEX-33106
>             Project: Apache Flex
>          Issue Type: Improvement
>            Reporter: OmPrakash Muppirala
>         Attachments: AIRInstallBadge.zip, FR-RuntimeLocale.as.txt, 
> InstallApacheFlex.air, InstallApacheFlex.dmg, InstallApacheFlex.dmg, 
> InstallApacheFlex.dmg, InstallApacheFlex.txt, RuntimeLocale.as, 
> RuntimeLocale.txt, Screen shot 2012-07-13 at 11.03 AM.jpg, 
> ViewResourceConstants.txt, bg_logo.png, build.properties, build.xml, 
> build.xml, locale_el_GR.txt, makebuilder_ui_assets_cs4.fla, rat.log
>
>
> The powershell and vbscript versions of the script has dependence issues.  An 
> Adobe AIR version with a captive runtime should not have such problems.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to