OmPrakash Muppirala created FLEX-33149:
------------------------------------------

             Summary: Create webservice that returns the preferred mirror url 
given a path to an Apache project release
                 Key: FLEX-33149
                 URL: https://issues.apache.org/jira/browse/FLEX-33149
             Project: Apache Flex
          Issue Type: Sub-task
            Reporter: OmPrakash Muppirala
            Assignee: Bertrand Delacretaz
            Priority: Critical


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). 

--
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