incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik de Bruin <>
Subject Re: updating ApacheFlexSDK URL in Om's installer
Date Wed, 25 Jul 2012 22:36:43 GMT

I think I have the solution figured out, but I have no way of testing it.

I'm posting my findings ("steps to reproduce" ;-)) here and attaching
my patches to FLEX-33106, for lack of a better 'location'. Here goes:

1. Create 'single-mirror-url.cgi' in the root of the site (i.e. with these
three lines:

# Wrapper around the standard mirrors.cgi script
exec /www/ $*

2. Create 'single-mirror-url.html' (.mdtext?) next to the .cgi from
step 1., with only this line:


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
"". 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
    RuntimeLocale.txt for

HTH and that I understood the rules and regulations for patching etc.
correctly (if not, please tell me and I'll behave better next time),



On Wed, Jul 25, 2012 at 7:36 PM, Om <> wrote:
> On Wed, Jul 25, 2012 at 10:02 AM, Erik de Bruin <> wrote:
>> Hi,
>> I might be able to help with this. Can you host PHP (which is the
>> language I'm most familiar with)?
>> I can call the 'closer-cgi' (whatever that is, I'd have to read up a
>> bit on the intended functionality) from PHP and return the config XML.
>> I can create a patch for the app as well, allowing it to handle the
>> call to the web service instead of reading the config XML from local
>> system.
>> EdB
> Erik,
> That would be awesome!  Here is some documentation regarding this:
> Here is config file that the installer app loads:
> In this xml, the element: <file name="ApacheFlexSDK" path="
> file=""/>
> needs to updated dynamically with the 'preferred mirror' url from the
> closer.cgi script.
> I hope this info is sufficient for you to start.  You might want to jump on
> to (public list) if you need expert advice.
> Thanks for volunteering :-)
> Om

Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295

P.S. I would like everybody to know that as of this morning I broke my
personal record for days lived.

View raw message