Problem with the Mavenizer and Air >= 24 on macs

2017-05-05 Thread Christofer Dutz
Hi,

I just noticed that I was unable to use the mavenizer (aka flex-sdk-converter) 
for Air 24 and 25. A short investigation resulted in the result that this is 
probably only a problem on macs as Adobe changed the packaging of the AIR SDK 
starting with version 24 and right now we don’t have any option to access DMGs 
with non-GPL libraries. I am working on implementing this logic from scratch 
inside the Mavenizer, but I think I still need a little time to finish this.

So, if you see the mavenizer downloading the AIR SDK again and again, this is 
probably the problem you are having.

Chris


Re: Problem with the Mavenizer and Air >= 24 on macs

2017-05-05 Thread Alex Harui


On 5/5/17, 12:10 AM, "Christofer Dutz"  wrote:

>Hi,
>
>I just noticed that I was unable to use the mavenizer (aka
>flex-sdk-converter) for Air 24 and 25. A short investigation resulted in
>the result that this is probably only a problem on macs as Adobe changed
>the packaging of the AIR SDK starting with version 24 and right now we
>don’t have any option to access DMGs with non-GPL libraries. I am working
>on implementing this logic from scratch inside the Mavenizer, but I think
>I still need a little time to finish this.

OK, I guess.  Any reason you can't exec the same MacOS command line tools
we use in the installer?  Or is that what you mean by implementing from
scratch?

Thanks,
-Alex



Re: [FlexJS] Layouts

2017-05-05 Thread Peter Ent
Maybe MDL should have its own set of layouts and layout-compliant
interfaces. Opinions?
‹peter

On 5/5/17, 2:15 AM, "piotrz"  wrote:

>Hi Peter,
>
>I have found one scenario where there is a null pointer exception, but I'm
>not sure whether even we should cover such case. Let me know what do you
>think.
>
>If I have in MDL Grid with GridCell and I add to it HorizontalFlexLayout
>bead [1] I will get NPE [2], cause GridCell do not have View.
>
>[1] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2FoQRi&data=02%7C01%7C%7C247c58abd1ef48ae7de608d4937fbd81%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636295624251898329&sdata=s6R8lLuDcUjf
>x%2FSoGYvLeaBLd2a7iFtYFZMzSw2DF48%3D&reserved=0
>[2] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2FHn3G&data=02%7C01%7C%7C247c58abd1ef48ae7de608d4937fbd81%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636295624251898329&sdata=dUrANaUf5Kd6
>yAmaf7NAssyRHj2clQFjfhecHxYrXJo%3D&reserved=0
>
>Thanks,
>Piotr
>
>
>
>
>
>
>-
>Apache Flex PMC
>piotrzarzyck...@gmail.com
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-Layouts-tp61120p61494.html&da
>ta=02%7C01%7C%7C247c58abd1ef48ae7de608d4937fbd81%7Cfa7b1b5a7b34438794aed2c
>178decee1%7C0%7C0%7C636295624251898329&sdata=Ezju83uKcTRx4n748WEIz9zKf8C4Z
>Qq5M1rbNuVnObY%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: Problem with the Mavenizer and Air >= 24 on macs

2017-05-05 Thread Christofer Dutz
Hi Alex,

Well I guess I could probably do that, but I am no fan of this. The Mavenizer 
is platform independent and is generally able to provide the Mac SDK on a 
Windows machine. Also, there are major drawbacks when starting OS processes 
from within a Java VM. That’s why my implementation should be able to unpack 
the DMGs on any platform.

Chris



Am 05.05.17, 16:24 schrieb "Alex Harui" :



On 5/5/17, 12:10 AM, "Christofer Dutz"  wrote:

>Hi,
>
>I just noticed that I was unable to use the mavenizer (aka
>flex-sdk-converter) for Air 24 and 25. A short investigation resulted in
>the result that this is probably only a problem on macs as Adobe changed
>the packaging of the AIR SDK starting with version 24 and right now we
>don’t have any option to access DMGs with non-GPL libraries. I am working
>on implementing this logic from scratch inside the Mavenizer, but I think
>I still need a little time to finish this.

OK, I guess.  Any reason you can't exec the same MacOS command line tools
we use in the installer?  Or is that what you mean by implementing from
scratch?

Thanks,
-Alex





Re: Problem with the Mavenizer and Air >= 24 on macs

2017-05-05 Thread Alex Harui


On 5/5/17, 8:02 AM, "Christofer Dutz"  wrote:

>Hi Alex,
>
>Well I guess I could probably do that, but I am no fan of this. The
>Mavenizer is platform independent and is generally able to provide the
>Mac SDK on a Windows machine. Also, there are major drawbacks when
>starting OS processes from within a Java VM. That’s why my implementation
>should be able to unpack the DMGs on any platform.

Up to you.  I agree it isn't perfect.  I'm just trying to save you time.
The odds a DMG will need to be unpacked on other platforms is close to
zero, IMO.  IIRC, the utility we use in the installer pops up a status
window.  Not sure if that will mess up the Mavenizer.  If you have a Mac,
you can try running the installer to see.

-Alex



Re: [FlexJS] Layouts

2017-05-05 Thread piotrz
Well maybe that's not bad idea - to make similar set of layouts, but, what
would be the difference ?
 
In general MDL should be like our Basic set of components, should be able to
use such beads.

Maybe I should implement to the containers View parts and move there
appropriate logic. - In that case all layouts will be working. 

Any thoughts from others ?

Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Layouts-tp61120p61501.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Problem with the Mavenizer and Air >= 24 on macs

2017-05-05 Thread Christofer Dutz
If it opens a popup, it will mess up the mavenizer … at least in 
non-interactive mode which CI servers require.

One more reason to implement it the way I am doing it … I know whenever I took 
the easy path in the past it kept on coming back at me with support questions, 
so I’ll prefer to do things right the first time. Anyway, I think the DMG 
extraction code would be a perfect contribution to the Apache Commons project 
(Planning on moving things there as soon as I’m finished) as there is currently 
no “copy-left-less” library to do this available anywhere.

Chris

Am 05.05.17, 17:07 schrieb "Alex Harui" :



On 5/5/17, 8:02 AM, "Christofer Dutz"  wrote:

>Hi Alex,
>
>Well I guess I could probably do that, but I am no fan of this. The
>Mavenizer is platform independent and is generally able to provide the
>Mac SDK on a Windows machine. Also, there are major drawbacks when
>starting OS processes from within a Java VM. That’s why my implementation
>should be able to unpack the DMGs on any platform.

Up to you.  I agree it isn't perfect.  I'm just trying to save you time.
The odds a DMG will need to be unpacked on other platforms is close to
zero, IMO.  IIRC, the utility we use in the installer pops up a status
window.  Not sure if that will mess up the Mavenizer.  If you have a Mac,
you can try running the installer to see.

-Alex





Re: Problem with the Mavenizer and Air >= 24 on macs

2017-05-05 Thread Alex Harui


On 5/5/17, 8:25 AM, "Christofer Dutz"  wrote:

>If it opens a popup, it will mess up the mavenizer … at least in
>non-interactive mode which CI servers require.
>
>One more reason to implement it the way I am doing it … I know whenever I
>took the easy path in the past it kept on coming back at me with support
>questions, so I’ll prefer to do things right the first time. Anyway, I
>think the DMG extraction code would be a perfect contribution to the
>Apache Commons project (Planning on moving things there as soon as I’m
>finished) as there is currently no “copy-left-less” library to do this
>available anywhere.

IIRC, the status window is non-interactive.  Maybe there is a quiet mode
that suppresses it.  Anyway, up to you.

-Alex



Re: [FlexJS] Layouts

2017-05-05 Thread Peter Ent
Well, the LayoutBase assume's the host/strand implements ILayoutParent and
provides the ILayoutHost. The ILayoutHost then provides the ILayoutView.
These can all be the same thing.

The layouts in Basic assume the items being laid out are ILayoutChild
compliant. So if MDL components followed that pattern things should work
out.

‹peter



On 5/5/17, 10:58 AM, "piotrz"  wrote:

>Well maybe that's not bad idea - to make similar set of layouts, but, what
>would be the difference ?
> 
>In general MDL should be like our Basic set of components, should be able
>to
>use such beads.
>
>Maybe I should implement to the containers View parts and move there
>appropriate logic. - In that case all layouts will be working.
>
>Any thoughts from others ?
>
>Piotr
>
>
>
>-
>Apache Flex PMC
>piotrzarzyck...@gmail.com
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-Layouts-tp61120p61501.html&da
>ta=02%7C01%7C%7Cb742d8c1f6d44087f65f08d493c8dce3%7Cfa7b1b5a7b34438794aed2c
>178decee1%7C0%7C0%7C636295938289099392&sdata=Kt0Qd5IA1PEdNjvRF0SQN87vjYl0D
>hWjLOBlPGHaeIo%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] Layouts

2017-05-05 Thread piotrz
I will try to look into that deeply and probably will go through this path in
MDL.

Thanks Peter!



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Layouts-tp61120p61505.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.