flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From OmPrakash Muppirala <bigosma...@gmail.com>
Subject Re: [Installer] Using Alchemy/CrossBridge in the Installer
Date Mon, 02 Jun 2014 19:06:12 GMT
On Mon, Jun 2, 2014 at 12:00 PM, Alex Harui <aharui@adobe.com> wrote:

> As you may have seen, I've added a bunch of MD5 checksums to the installer
> in hopes of detecting bad downloads and reporting them to the tracker so
> we can see if bad downloads is the root cause of many of the install
> failures that have been reported.
> The current built-in MD5Stream, written in AS, is extremely slow for large
> downloads like the AIR SDK.  On my Mac, the CPU is up around 95% or even
> 100% and still it takes several minutes.  I spent the weekend figuring out
> how to do the MD5 in CrossBridge.  It takes only a few seconds to compute
> the checksum.
> I think it is worth adding CrossBridge as a build prerequisite to the
> Installer. This will not affect SDK builds.  Note that, for Windows builds
> of the installer, it will require Cygwin.  What do others think?
> Thanks,
> -Alex
-1 for Cygwin requirement on Windows.  Cygwin is a pain to setup and
maintain and we definitely dont want end users to jump through this barrier
to get up and running with Apache Flex.  It would defeat the whole point of
the ease of use of the Installer.

Couple of options I can think of:
1.  Use a NativeProcess like we use for untar on Macs?  We can ship the
native process file along with the AIR installer if needed.

2.  Use AS3 Workers to do the MD5 check while still maintaining the UI

3.  One thing I always wanted to trouble shoot was - the current MD5 util
we are using is supposed to be async, i.e. we can keep calculating the MD5
while the file is getting downloaded.  For some reason, that does not seem
to be happening.  Maybe you can check what is going on there?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message