Re: Unable to build 4.13 SDK with AIR v24 or later on Mac (was Re: [Discuss] Apache Flex SDK Installer 3.3.1 RC2*)

2018-04-24 Thread Alex Harui
I think that would be too hard to do, timing-wise.  Just using Ant might be 
better.  Get the binary, unzip it, replace installer.xml, run ant -f 
installer.xml.

-Alex

On 4/23/18, 11:56 PM, "Piotr Zarzycki"  wrote:

Agree with Alex - that probably is the thing.

I would go with following path:
1) Prepare installer.xml from 4.16.1
2) Start downloading 4.13 - once you see that finish downloading SDK - try
to replace it

I'm not sure in what moment installer.xml is being read, but maybe it's
happen after Adobe AIR is being downloaded.

Thanks,
Piotr

2018-04-24 8:49 GMT+02:00 Alex Harui :

> I think the issue is that 4.13's script doesn't know about DMG files.  One
> thing to try is to unzip 4.13, replace the installer.xml with one from
> 4.16.1 and see if that works.
>
> HTH,
> -Alex
>
> On 4/23/18, 10:10 PM, "Piotr Zarzycki"  wrote:
>
> Phil,
>
> Thanks for looking into that. You can try to fix it on your own and
> make
> pull request!
>
> Thanks,
> Piotr
>
> On Tue, Apr 24, 2018, 3:31 AM Phil Haeusler 
> wrote:
>
> > Hi Piotr
> >
> > FLEX-35384 Raised [1]
> >
> > I don't appear to have the permission to assign issues, so it's
> currently
> > left unassigned.
> >
> > I am using High Sierra.
> >
> > I grabbed the installer code and had a quick look, and it appears
> that the
> > method InstallApacheFlex.unzipAdobeAIRSDKMac() is always calling
> untar() on
> > the downloaded file without taking into account that AIR v24 and
> later is
> > now delivered as a .dmg
> >
> > [1] https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FFLEX-
> 35384=02%7C01%7Caharui%40adobe.com%7C390fb45de10d431bf77408d5a9a1
> c0dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C636601434553072833=2%2FVNonnPUmJ189NeM7MFnmkIZ1nNxc
> F1qj9V7Q1lH%2FI%3D=0
> >
> > Thanks
> > Phil
> >
> >
> > On 23 April 2018 at 18:20, Piotr Zarzycki  >
> > wrote:
> >
> > > Hi Phil,
> > >
> > > Many Thanks for all of those tests. Can you raise JIRA and assign
> to me
> > [1]
> > > with all your findings. I will try to find some time this month
> and play
> > a
> > > bit with that stuff on my Mac. Are you running High Sierra ?
> > >
> > > [1] https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fissues.apache.org%2Fjira%2Fprojects%2FFLEX%
> 2Fsummary=02%7C01%7Caharui%40adobe.com%7C390fb45de10d431bf77408d5a9a1
> c0dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C636601434553072833=LXwKc1wWPfiGE%2Bgs27eNH0jSMDkdlFGJ9LmyhS5g5b
> Q%3D=0
> > >
> > > Thanks,
> > > Piotr
> > >
> > > 2018-04-23 5:08 GMT+02:00 Phil Haeusler :
> > >
> > > > Hi
> > > >
> > > > I have done some further investigation into this issue and have
> found
> > > that
> > > > I am unable to successfully build a v4.13 SDK with any AIR
> version
> > after
> > > > v23 using a Mac.
> > > >
> > > > From AIR 24 or later, it appears that the AIR SDK is not 
overlaid
> > > > successfully resulting in a SDK that the installer says is
> packaged
> > > > successfully, but it cannot be used with an IDE.
> > > >
> > > > While i initially discovered this testing the 3.3.1 RC, I have
> since
> > > > switched back to the v3.3 installer and experienced the same
> behaviour.
> > > >
> > > > In my testing I am successfully able to build the 4.13 SDK with
> AIR 20,
> > > 21
> > > > and 23.
> > > >
> > > > I've run 2 tests packaging with AIR 22 but both times the
> installer
> > > errors
> > > > out and leaves a 1.5gig directory.  This errors attempting to
> retrieve
> > > > playerglobal_22.swc and leaves the in/ folder on disk.  I'm not
> > concerned
> > > > about this failure as part of my current issue.
> > > >
> > > > Then for AIR 24 through 29, the installer reports a successfully
> > created
> > > > SDK, however in all cases the AIR SDK hasn't been overlaid -
> resulting
> > > in a
> > > > SDK directory that cannot be used for development.
> > > >
> > > > Here's a snapshot of the folder sizes of each of the SDK
> packages i've
> > > > tried creating.
  

Re: Unable to build 4.13 SDK with AIR v24 or later on Mac (was Re: [Discuss] Apache Flex SDK Installer 3.3.1 RC2*)

