[FlexJS] MDL - Project is failing to compile, help!

2017-03-22 Thread sankar
Hi,

I downloaded the latest framework source today, compiled it well and after
everything downloaded I have the SDK with AIR 25.0. In this process I didn't
encountered any error.

I tried to compile the MDLExample project that comes within the SDK folder,
but the compilation terminates abruptly. Following is my command for the
compilation:

/E:\ApacheFlexJSFrameworkSource\source\flex-asjs\out\apache-flex-flexjs-0.8.0-bin\js\bin\mxmlc.bat
-load-config+=obj/MDLExampleConfig.xml -accessible=true
-compiler.exclude-defaults-css-files=HTML.swc:defaults.css
-html-template=src/resources/mdl-js-index-template.html -locale=en_US/

The only last output after it terminates is as follows:

> java.lang.String.substring(String.java:1967)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.getProvidedFile(MXMLFlexJSPublisher.java:488)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.sortClosureFile(MXMLFlexJSPublisher.java:472)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.closureFilesInOrder(MXMLFlexJSPublisher.java:440)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:244)org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:455)org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:313)org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:270)org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:232)org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:176)

I didn't received any notable error though but it just terminates. 

Any idea where I should look into for this break (?)

Thanks!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Container and Layout Progress

2017-03-22 Thread Peter Ent
Hi,

One more thing: When I make this commit, I'm pretty sure Charts will be
broken until I address it. I can hold off the commit and address Charts
first, but I would prefer to commit Core and HTML and then fix Charts and
anything else. 

Would that strategy (commit first, fix Charts etc after) impact you?
Should I try to get more projects working first before doing the commit?

‹peter

On 3/21/17, 6:00 PM, "piotrz"  wrote:

>Hi Peter,
>
>Thank you for a hard work.
>
>I'm concerning about one thing. Alex mentioned that he will merge soon
>dual
>branch to develop - It will be tons of conflicts - Maybe it would be good
>to
>look also into that problem.
>
>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-Container-and-Layout-Progress
>-tp60658p60659.html&data=02%7C01%7C%7C0c2dad00daa048aec35808d470a6ce38%7Cf
>a7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636257309108498545&sdata=L%2Br39
>imWqdtudyvD1HZYHTaBT61Byhqbfa%2BOHknNLR4%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-22 Thread Peter Ent
I just re-sync'd myself since I am planning to merge my code and I'm
having the same issue. I did try maven and that does build, so that's
good. But the ant build should work, too.

Thanks,
Peter

On 3/22/17, 10:34 AM, "Christofer Dutz"  wrote:

>Hi Sankar,
>
>Have you tried building with Maven? That should work as it is working on
>Jenkins without any error reports.
>
>Chris
>
>
>Am 22.03.17, 12:32 schrieb "sankar" :
>
>Hi,
>
>I downloaded the latest framework source today, compiled it well and
>after
>everything downloaded I have the SDK with AIR 25.0. In this process I
>didn't
>encountered any error.
>
>I tried to compile the MDLExample project that comes within the SDK
>folder,
>but the compilation terminates abruptly. Following is my command for
>the
>compilation:
>
>
>/E:\ApacheFlexJSFrameworkSource\source\flex-asjs\out\apache-flex-flexjs-0.
>8.0-bin\js\bin\mxmlc.bat
>-load-config+=obj/MDLExampleConfig.xml -accessible=true
>-compiler.exclude-defaults-css-files=HTML.swc:defaults.css
>-html-template=src/resources/mdl-js-index-template.html -locale=en_US/
>
>The only last output after it terminates is as follows:
>
>> 
>java.lang.String.substring(String.java:1967)org.apache.flex.compiler.inter
>nal.codegen.mxml.flexjs.MXMLFlexJSPublisher.getProvidedFile(MXMLFlexJSPubl
>isher.java:488)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLF
>lexJSPublisher.sortClosureFile(MXMLFlexJSPublisher.java:472)org.apache.fle
>x.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.closureFilesIn
>Order(MXMLFlexJSPublisher.java:440)org.apache.flex.compiler.internal.codeg
>en.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:244)or
>g.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:455)org.apache
>.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:313)org.apache.fle
>x.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:270)org.apache.flex.com
>piler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:232)org.apache.flex.co
>mpiler.clients.MXMLJSC.main(MXMLJSC.java:176)
>
>I didn't received any notable error though but it just terminates.
>
>Any idea where I should look into for this break (?)
>
>Thanks!
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-MDL-Project-is-failing-to-com
>pile-help-tp60668.html&data=02%7C01%7C%7C2b7cf90a5f6149f2902808d47130a009%
>7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636257901039832972&sdata=CS7t
>6f0Lo%2F4ezuEYV9Y%2BIoRVs15DATkq7SYQY%2BRJ1QI%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at
>Nabble.com.
>
>



