On Mon, Jan 27, 2014 at 1:09 PM, Alex Harui <aha...@adobe.com> wrote:
> > > On 1/27/14 12:37 PM, "OmPrakash Muppirala" <bigosma...@gmail.com> wrote: > > >On Mon, Jan 27, 2014 at 12:33 PM, Alex Harui <aha...@adobe.com> wrote: > > > >> Justin suggested that the installer should save downloads in a central > >> location on the users computer so that if multiple SDKs are installed > >>that > >> use, for instance, the huge AIR SDK, it only gets downloaded once. > >> > >> > >As a developer/architect, I would prefer to have control over where the > >SDKs are stored. How about prompting the user to select this folder > >first? If user chooses to skip this, we would simply download the SDKs > >every time. > First, let me make sure I was clear. This is about where to store a > downloaded compressed artifact, not where we expand it. For example, > where we would store AdobeAIRSDK.tbz since it gets downloaded and expanded > by both the Flex SDK and FlexJS SDK. I don't think we can control where > we store and shore a single uncompressed AdobeAIRSDK because the IDEs are > expecting those files in the installation folder. > We could have folks choose the folder, but it would be nice if the ant > scripts can also leverage a central repository of compressed files without > having to prompt the user from the command line. > > Yes, got it. What I am proposing is to prompt the user to point to a 'AIR SDK.zip, etc. storage cache' that we will reuse from. This prompt will be shown only the first time which the user can chose to ignore. In that case, we will download artifacts to <installation_dir>/temp and delete the temp directory later. But if the user does select a 'storage cache', we will use that to store downloaded artifacts. On subsequent installs, the Installer will look at the cache and if nothing is found, it would download it via the net. > -Alex > >