2018-04-24 Thread Piotr Zarzycki
Agree with Alex - that probably is the thing.

I would go with following path:
1) Prepare installer.xml from 4.16.1
2) Start downloading 4.13 - once you see that finish downloading SDK - try
to replace it

I'm not sure in what moment installer.xml is being read, but maybe it's
happen after Adobe AIR is being downloaded.

Thanks,
Piotr

2018-04-24 8:49 GMT+02:00 Alex Harui :

> I think the issue is that 4.13's script doesn't know about DMG files.  One
> thing to try is to unzip 4.13, replace the installer.xml with one from
> 4.16.1 and see if that works.
>
> HTH,
> -Alex
>
> On 4/23/18, 10:10 PM, "Piotr Zarzycki"  wrote:
>
> Phil,
>
> Thanks for looking into that. You can try to fix it on your own and
> make
> pull request!
>
> Thanks,
> Piotr
>
> On Tue, Apr 24, 2018, 3:31 AM Phil Haeusler 
> wrote:
>
> > Hi Piotr
> >
> > FLEX-35384 Raised [1]
> >
> > I don't appear to have the permission to assign issues, so it's
> currently
> > left unassigned.
> >
> > I am using High Sierra.
> >
> > I grabbed the installer code and had a quick look, and it appears
> that the
> > method InstallApacheFlex.unzipAdobeAIRSDKMac() is always calling
> untar() on
> > the downloaded file without taking into account that AIR v24 and
> later is
> > now delivered as a .dmg
> >
> > [1] https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FFLEX-
> 35384=02%7C01%7Caharui%40adobe.com%7C390fb45de10d431bf77408d5a9a1
> c0dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C636601434553072833=2%2FVNonnPUmJ189NeM7MFnmkIZ1nNxc
> F1qj9V7Q1lH%2FI%3D=0
> >
> > Thanks
> > Phil
> >
> >
> > On 23 April 2018 at 18:20, Piotr Zarzycki  >
> > wrote:
> >
> > > Hi Phil,
> > >
> > > Many Thanks for all of those tests. Can you raise JIRA and assign
> to me
> > [1]
> > > with all your findings. I will try to find some time this month
> and play
> > a
> > > bit with that stuff on my Mac. Are you running High Sierra ?
> > >
> > > [1] https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fissues.apache.org%2Fjira%2Fprojects%2FFLEX%
> 2Fsummary=02%7C01%7Caharui%40adobe.com%7C390fb45de10d431bf77408d5a9a1
> c0dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C636601434553072833=LXwKc1wWPfiGE%2Bgs27eNH0jSMDkdlFGJ9LmyhS5g5b
> Q%3D=0
> > >
> > > Thanks,
> > > Piotr
> > >
> > > 2018-04-23 5:08 GMT+02:00 Phil Haeusler :
> > >
> > > > Hi
> > > >
> > > > I have done some further investigation into this issue and have
> found
> > > that
> > > > I am unable to successfully build a v4.13 SDK with any AIR
> version
> > after
> > > > v23 using a Mac.
> > > >
> > > > From AIR 24 or later, it appears that the AIR SDK is not overlaid
> > > > successfully resulting in a SDK that the installer says is
> packaged
> > > > successfully, but it cannot be used with an IDE.
> > > >
> > > > While i initially discovered this testing the 3.3.1 RC, I have
> since
> > > > switched back to the v3.3 installer and experienced the same
> behaviour.
> > > >
> > > > In my testing I am successfully able to build the 4.13 SDK with
> AIR 20,
> > > 21
> > > > and 23.
> > > >
> > > > I've run 2 tests packaging with AIR 22 but both times the
> installer
> > > errors
> > > > out and leaves a 1.5gig directory.  This errors attempting to
> retrieve
> > > > playerglobal_22.swc and leaves the in/ folder on disk.  I'm not
> > concerned
> > > > about this failure as part of my current issue.
> > > >
> > > > Then for AIR 24 through 29, the installer reports a successfully
> > created
> > > > SDK, however in all cases the AIR SDK hasn't been overlaid -
> resulting
> > > in a
> > > > SDK directory that cannot be used for development.
> > > >
> > > > Here's a snapshot of the folder sizes of each of the SDK
> packages i've
> > > > tried creating.
> > > >
> > > > 556M flex413air20
> > > >
> > > > 569M flex413air21
> > > >
> > > > 1.5G flex413air22
> > > >
> > > > 534M flex413air23
> > > >
> > > > 125M flex413air24
> > > >
> > > > 125M flex413air25
> > > >
> > > > 125M flex413air26
> > > >
> > > > 125M flex413air27
> > > >
> > > > 125M flex413air28
> > > >
> > > > 125M flex413air29
> > > >
> > > > Reading through the installer.log for the AIR 23 vs AIR 24
> builds, the
> > > only
> > > > difference i can see is that from v24 onwards, the AIR SDK is
> > downloaded
> > > as
> > > > a .dmg file rather than a .tbz2 file
> > > >
> > > > i.e.
> > > > AIR 23 - Downloading Adobe AIR Runtime Kit for Mac from:
>  