Re: [FlexJS] Container and Layout Progress

2017-03-22 Thread piotrz
Hi Peter,

+1 for commit, than fix Charts.

Piotr



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


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-22 Thread Christofer Dutz
Hi Sankar,

Have you tried building with Maven? That should work as it is working on 
Jenkins without any error reports.

Chris


Am 22.03.17, 12:32 schrieb "sankar" :

Hi,

I downloaded the latest framework source today, compiled it well and after
everything downloaded I have the SDK with AIR 25.0. In this process I didn't
encountered any error.

I tried to compile the MDLExample project that comes within the SDK folder,
but the compilation terminates abruptly. Following is my command for the
compilation:


/E:\ApacheFlexJSFrameworkSource\source\flex-asjs\out\apache-flex-flexjs-0.8.0-bin\js\bin\mxmlc.bat
-load-config+=obj/MDLExampleConfig.xml -accessible=true
-compiler.exclude-defaults-css-files=HTML.swc:defaults.css
-html-template=src/resources/mdl-js-index-template.html -locale=en_US/

The only last output after it terminates is as follows:

> 
java.lang.String.substring(String.java:1967)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.getProvidedFile(MXMLFlexJSPublisher.java:488)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.sortClosureFile(MXMLFlexJSPublisher.java:472)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.closureFilesInOrder(MXMLFlexJSPublisher.java:440)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:244)org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:455)org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:313)org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:270)org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:232)org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:176)

I didn't received any notable error though but it just terminates. 

Any idea where I should look into for this break (?)

Thanks!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.




Re: [FlexJS] Container and Layout Progress

2017-03-22 Thread OK
In case if something is broken for somebody maybe one option is to just check
out a previous revision by using the particular commit hash?

Olaf



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Container-and-Layout-Progress-tp60658p60673.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


[FlexJS] Before and After

2017-03-22 Thread Peter Ent
Hi,

 I have some before and after code to show you. I sent it out earlier but since 
I didn't see it come back into my inbox I'll assume the HTML I put into it 
didn't pass the filters, so I've put the code into a paste[1] below.

I ran an example of the following MXML snippet. It is a series of nested 
Containers with different layouts.

Notice that the "after" is much smaller and there are fewer style ingredients. 
You can see that in the original MXML the only specific size specified was 
width="200" on the g2 Container. In the "before" HTML, that 200 appears in 
multiple places. In the "after" HTML, the 200 size appears only on the g2 
, corresponding to the g2 MXML Container.  Now its up to HTML to maintain 
this structure and anything that happens to do (such as adding more children).

Finally, if a Container were to have the  bead added to 
it, the only thing you would see in the HTML is overflow:hidden would change to 
overflow:auto for that particular .

The SWF side hasn't been changed too much except that I have (at least I hope I 
have) improved the SWF-side layouts. Where the JS side may now only be as 
simple as style="display:flex; flex-flow:column", the SWF side will be an 
algorithm to mimic that. Over time I intend to improve that.

Apache Paste URL: https://paste.apache.org/HzAS



Re: [FlexJS] Before and After

2017-03-22 Thread Harbs
Nice improvement.