Re: Unable to build 4.13 SDK with AIR v24 or later on Mac (was Re: [Discuss] Apache Flex SDK Installer 3.3.1 RC2*)

2018-04-24 Thread Alex Harui
I think the issue is that 4.13's script doesn't know about DMG files.  One 
thing to try is to unzip 4.13, replace the installer.xml with one from 4.16.1 
and see if that works.

HTH,
-Alex

On 4/23/18, 10:10 PM, "Piotr Zarzycki"  wrote:

Phil,

Thanks for looking into that. You can try to fix it on your own and make
pull request!

Thanks,
Piotr

On Tue, Apr 24, 2018, 3:31 AM Phil Haeusler  wrote:

> Hi Piotr
>
> FLEX-35384 Raised [1]
>
> I don't appear to have the permission to assign issues, so it's currently
> left unassigned.
>
> I am using High Sierra.
>
> I grabbed the installer code and had a quick look, and it appears that the
> method InstallApacheFlex.unzipAdobeAIRSDKMac() is always calling untar() 
on
> the downloaded file without taking into account that AIR v24 and later is
> now delivered as a .dmg
>
> [1] 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FFLEX-35384=02%7C01%7Caharui%40adobe.com%7C390fb45de10d431bf77408d5a9a1c0dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636601434553072833=2%2FVNonnPUmJ189NeM7MFnmkIZ1nNxcF1qj9V7Q1lH%2FI%3D=0
>
> Thanks
> Phil
>
>
> On 23 April 2018 at 18:20, Piotr Zarzycki 
> wrote:
>
> > Hi Phil,
> >
> > Many Thanks for all of those tests. Can you raise JIRA and assign to me
> [1]
> > with all your findings. I will try to find some time this month and play
> a
> > bit with that stuff on my Mac. Are you running High Sierra ?
> >
> > [1] 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fprojects%2FFLEX%2Fsummary=02%7C01%7Caharui%40adobe.com%7C390fb45de10d431bf77408d5a9a1c0dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636601434553072833=LXwKc1wWPfiGE%2Bgs27eNH0jSMDkdlFGJ9LmyhS5g5bQ%3D=0
> >
> > Thanks,
> > Piotr
> >
> > 2018-04-23 5:08 GMT+02:00 Phil Haeusler :
> >
> > > Hi
> > >
> > > I have done some further investigation into this issue and have found
> > that
> > > I am unable to successfully build a v4.13 SDK with any AIR version
> after
> > > v23 using a Mac.
> > >
> > > From AIR 24 or later, it appears that the AIR SDK is not overlaid
> > > successfully resulting in a SDK that the installer says is packaged
> > > successfully, but it cannot be used with an IDE.
> > >
> > > While i initially discovered this testing the 3.3.1 RC, I have since
> > > switched back to the v3.3 installer and experienced the same 
behaviour.
> > >
> > > In my testing I am successfully able to build the 4.13 SDK with AIR 
20,
> > 21
> > > and 23.
> > >
> > > I've run 2 tests packaging with AIR 22 but both times the installer
> > errors
> > > out and leaves a 1.5gig directory.  This errors attempting to retrieve
> > > playerglobal_22.swc and leaves the in/ folder on disk.  I'm not
> concerned
> > > about this failure as part of my current issue.
> > >
> > > Then for AIR 24 through 29, the installer reports a successfully
> created
> > > SDK, however in all cases the AIR SDK hasn't been overlaid - resulting
> > in a
> > > SDK directory that cannot be used for development.
> > >
> > > Here's a snapshot of the folder sizes of each of the SDK packages i've
> > > tried creating.
> > >
> > > 556M flex413air20
> > >
> > > 569M flex413air21
> > >
> > > 1.5G flex413air22
> > >
> > > 534M flex413air23
> > >
> > > 125M flex413air24
> > >
> > > 125M flex413air25
> > >
> > > 125M flex413air26
> > >
> > > 125M flex413air27
> > >
> > > 125M flex413air28
> > >
> > > 125M flex413air29
> > >
> > > Reading through the installer.log for the AIR 23 vs AIR 24 builds, the
> > only
> > > difference i can see is that from v24 onwards, the AIR SDK is
> downloaded
> > as
> > > a .dmg file rather than a .tbz2 file
> > >
> > > i.e.
> > > AIR 23 - Downloading Adobe AIR Runtime Kit for Mac from:
> > > 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fairdownload.adobe.com%2Fair%2Fmac%2Fdownload%2F23.0%2F%2FAdobeAIRSDK.tbz2=02%7C01%7Caharui%40adobe.com%7C390fb45de10d431bf77408d5a9a1c0dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636601434553072833=O%2Bwbdhk%2FNE%2FShB%2FquTK9bAeDRFCVp25xwz%2FOYK%2FCh6E%3D=0
> > >
> > > AIR 24 - Downloading Adobe AIR Runtime Kit for Mac from:
> > > 