> On Mar 22, 2017, at 4:50 PM, Peter Ent  wrote:
> 
> Hi,
> 
> I have some before and after code to show you. I sent it out earlier but 
> since I didn't see it come back into my inbox I'll assume the HTML I put into 
> it didn't pass the filters, so I've put the code into a paste[1] below.
> 
> I ran an example of the following MXML snippet. It is a series of nested 
> Containers with different layouts.
> 
> Notice that the "after" is much smaller and there are fewer style 
> ingredients. You can see that in the original MXML the only specific size 
> specified was width="200" on the g2 Container. In the "before" HTML, that 200 
> appears in multiple places. In the "after" HTML, the 200 size appears only on 
> the g2 , corresponding to the g2 MXML Container.  Now its up to HTML to 
> maintain this structure and anything that happens to do (such as adding more 
> children).
> 
> Finally, if a Container were to have the  bead added to 
> it, the only thing you would see in the HTML is overflow:hidden would change 
> to overflow:auto for that particular .
> 
> The SWF side hasn't been changed too much except that I have (at least I hope 
> I have) improved the SWF-side layouts. Where the JS side may now only be as 
> simple as style="display:flex; flex-flow:column", the SWF side will be an 
> algorithm to mimic that. Over time I intend to improve that.
> 
> Apache Paste URL: https://paste.apache.org/HzAS
> 



Re: [FlexJS] Container and Layout Progress

2017-03-22 Thread Harbs
Yes. Commit.

Right now we need to use an earlier version because the current status is 
broken.

> On Mar 22, 2017, at 4:37 PM, OK  wrote:
> 
> In case if something is broken for somebody maybe one option is to just check
> out a previous revision by using the particular commit hash?
> 
> Olaf
> 
> 
> 
> --
> View this message in context: 
> http://apache-flex-development.247.n4.nabble.com/FlexJS-Container-and-Layout-Progress-tp60658p60673.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.



[FlexJS] Before and After

2017-03-22 Thread Peter Ent
Hi, I have some before and after code to show you. I don't know if the HTML 
will come through and if it does not I'll put it into an Apache paste.

I ran an example of the following MXML snippet. It is a series of nested 
Containers with different layouts.





















This is what the HTML DOM looks like using the current FlexJS 0.8.0 SDK:


  

 

 
Button 1
Button 2
Button 3
 

Button 4
 

  


This is what it will look like once I am finished:



 
Button 
1
Button 2
Button 
3
 
 Button 4



Notice that the "after" is much smaller and there are fewer style ingredients. 
You can see that in the original MXML the only specific size specified was 
width="200" on the g2 Container. In the "before" HTML, that 200 appears in 
multiple places. In the "after" HTML, the 200 size appears only on the g2 
, corresponding to the g2 MXML Container.  Now its up to HTML to maintain 
this structure and anything that happens to do (such as adding more children).

Finally, if a Container were to have the  bead added to 
it, the only thing you would see in the HTML is overflow:hidden would change to 
overflow:auto for that particular .

—peter



Re: [FlexJS] Before and After

2017-03-22 Thread OK
If I got it right now the number of containers matches the number of divs,
looks great to me!
Even if I've no idea of what you've done internally I could imagine that it
was a painful way.

Thanks for working on this!

Olaf



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Before-and-After-tp60674p60678.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-22 Thread sankar
Hi,

Frankly, I don't know how Maven works, and I never used that before. 

I simply wants this as old school, calling the compiler file from SDK,
provide necessary commands/parameters and build the project.

Is that doable at some time sooner (?)

Thanks!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60679.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [ANNOUNCE] Apache Flex 4.16.0 released

2017-03-22 Thread Vincent Sotto
so its a mirror issue, tried to download 2 mirrors and it stops at 40mb,
the 3rd mirror worked fine.
righclick the apache installer and set my cache directory manually, put
file apache-flex-sdk-4.16.0-bin.zip to folder flex\4.16.0\binaries in the
specified cache folder, try to install again and it worked fine.
thank for the assist

On Tue, Mar 21, 2017 at 1:16 AM, Alex Harui  wrote:

> Please try clearing your browser caches.  I've seen that help on occasion.
>  Also check your log and see if it is choosing a mirror that is reasonably
> close to you.  If it picks a bad mirror the odds of a bad download is
> higher.
>
> You can try downloading the binary artifact [1], expanding it and using
> Apache Ant to run the install script.
>
> [1] http://flex.apache.org/download-binaries.html
>
> HTH,
> -Alex
>
>
> On 3/20/17, 9:43 AM, "Vincent Sotto"  wrote:
>
> >tried at work and at home, same "The Apache Flex SDK MD5 Signature of the
> >downloaded files does not match the reference value. The file is invalid,
> >installation is aborted.
> >Installation aborted"
> >Im from asia/ph if that does matter. running win10 64bit, 10mpbs
> >connection
> >
> >
> >On Mon, Mar 20, 2017 at 1:02 PM, Alex Harui  wrote:
> >
> >> An update:  I was able to generate a 64-bit bundle, but not an installer
> >> EXE that installs a 64-bit app.  It seems to generate a 32-bit app.
> >>
> >> Has anyone seen any info on creating an installer EXE for a 64-bit app?
> >> I'll ask internally at Adobe as well.
> >>
> >> Thanks,
> >> -Alex
> >>
> >> On 3/18/17, 9:33 PM, "Alex Harui"  wrote:
> >>
> >> >I haven't tried clear().  I'm trying to see if 64-bit will work because
> >> >then I think we can just deploy a new binary instead of having to go
> >> >through an entire release process.
> >> >
> >> >I spent some time this afternoon and could not get the AIR 25 SDK Beta
> >> >with 64-bit support to actually generate a 64-bit exe.  Has anyone seen
> >> >any documentation on the process?
> >> >
> >> >Thanks,
> >> >-Alex
> >> >
> >> >On 3/18/17, 8:17 AM, "Josh Tynjala"  wrote:
> >> >
> >> >>I wonder if it would help to call clear() on the URLLoader's
> >>ByteArray in
> >> >>the Get AntOnAIR task after we save it to a file. While it's supposed
> >>to
> >> >>be
> >> >>GCed eventually, clearing the memory immediately is probably a good
> >>idea
> >> >>with these large files. I've had succuss doing something similar in
> >>cases
> >> >>where BitmapData used too much cumulative memory before it could be
> >>GCed.
> >> >>
> >> >>- Josh
> >> >>
> >> >>On Mar 18, 2017 7:24 AM, "Alex Harui"  wrote:
> >> >>
> >> >>> Do any of the Windows platforms we support not handle 64-bit apps?
> >> >>> Windows Server 2008 for example?
> >> >>>
> >> >>> Otherwise, it seems like we should rebuild the Windows Installer on
> >>a
> >> >>> 64-bit AIR version and replace the 32-bit one that we've deployed?
> >> >>>
> >> >>> Thoughts?
> >> >>> -Alex
> >> >>>
> >> >>> On 3/17/17, 3:46 PM, "piotrz"  wrote:
> >> >>>
> >> >>> >Hi :),
> >> >>> >
> >> >>> >Can someone post also this information to our Facebook fan page ?
> >> >>> >
> >> >>> >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%2FANNOUNCE-Apache-
> >> >>> Flex-4-16-0-released
> >> >>> >-tp60427p60557.html&data=02%7C01%7C%7C526823ea8c5e49aa413108d46d88
> >> >>> 85d2%7Cf
> >> >>> >a7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C636253880511588257&sdata=
> >> >>> VGA%2B5
> >> >>> >OrpJvyyOLnKX9G4wEv587gNa%2Fa4NInd9G0Auuk%3D&reserved=0
> >> >>> >Sent from the Apache Flex Development mailing list archive at
> >> >>>Nabble.com.
> >> >>>
> >> >>>
> >> >
> >>
> >>
>
>


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-22 Thread Josh Tynjala
Judging by these method names, this looks related to Alex's recent changes
to sorting the dependency graph in the compiler:

sortClosureFile
closureFilesInOrder

- Josh

On Wed, Mar 22, 2017 at 4:32 AM, sankar  wrote:

> Hi,
>
> I downloaded the latest framework source today, compiled it well and after
> everything downloaded I have the SDK with AIR 25.0. In this process I
> didn't
> encountered any error.
>
> I tried to compile the MDLExample project that comes within the SDK folder,
> but the compilation terminates abruptly. Following is my command for the
> compilation:
>
> /E:\ApacheFlexJSFrameworkSource\source\flex-asjs\out\apache-
> flex-flexjs-0.8.0-bin\js\bin\mxmlc.bat
> -load-config+=obj/MDLExampleConfig.xml -accessible=true
> -compiler.exclude-defaults-css-files=HTML.swc:defaults.css
> -html-template=src/resources/mdl-js-index-template.html -locale=en_US/
>
> The only last output after it terminates is as follows:
>
> > java.lang.String.substring(String.java:1967)org.apache.
> flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.
> getProvidedFile(MXMLFlexJSPublisher.java:488)org.apache.flex.compiler.
> internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.sortClosureFile(
> MXMLFlexJSPublisher.java:472)org.apache.flex.compiler.
> internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.closureFilesInOrder(
> MXMLFlexJSPublisher.java:440)org.apache.flex.compiler.
> internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(
> MXMLFlexJSPublisher.java:244)org.apache.flex.compiler.
> clients.MXMLJSC.compile(MXMLJSC.java:455)org.apache.
> flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:313)
> org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(
> MXMLJSC.java:270)org.apache.flex.compiler.clients.MXMLJSC.
> staticMainNoExit(MXMLJSC.java:232)org.apache.flex.compiler.
> clients.MXMLJSC.main(MXMLJSC.java:176)
>
> I didn't received any notable error though but it just terminates.
>
> Any idea where I should look into for this break (?)
>
> Thanks!
>
>
>
> --
> View this message in context: http://apache-flex-
> development.247.n4.nabble.com/FlexJS-MDL-Project-is-
> failing-to-compile-help-tp60668.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-22 Thread Alex Harui
I checked out Peter's build problem, which might be different, but his
issue is that the compiler is expecting folks to be using a subset of
Closure Library.  If you have a GOOG_HOME environment variable pointing to
a folder of Closure Library files, run the Ant subsetting utility on it.

In flex-asjs repo, run:

  ant -f frameworks/downloads.xml subset-goog

Subsetting should speed up your build times as well since there will be
fewer Closure files to copy.

HTH,
-Alex 



On 3/22/17, 9:16 AM, "Josh Tynjala"  wrote:

>Judging by these method names, this looks related to Alex's recent changes
>to sorting the dependency graph in the compiler:
>
>sortClosureFile
>closureFilesInOrder
>
>- Josh
>
>On Wed, Mar 22, 2017 at 4:32 AM, sankar  wrote:
>
>> Hi,
>>
>> I downloaded the latest framework source today, compiled it well and
>>after
>> everything downloaded I have the SDK with AIR 25.0. In this process I
>> didn't
>> encountered any error.
>>
>> I tried to compile the MDLExample project that comes within the SDK
>>folder,
>> but the compilation terminates abruptly. Following is my command for the
>> compilation:
>>
>> /E:\ApacheFlexJSFrameworkSource\source\flex-asjs\out\apache-
>> flex-flexjs-0.8.0-bin\js\bin\mxmlc.bat
>> -load-config+=obj/MDLExampleConfig.xml -accessible=true
>> -compiler.exclude-defaults-css-files=HTML.swc:defaults.css
>> -html-template=src/resources/mdl-js-index-template.html -locale=en_US/
>>
>> The only last output after it terminates is as follows:
>>
>> > java.lang.String.substring(String.java:1967)org.apache.
>> flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.
>> getProvidedFile(MXMLFlexJSPublisher.java:488)org.apache.flex.compiler.
>> internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.sortClosureFile(
>> MXMLFlexJSPublisher.java:472)org.apache.flex.compiler.
>> internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.closureFilesInOrder(
>> MXMLFlexJSPublisher.java:440)org.apache.flex.compiler.
>> internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(
>> MXMLFlexJSPublisher.java:244)org.apache.flex.compiler.
>> clients.MXMLJSC.compile(MXMLJSC.java:455)org.apache.
>> flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:313)
>> org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(
>> MXMLJSC.java:270)org.apache.flex.compiler.clients.MXMLJSC.
>> staticMainNoExit(MXMLJSC.java:232)org.apache.flex.compiler.
>> clients.MXMLJSC.main(MXMLJSC.java:176)
>>
>> I didn't received any notable error though but it just terminates.
>>
>> Any idea where I should look into for this break (?)
>>
>> Thanks!
>>
>>
>>
>> --
>> View this message in context: http://apache-flex-
>> development.247.n4.nabble.com/FlexJS-MDL-Project-is-
>> failing-to-compile-help-tp60668.html
>> Sent from the Apache Flex Development mailing list archive at
>>Nabble.com.
>>