Re: Unable to build 4.13 SDK with AIR v24 or later on Mac (was Re: [Discuss] Apache Flex SDK Installer 3.3.1 RC2*)

2018-04-23 Thread Piotr Zarzycki
Phil,

Thanks for looking into that. You can try to fix it on your own and make
pull request!

Thanks,
Piotr

On Tue, Apr 24, 2018, 3:31 AM Phil Haeusler  wrote:

> Hi Piotr
>
> FLEX-35384 Raised [1]
>
> I don't appear to have the permission to assign issues, so it's currently
> left unassigned.
>
> I am using High Sierra.
>
> I grabbed the installer code and had a quick look, and it appears that the
> method InstallApacheFlex.unzipAdobeAIRSDKMac() is always calling untar() on
> the downloaded file without taking into account that AIR v24 and later is
> now delivered as a .dmg
>
> [1] https://issues.apache.org/jira/browse/FLEX-35384
>
> Thanks
> Phil
>
>
> On 23 April 2018 at 18:20, Piotr Zarzycki 
> wrote:
>
> > Hi Phil,
> >
> > Many Thanks for all of those tests. Can you raise JIRA and assign to me
> [1]
> > with all your findings. I will try to find some time this month and play
> a
> > bit with that stuff on my Mac. Are you running High Sierra ?
> >
> > [1] https://issues.apache.org/jira/projects/FLEX/summary
> >
> > Thanks,
> > Piotr
> >
> > 2018-04-23 5:08 GMT+02:00 Phil Haeusler :
> >
> > > Hi
> > >
> > > I have done some further investigation into this issue and have found
> > that
> > > I am unable to successfully build a v4.13 SDK with any AIR version
> after
> > > v23 using a Mac.
> > >
> > > From AIR 24 or later, it appears that the AIR SDK is not overlaid
> > > successfully resulting in a SDK that the installer says is packaged
> > > successfully, but it cannot be used with an IDE.
> > >
> > > While i initially discovered this testing the 3.3.1 RC, I have since
> > > switched back to the v3.3 installer and experienced the same behaviour.
> > >
> > > In my testing I am successfully able to build the 4.13 SDK with AIR 20,
> > 21
> > > and 23.
> > >
> > > I've run 2 tests packaging with AIR 22 but both times the installer
> > errors
> > > out and leaves a 1.5gig directory.  This errors attempting to retrieve
> > > playerglobal_22.swc and leaves the in/ folder on disk.  I'm not
> concerned
> > > about this failure as part of my current issue.
> > >
> > > Then for AIR 24 through 29, the installer reports a successfully
> created
> > > SDK, however in all cases the AIR SDK hasn't been overlaid - resulting
> > in a
> > > SDK directory that cannot be used for development.
> > >
> > > Here's a snapshot of the folder sizes of each of the SDK packages i've
> > > tried creating.
> > >
> > > 556M flex413air20
> > >
> > > 569M flex413air21
> > >
> > > 1.5G flex413air22
> > >
> > > 534M flex413air23
> > >
> > > 125M flex413air24
> > >
> > > 125M flex413air25
> > >
> > > 125M flex413air26
> > >
> > > 125M flex413air27
> > >
> > > 125M flex413air28
> > >
> > > 125M flex413air29
> > >
> > > Reading through the installer.log for the AIR 23 vs AIR 24 builds, the
> > only
> > > difference i can see is that from v24 onwards, the AIR SDK is
> downloaded
> > as
> > > a .dmg file rather than a .tbz2 file
> > >
> > > i.e.
> > > AIR 23 - Downloading Adobe AIR Runtime Kit for Mac from:
> > > http://airdownload.adobe.com/air/mac/download/23.0//AdobeAIRSDK.tbz2
> > >
> > > AIR 24 - Downloading Adobe AIR Runtime Kit for Mac from:
> > > http://airdownload.adobe.com/air/mac/download/24.0//AdobeAIRSDK.dmg
> > >
> > > This matches up with the switch in file extensions as configured in
> > > http://flex.apache.org/installer/sdk-installer-config-4.0.xml
> > >
> > > For both cases however the installer then tries to untar the downloaded
> > AIR
> > > SDK file, but this doesn't make sense for a .dmg file
> > >
> > > i.e.
> > >
> > > AIR23
> > >
> > > air-setup-mac:
> > > [mkdir] Created directory /Users/phil/flex413air23-2/in/airsdk
> > >  [move] Moving 1 file to
> > > /Users/phil/flex413air23-2/in/airsdk/AdobeAIRSDK.tbz2
> > > Finished untaring: /Users/phil/flex413air23-2/in/airsdk/AdobeAIRSDK.tar
> > >[delete] Deleting file /Users/phil/flex413air23-2/airtar.properties
> > >
> > > AIR24
> > >
> > > air-setup-mac:
> > > [mkdir] Created directory /Users/phil/flex413air24-2/in/airsdk
> > >  [move] Moving 1 file to
> > > /Users/phil/flex413air24-2/in/airsdk/AdobeAIRSDK.dmg
> > > Finished untaring: /Users/phil/flex413air24-2/in/airsdk/AdobeAIRSDK.dmg
> > >[delete] Deleting file /Users/phil/flex413air24-2/airtar.properties
> > >
> > > it appears that the installer is attempting untar the v24
> AdobeAIRSDK.dmg
> > > file rather then mounting it to extract its contents.  This doesn't
> > produce
> > > an error, and the installer proceeds to attempt to copy files that
> > haven't
> > > been extracted, also without error.
> > >
> > > This then results in the installer completing successfully, but without
> > > having actually overlaid the AIR SDK.
> > >
> > > Phil
> > >
> > >
> > >
> > > On 18 April 2018 at 11:42, Phil Haeusler 
> wrote:
> > >
> > > > Piotr
> > > >
> > > > I have reinstalled the 3.3.1 RC2 install on 

Re: Unable to build 4.13 SDK with AIR v24 or later on Mac (was Re: [Discuss] Apache Flex SDK Installer 3.3.1 RC2*)

2018-04-23 Thread Phil Haeusler
Hi Piotr

FLEX-35384 Raised [1]

I don't appear to have the permission to assign issues, so it's currently
left unassigned.

I am using High Sierra.

I grabbed the installer code and had a quick look, and it appears that the
method InstallApacheFlex.unzipAdobeAIRSDKMac() is always calling untar() on
the downloaded file without taking into account that AIR v24 and later is
now delivered as a .dmg

[1] https://issues.apache.org/jira/browse/FLEX-35384

Thanks
Phil


On 23 April 2018 at 18:20, Piotr Zarzycki  wrote:

> Hi Phil,
>
> Many Thanks for all of those tests. Can you raise JIRA and assign to me [1]
> with all your findings. I will try to find some time this month and play a
> bit with that stuff on my Mac. Are you running High Sierra ?
>
> [1] https://issues.apache.org/jira/projects/FLEX/summary
>
> Thanks,
> Piotr
>
> 2018-04-23 5:08 GMT+02:00 Phil Haeusler :
>
> > Hi
> >
> > I have done some further investigation into this issue and have found
> that
> > I am unable to successfully build a v4.13 SDK with any AIR version after
> > v23 using a Mac.
> >
> > From AIR 24 or later, it appears that the AIR SDK is not overlaid
> > successfully resulting in a SDK that the installer says is packaged
> > successfully, but it cannot be used with an IDE.
> >
> > While i initially discovered this testing the 3.3.1 RC, I have since
> > switched back to the v3.3 installer and experienced the same behaviour.
> >
> > In my testing I am successfully able to build the 4.13 SDK with AIR 20,
> 21
> > and 23.
> >
> > I've run 2 tests packaging with AIR 22 but both times the installer
> errors
> > out and leaves a 1.5gig directory.  This errors attempting to retrieve
> > playerglobal_22.swc and leaves the in/ folder on disk.  I'm not concerned
> > about this failure as part of my current issue.
> >
> > Then for AIR 24 through 29, the installer reports a successfully created
> > SDK, however in all cases the AIR SDK hasn't been overlaid - resulting
> in a
> > SDK directory that cannot be used for development.
> >
> > Here's a snapshot of the folder sizes of each of the SDK packages i've
> > tried creating.
> >
> > 556M flex413air20
> >
> > 569M flex413air21
> >
> > 1.5G flex413air22
> >
> > 534M flex413air23
> >
> > 125M flex413air24
> >
> > 125M flex413air25
> >
> > 125M flex413air26
> >
> > 125M flex413air27
> >
> > 125M flex413air28
> >
> > 125M flex413air29
> >
> > Reading through the installer.log for the AIR 23 vs AIR 24 builds, the
> only
> > difference i can see is that from v24 onwards, the AIR SDK is downloaded
> as
> > a .dmg file rather than a .tbz2 file
> >
> > i.e.
> > AIR 23 - Downloading Adobe AIR Runtime Kit for Mac from:
> > http://airdownload.adobe.com/air/mac/download/23.0//AdobeAIRSDK.tbz2
> >
> > AIR 24 - Downloading Adobe AIR Runtime Kit for Mac from:
> > http://airdownload.adobe.com/air/mac/download/24.0//AdobeAIRSDK.dmg
> >
> > This matches up with the switch in file extensions as configured in
> > http://flex.apache.org/installer/sdk-installer-config-4.0.xml
> >
> > For both cases however the installer then tries to untar the downloaded
> AIR
> > SDK file, but this doesn't make sense for a .dmg file
> >
> > i.e.
> >
> > AIR23
> >
> > air-setup-mac:
> > [mkdir] Created directory /Users/phil/flex413air23-2/in/airsdk
> >  [move] Moving 1 file to
> > /Users/phil/flex413air23-2/in/airsdk/AdobeAIRSDK.tbz2
> > Finished untaring: /Users/phil/flex413air23-2/in/airsdk/AdobeAIRSDK.tar
> >[delete] Deleting file /Users/phil/flex413air23-2/airtar.properties
> >
> > AIR24
> >
> > air-setup-mac:
> > [mkdir] Created directory /Users/phil/flex413air24-2/in/airsdk
> >  [move] Moving 1 file to
> > /Users/phil/flex413air24-2/in/airsdk/AdobeAIRSDK.dmg
> > Finished untaring: /Users/phil/flex413air24-2/in/airsdk/AdobeAIRSDK.dmg
> >[delete] Deleting file /Users/phil/flex413air24-2/airtar.properties
> >
> > it appears that the installer is attempting untar the v24 AdobeAIRSDK.dmg
> > file rather then mounting it to extract its contents.  This doesn't
> produce
> > an error, and the installer proceeds to attempt to copy files that
> haven't
> > been extracted, also without error.
> >
> > This then results in the installer completing successfully, but without
> > having actually overlaid the AIR SDK.
> >
> > Phil
> >
> >
> >
> > On 18 April 2018 at 11:42, Phil Haeusler  wrote:
> >
> > > Piotr
> > >
> > > I have reinstalled the 3.3.1 RC2 install on both Mac and Windows for
> Flex
> > > 4.13 and AIR29.  Both now package the SDK and complete successfully.
> > >
> > > With my tests yesterday I was using the download cache while today I
> > > forced the installer to re-download everything.  I'm not sure if this
> > was a
> > > contributing factor to my success today or not on Windows.
> > >
> > > However, I have noticed a significant size difference between the Mac
> and
> > > Windows builds of the SDK.
> > >
> > > The Mac folder is 