Re: Typedef issue causing flex-asjs to fail to compile

2017-03-22 Thread Greg Dove
Alex, I pushed this change, using undefined as discussed in the ticket.
The standard compiler tests all pass, but there is, I think, an unrelated test
in flexjs.dependent.tests that is currently failing
in TestFlexJSMXMLApplication (I admit that I did not revert my change to
check it was occurring prior, but I can't see how it could be related)
It is a css in/css out comparison test.
As near as I can tell the failing css test had the correct css settings in
the output, but the order of them does not always match the expected output
(it does for the most part). So height:176px might appear before color:#ff
in expected result in some parts and occurs the other way around in the
corresponding part of the output, but the expected items are all there. I
did not dig into this, but I perhaps the ordering was changed or some new
functionality was added where perhaps ordering of output was not
guaranteed.




On Tue, Mar 21, 2017 at 3:56 AM, Alex Harui  wrote:

>
>
> On 3/20/17, 12:00 AM, "Greg Dove"  wrote:
>
> >I agree that 10 is wrong, but
> >reading both AS and JS doc, I'm now thinking that if the second argument
> >is missing that the compiler should use 0.
>
> +1.  Let's use 0.
>
> Thanks for doing such a through investigation.
> -Alex
>
>


Re: Typedef issue causing flex-asjs to fail to compile

2017-03-22 Thread Alex Harui
OK.  I'll take a look at the failing test later.

Thanks again for working on this.

-Alex

On 3/22/17, 9:40 AM, "Greg Dove"  wrote:

>Alex, I pushed this change, using undefined as discussed in the ticket.
>The standard compiler tests all pass, but there is, I think, an unrelated
>test
>in flexjs.dependent.tests that is currently failing
>in TestFlexJSMXMLApplication (I admit that I did not revert my change to
>check it was occurring prior, but I can't see how it could be related)
>It is a css in/css out comparison test.
>As near as I can tell the failing css test had the correct css settings in
>the output, but the order of them does not always match the expected
>output
>(it does for the most part). So height:176px might appear before color:#ff
>in expected result in some parts and occurs the other way around in the
>corresponding part of the output, but the expected items are all there. I
>did not dig into this, but I perhaps the ordering was changed or some new
>functionality was added where perhaps ordering of output was not
>guaranteed.
>
>
>
>
>On Tue, Mar 21, 2017 at 3:56 AM, Alex Harui  wrote:
>
>>
>>
>> On 3/20/17, 12:00 AM, "Greg Dove"  wrote:
>>
>> >I agree that 10 is wrong, but
>> >reading both AS and JS doc, I'm now thinking that if the second
>>argument
>> >is missing that the compiler should use 0.
>>
>> +1.  Let's use 0.
>>
>> Thanks for doing such a through investigation.
>> -Alex
>>
>>



Re: [FlexJS] Container and Layout Progress

2017-03-22 Thread Peter Ent
Update: I'm 99% ready to commit. I will do this tomorrow morning, my time.
I've spent today fixing some last issues in HTML package, while cosmetic,
just didn't make things look too good. There are a couple more but I'll do
them later.

I did a local merge of the latest FlexJS code and my changes and rebuilt
flex-asjs. The Basic and Charts packages I expected to have issues. I'm
not sure if I should even bother with Basic, just let me know. I have
commented Charts from the build.xml so it will not cause the main build to
fail.

The other project is MDL. I will also comment that from the build and will
work on that after I make the commit and push. The issue is that I changed
a couple of interfaces in Core and replaced one interface with another. I
just have to sync them up. Hopefully it will not take more than a day.

If you prefer I do MDL before doing the commit, please let me know in the
next 12-14 hours.

Thanks,
Peter

On 3/22/17, 10:56 AM, "Harbs"  wrote:

>Yes. Commit.
>
>Right now we need to use an earlier version because the current status is
>broken.
>
>> On Mar 22, 2017, at 4:37 PM, OK  wrote:
>> 
>> In case if something is broken for somebody maybe one option is to just
>>check
>> out a previous revision by using the particular commit hash?
>> 
>> Olaf
>> 
>> 
>> 
>> --
>> View this message in context:
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl
>>ex-development.247.n4.nabble.com%2FFlexJS-Container-and-Layout-Progre
>>ss-tp60658p60673.html&data=02%7C01%7C%7C82a3a0f402a943fbc3fa08d47133951f%
>>7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636257913736732760&sdata=hSA
>>%2FIskqdzlbteHnTLr9pZwSE5Kk%2Fer9cb%2FUTJeMrZ8%3D&reserved=0
>> Sent from the Apache Flex Development mailing list archive at
>>Nabble.com.
>



Re: [FlexJS] Container and Layout Progress

2017-03-22 Thread piotrz
Peter,

I think you should commit and try to fix at first MDL - If you have any
problems let me know I will help you.

As for the content of Basic - I think Alex know what changes will have place
in Basic due to "dual" branch.

Piotr



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


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-22 Thread sankar
This is my complete log of MDLExample project compilation and termination:
https://kobra.io/#/e/-KftTPyWUjPCEiUWIUrO

And, this created this much files for me:
 

Thanks!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60687.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


AW: [FlexJS] Container and Layout Progress

2017-03-22 Thread Christofer Dutz
Hi,

Why don't you guys use feature branches? I've made it so simple to use them :-(

If you create a branch on all three repos and babe it "feature/{something}" you 
even get automatic Jenkins builds for it.

Chris



Von meinem Samsung Galaxy Smartphone gesendet.


 Ursprüngliche Nachricht 
Von: Peter Ent 
Datum: 22.03.17 22:02 (GMT+01:00)
An: dev@flex.apache.org
Betreff: Re: [FlexJS] Container and Layout Progress

Update: I'm 99% ready to commit. I will do this tomorrow morning, my time.
I've spent today fixing some last issues in HTML package, while cosmetic,
just didn't make things look too good. There are a couple more but I'll do
them later.

I did a local merge of the latest FlexJS code and my changes and rebuilt
flex-asjs. The Basic and Charts packages I expected to have issues. I'm
not sure if I should even bother with Basic, just let me know. I have
commented Charts from the build.xml so it will not cause the main build to
fail.

The other project is MDL. I will also comment that from the build and will
work on that after I make the commit and push. The issue is that I changed
a couple of interfaces in Core and replaced one interface with another. I
just have to sync them up. Hopefully it will not take more than a day.

If you prefer I do MDL before doing the commit, please let me know in the
next 12-14 hours.

Thanks,
Peter

On 3/22/17, 10:56 AM, "Harbs"  wrote:

>Yes. Commit.
>
>Right now we need to use an earlier version because the current status is
>broken.
>
>> On Mar 22, 2017, at 4:37 PM, OK  wrote:
>>
>> In case if something is broken for somebody maybe one option is to just
>>check
>> out a previous revision by using the particular commit hash?
>>
>> Olaf
>>
>>
>>
>> --
>> View this message in context:
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl
>>ex-development.247.n4.nabble.com%2FFlexJS-Container-and-Layout-Progre
>>ss-tp60658p60673.html&data=02%7C01%7C%7C82a3a0f402a943fbc3fa08d47133951f%
>>7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636257913736732760&sdata=hSA
>>%2FIskqdzlbteHnTLr9pZwSE5Kk%2Fer9cb%2FUTJeMrZ8%3D&reserved=0
>> Sent from the Apache Flex Development mailing list archive at
>>Nabble.com.
>



Re: [FlexJS] typeof X === 'undefined'

2017-03-22 Thread piotrz
Hi,

I see following warning in Maven build:

D:\flex_sdk\Sources\flex-asjs\frameworks\projects\Network\src\main\flex\org\apache\flex\net\HTTPService.as(272):
col: 21 Illogical comparison with undefined.  Only untyped variables (or
variables of type *) can be undefined.
3.636389252 seconds

[INFO] 
if (_responseHeaders === undefined) {

Piotr



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