Re: Unable to build 4.13 SDK with AIR v24 or later on Mac (was Re: [Discuss] Apache Flex SDK Installer 3.3.1 RC2*)

2018-04-23 Thread Piotr Zarzycki
Hi Phil,

Many Thanks for all of those tests. Can you raise JIRA and assign to me [1]
with all your findings. I will try to find some time this month and play a
bit with that stuff on my Mac. Are you running High Sierra ?

[1] https://issues.apache.org/jira/projects/FLEX/summary

Thanks,
Piotr

2018-04-23 5:08 GMT+02:00 Phil Haeusler :

> Hi
>
> I have done some further investigation into this issue and have found that
> I am unable to successfully build a v4.13 SDK with any AIR version after
> v23 using a Mac.
>
> From AIR 24 or later, it appears that the AIR SDK is not overlaid
> successfully resulting in a SDK that the installer says is packaged
> successfully, but it cannot be used with an IDE.
>
> While i initially discovered this testing the 3.3.1 RC, I have since
> switched back to the v3.3 installer and experienced the same behaviour.
>
> In my testing I am successfully able to build the 4.13 SDK with AIR 20, 21
> and 23.
>
> I've run 2 tests packaging with AIR 22 but both times the installer errors
> out and leaves a 1.5gig directory.  This errors attempting to retrieve
> playerglobal_22.swc and leaves the in/ folder on disk.  I'm not concerned
> about this failure as part of my current issue.
>
> Then for AIR 24 through 29, the installer reports a successfully created
> SDK, however in all cases the AIR SDK hasn't been overlaid - resulting in a
> SDK directory that cannot be used for development.
>
> Here's a snapshot of the folder sizes of each of the SDK packages i've
> tried creating.
>
> 556M flex413air20
>
> 569M flex413air21
>
> 1.5G flex413air22
>
> 534M flex413air23
>
> 125M flex413air24
>
> 125M flex413air25
>
> 125M flex413air26
>
> 125M flex413air27
>
> 125M flex413air28
>
> 125M flex413air29
>
> Reading through the installer.log for the AIR 23 vs AIR 24 builds, the only
> difference i can see is that from v24 onwards, the AIR SDK is downloaded as
> a .dmg file rather than a .tbz2 file
>
> i.e.
> AIR 23 - Downloading Adobe AIR Runtime Kit for Mac from:
> http://airdownload.adobe.com/air/mac/download/23.0//AdobeAIRSDK.tbz2
>
> AIR 24 - Downloading Adobe AIR Runtime Kit for Mac from:
> http://airdownload.adobe.com/air/mac/download/24.0//AdobeAIRSDK.dmg
>
> This matches up with the switch in file extensions as configured in
> http://flex.apache.org/installer/sdk-installer-config-4.0.xml
>
> For both cases however the installer then tries to untar the downloaded AIR
> SDK file, but this doesn't make sense for a .dmg file
>
> i.e.
>
> AIR23
>
> air-setup-mac:
> [mkdir] Created directory /Users/phil/flex413air23-2/in/airsdk
>  [move] Moving 1 file to
> /Users/phil/flex413air23-2/in/airsdk/AdobeAIRSDK.tbz2
> Finished untaring: /Users/phil/flex413air23-2/in/airsdk/AdobeAIRSDK.tar
>[delete] Deleting file /Users/phil/flex413air23-2/airtar.properties
>
> AIR24
>
> air-setup-mac:
> [mkdir] Created directory /Users/phil/flex413air24-2/in/airsdk
>  [move] Moving 1 file to
> /Users/phil/flex413air24-2/in/airsdk/AdobeAIRSDK.dmg
> Finished untaring: /Users/phil/flex413air24-2/in/airsdk/AdobeAIRSDK.dmg
>[delete] Deleting file /Users/phil/flex413air24-2/airtar.properties
>
> it appears that the installer is attempting untar the v24 AdobeAIRSDK.dmg
> file rather then mounting it to extract its contents.  This doesn't produce
> an error, and the installer proceeds to attempt to copy files that haven't
> been extracted, also without error.
>
> This then results in the installer completing successfully, but without
> having actually overlaid the AIR SDK.
>
> Phil
>
>
>
> On 18 April 2018 at 11:42, Phil Haeusler  wrote:
>
> > Piotr
> >
> > I have reinstalled the 3.3.1 RC2 install on both Mac and Windows for Flex
> > 4.13 and AIR29.  Both now package the SDK and complete successfully.
> >
> > With my tests yesterday I was using the download cache while today I
> > forced the installer to re-download everything.  I'm not sure if this
> was a
> > contributing factor to my success today or not on Windows.
> >
> > However, I have noticed a significant size difference between the Mac and
> > Windows builds of the SDK.
> >
> > The Mac folder is 119.2MB in size while the Windows is 1.15GB.
> >
> > It appears that the Mac installer didn't overlay the AIR sdk by looking
> at
> > the generated folder.  I've tried this a couple of times now and it
> happens
> > consistently.
> >
> > The folder contents of the Mac and Windows sdks created with the
> installer
> > are below.
> >
> > Thanks
> > Phil
> >
> >
> > phil:flex_sdk_413_air29-mac du -sh *
> >
> > 4.0K CONTRIBUTING
> >
> >  40K LICENSE
> >
> > 4.0K NOTICE
> >
> >  28K README
> >
> >  64K RELEASE_NOTES
> >
> > 284K ant
> >
> >  32K apache-flex-sdk-installer-config.xml
> >
> > 1.2M asdoc
> >
> > 120K bin
> >
> > 4.0K build.properties
> >
> > 8.0K en_AU.properties
> >
> > 8.0K env-template.properties
> >
> > 4.0K flex-sdk-description.xml
> >
> >  86M frameworks
> >
> > 136K ide
> >
> >  16K 

Unable to build 4.13 SDK with AIR v24 or later on Mac (was Re: [Discuss] Apache Flex SDK Installer 3.3.1 RC2*)

2018-04-22 Thread Phil Haeusler
Hi

I have done some further investigation into this issue and have found that
I am unable to successfully build a v4.13 SDK with any AIR version after
v23 using a Mac.

>From AIR 24 or later, it appears that the AIR SDK is not overlaid
successfully resulting in a SDK that the installer says is packaged
successfully, but it cannot be used with an IDE.

While i initially discovered this testing the 3.3.1 RC, I have since
switched back to the v3.3 installer and experienced the same behaviour.

In my testing I am successfully able to build the 4.13 SDK with AIR 20, 21
and 23.

I've run 2 tests packaging with AIR 22 but both times the installer errors
out and leaves a 1.5gig directory.  This errors attempting to retrieve
playerglobal_22.swc and leaves the in/ folder on disk.  I'm not concerned
about this failure as part of my current issue.

Then for AIR 24 through 29, the installer reports a successfully created
SDK, however in all cases the AIR SDK hasn't been overlaid - resulting in a
SDK directory that cannot be used for development.

Here's a snapshot of the folder sizes of each of the SDK packages i've
tried creating.

556M flex413air20

569M flex413air21

1.5G flex413air22

534M flex413air23

125M flex413air24

125M flex413air25

125M flex413air26

125M flex413air27

125M flex413air28

125M flex413air29

Reading through the installer.log for the AIR 23 vs AIR 24 builds, the only
difference i can see is that from v24 onwards, the AIR SDK is downloaded as
a .dmg file rather than a .tbz2 file

i.e.
AIR 23 - Downloading Adobe AIR Runtime Kit for Mac from:
http://airdownload.adobe.com/air/mac/download/23.0//AdobeAIRSDK.tbz2

AIR 24 - Downloading Adobe AIR Runtime Kit for Mac from:
http://airdownload.adobe.com/air/mac/download/24.0//AdobeAIRSDK.dmg

This matches up with the switch in file extensions as configured in
http://flex.apache.org/installer/sdk-installer-config-4.0.xml

For both cases however the installer then tries to untar the downloaded AIR
SDK file, but this doesn't make sense for a .dmg file

i.e.

AIR23

air-setup-mac:
[mkdir] Created directory /Users/phil/flex413air23-2/in/airsdk
 [move] Moving 1 file to
/Users/phil/flex413air23-2/in/airsdk/AdobeAIRSDK.tbz2
Finished untaring: /Users/phil/flex413air23-2/in/airsdk/AdobeAIRSDK.tar
   [delete] Deleting file /Users/phil/flex413air23-2/airtar.properties

AIR24

air-setup-mac:
[mkdir] Created directory /Users/phil/flex413air24-2/in/airsdk
 [move] Moving 1 file to
/Users/phil/flex413air24-2/in/airsdk/AdobeAIRSDK.dmg
Finished untaring: /Users/phil/flex413air24-2/in/airsdk/AdobeAIRSDK.dmg
   [delete] Deleting file /Users/phil/flex413air24-2/airtar.properties

it appears that the installer is attempting untar the v24 AdobeAIRSDK.dmg
file rather then mounting it to extract its contents.  This doesn't produce
an error, and the installer proceeds to attempt to copy files that haven't
been extracted, also without error.

This then results in the installer completing successfully, but without
having actually overlaid the AIR SDK.

Phil



On 18 April 2018 at 11:42, Phil Haeusler  wrote:

> Piotr
>
> I have reinstalled the 3.3.1 RC2 install on both Mac and Windows for Flex
> 4.13 and AIR29.  Both now package the SDK and complete successfully.
>
> With my tests yesterday I was using the download cache while today I
> forced the installer to re-download everything.  I'm not sure if this was a
> contributing factor to my success today or not on Windows.
>
> However, I have noticed a significant size difference between the Mac and
> Windows builds of the SDK.
>
> The Mac folder is 119.2MB in size while the Windows is 1.15GB.
>
> It appears that the Mac installer didn't overlay the AIR sdk by looking at
> the generated folder.  I've tried this a couple of times now and it happens
> consistently.
>
> The folder contents of the Mac and Windows sdks created with the installer
> are below.
>
> Thanks
> Phil
>
>
> phil:flex_sdk_413_air29-mac du -sh *
>
> 4.0K CONTRIBUTING
>
>  40K LICENSE
>
> 4.0K NOTICE
>
>  28K README
>
>  64K RELEASE_NOTES
>
> 284K ant
>
>  32K apache-flex-sdk-installer-config.xml
>
> 1.2M asdoc
>
> 120K bin
>
> 4.0K build.properties
>
> 8.0K en_AU.properties
>
> 8.0K env-template.properties
>
> 4.0K flex-sdk-description.xml
>
>  86M frameworks
>
> 136K ide
>
>  16K installer.log
>
>  80K installer.properties
>
>  48K installer.xml
>
>  30M lib
>
> 6.3M samples
>
>  84K sdk-installer-config-4.0.xml
>
>  72K templates
>
> phil:flex_sdk_413_air29-win du -sh *
>
>  16K AIR SDK Readme.txt
>
> 1.5M AIR SDK license.pdf
>
> 4.0K CONTRIBUTING
>
>  40K LICENSE
>
> 4.0K NOTICE
>
>  28K README
>
>  64K RELEASE_NOTES
>
>  12K airsdk.xml
>
> 396K ant
>
>  32K apache-flex-sdk-installer-config.xml
>
> 1.2M asdoc
>
> 496K bin
>
> 4.0K build.properties
>
>  12K en_US.properties
>
> 8.0K env-template.properties
>
> 4.0K flex-sdk-description.xml
>
> 103M frameworks
>
> 184K ide
>
>  36K include
>
> 8.7M install
>
>  12K