Re: [FlexJS] Error during FlexJS example compilations

2016-03-19 Thread Alex Harui
Hi Piotr, I assume in order to commit the changes you have pulled down the flex-asjs repo (and switched to the develop branch). If 'ant main' and 'ant examples' are successful, it is probably safe to check in. Thanks, -Alex On 3/19/16, 12:43 PM, "piotrz" wrote: >Alex, > >I have built successf

AW: [FALCONJX] Some help with the externs

2016-03-19 Thread Christofer Dutz
Hi Alex, Oh gee ... I should never have started migrating the externs ;-) I have invested about 3 full days now and have all projects creating the identical AS output as the Ant build. Currently I'm working on the last module "js". Unfortunately this seems to be the "playerglobal" of FlexJS :-(

Re: [FALCONJX]Compiling Falcon with externs problems

2016-03-19 Thread OmPrakash Muppirala
On Tue, Feb 16, 2016 at 4:17 AM, Harbs wrote: > OK. > > It looks like my problem was due to some outdated files from previous > compilations. > > I completely removed the flex-falcon folder and checked out a fresh copy > of the repo, and my problems seem to have gone away. > I just ran into this

Re: Building FlexJS/Falcon

2016-03-19 Thread OmPrakash Muppirala
I figured out what the problem was. I was using playerglobal.swc 21.0, whereas 11.0 is hardcoded in compiler.tests build.xml. I have applied a fix to the env-template.properties so others will hopefully not run into this issue. Thanks, Om On Sat, Mar 19, 2016 at 3:49 AM, Christofer Dutz wrote:

Re: [FlexJS] Error during FlexJS example compilations

2016-03-19 Thread Alex Harui
Did you use the Installer to get set up or did you do something else? Thanks, -Alex On 3/17/16, 1:30 PM, "piotrz" wrote: >Alex, > >You are right. Once I changed paths to something like that >D:\flex_sdk\flexjs_nightly\ I got different error [1]. Am I miss >something ? > > >[1] https://paste.apa

Re: LAST CALL] Release FlexJS/FalconJX 0.6.0

2016-03-19 Thread Alex Harui
On 3/15/16, 10:16 PM, "Justin Mclean" wrote: > >I think there's a few ads issues that someone may want to look into: >http://apacheflexbuild.cloudapp.net:8080/job/flex-asjs/lastSuccessfulBuild >/artifact/out/asdoc/validation_errors.log Thanks for noticing that. Have you looked at the notice f

Re: [FALCONJX] Some help with the externs

2016-03-19 Thread Michael Schmalle
> Another thing I noticed, was that I was getting errors while generating the AS code for "js" Are you sure these aren't errors/warnings from the actual GCC compiler? Mike On Fri, Mar 18, 2016 at 3:15 PM, Christofer Dutz wrote: > Hi Alex, > > Oh gee ... I should never have started migrating th

Re: [2/2] git commit: [flex-falcon] [refs/heads/develop] - apparently, parseInt in JS should always specify the radix

2016-03-19 Thread OmPrakash Muppirala
On Wed, Mar 16, 2016 at 7:03 PM, Andy Dufilie wrote: > The latest browsers do not support the octal case anymore so I'm inclined > to say it should be left alone. I doubt it would ever be an issue. > In that case, Alex's option 2 will ensure that it will work the same way across Flash, older br

Re: [FlexJS] dts2as, meet as2dts (was: Release FlexJS/FalconJX 0.6.0)

2016-03-19 Thread Andy Dufilie
On Tue, Mar 15, 2016 at 8:00 PM, Alex Harui wrote: > > I just took a quick look at React. What is it you like about it? If it > is the actual UI library itself, I would have to wonder what it would take > to wrap up their UI Library so it could be used in MXML. The JSX I saw > seemed to have a

Re: [FlexJS] Error during FlexJS example compilations

2016-03-19 Thread Alex Harui
So D:\flex_sdk\flexjs_nightly is a result of running the Installer? Did you set environment variables? I forgot that in an installed FlexJS SDK, using Ant to build the examples doesn't work and we expect you to just use the bin/mxmlc and js/bin/mxmlc to compile any project including the examples.

AW: [FALCONJX] Some help with the externs

2016-03-19 Thread Christofer Dutz
Well this is the output: Mrz 18, 2016 8:01:12 PM com.google.javascript.jscomp.LoggerErrorManager println SCHWERWIEGEND: [missing]:101: ERROR - Parse error. identifier is a reserved word function int() {} ^ Mrz 18, 2016 8:01:12 PM com.google.javascript.jscomp.LoggerErrorManager println S

Re: AW: [FALCON] Definitely needs some love ...

2016-03-19 Thread Alex Harui
Chris, Do you get line numbers in the stack traces? Even reporting the full stack trace with line numbers is helpful. They are almost like fingerprints. Can we start there? -Alex On 3/18/16, 12:27 PM, "Christofer Dutz" wrote: >Currently I am trying to get things to work. The problem is that

Re: [FALCON] Definitely needs some love ...

2016-03-19 Thread Michael Schmalle
Yes and at the complexity of the transpiler and amount of people that have actually touched the code, it's all understandable. When I started that project, I actually used the strategy of unit testing pretty much every AS statement and expression to produce valid AS, I didn't even think about JS p

Re: [FlexJS] Error during FlexJS example compilations

2016-03-19 Thread piotrz
Alex, I have built successfully DataGridExample with your tip overriding external-library-path. I can fix all build.xml scripts in examples folder, but not sure if it won't break anything. Just let me know and I will commit my changes. Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gma

Sprite class in createjs eterns

2016-03-19 Thread Christofer Dutz
Hi, while re-writing the replacements for the createjs extern bundle, I noticed that usually the param JavaScriptDocs are updated to contain the createjs package. It looks as if this was done for every class errors were reported. As Event is probably a normal JavaScript class this wasn't repor

Re: AW: LAST CALL] Release FlexJS/FalconJX 0.6.0

2016-03-19 Thread Alex Harui
Hmm. You shouldn't have to copy it. The flex-tool-api.jar isn't bundled in a falconjx binary artifact. We expect folks to take the binary artifact and run ant -f installer.xml. If you run the build in a falconjx source artifact, it should pull down flex-tool-api.jar as well. -Alex On 3/16/16,

[FALCONJX] Allowing certain kinds of overrides

2016-03-19 Thread Alex Harui
Hi, As I've been trying to get FlexJS to compile Flex code, there are some pain points. One is the parent property of UI widgets. In IUIBase.as, we want the parent to be another IUIBase function get parent():IUIBase But the Flex SDK is expecting a DisplayObjectContainer. override funct

AW: AW: [FALCONJX] Some help with the externs

2016-03-19 Thread Christofer Dutz
YE! I finally managed to port the builds for ALL externs to maven. I was thinking about how I could de-couple the compiler and the maven plugin till I noticed that this was exactly the problem I always had with Flexmojos and what I created the Flex tool-api for. With this it was super e

Re: [FALCONJX] Some help with the externs

2016-03-19 Thread Alex Harui
On 3/18/16, 7:22 AM, "Christofer Dutz" wrote: > >The problem I am having is that I completely don't understand how EXTERNC >sometimes generates the AS immediately and for createjs it is invoked >twice. The first time creating JS output, the second time creating AS >output. This is really strange

AW: Building FlexJS/Falcon

2016-03-19 Thread Christofer Dutz
But having updated my curruent ANT version and having run the build again I too am getting errors: Ant build completed with 14 errors and 166 warnings in 2m 29s at 19.03.16, 12:38 Will investigate this. Chris Von: Christofer Dutz Gesendet: Samstag, 19

Re: [FlexJS] Error during FlexJS example compilations

2016-03-19 Thread Alex Harui
Hmm. Maybe we have a spaces-in-path bug. Can you try using folders without spaces in the names? -Alex On 3/16/16, 2:52 PM, "piotrz" wrote: >Hi Team, > >I'm trying back to the game again. :) I've downloaded newest nightly build >and try to run examples using Intellij. > >Since I don't know whet

Re: [FALCON] Definitely needs some love ...

2016-03-19 Thread Josh Tynjala
It wasn't my intention to have you try to figure out exactly where and why the exceptions are being thrown. I was thinking that if you could reliably reproduce an exception with some ActionScript code, putting that code into a bug report would be a good enough first step. That provides a foundation

New version of the Flex-Tool-API

2016-03-19 Thread Christofer Dutz
Hi, In order to be able to run the EXTERNC tool using the flex-tool-api, I need a name for the tool. I would have chosen "EXTERNC", but as recently there have been discussions on replacing this, I would like to ask if there eventually is a better, more general, name for this that would also a

Re: [FALCON] Definitely needs some love ...

2016-03-19 Thread Alex Harui
On 3/18/16, 7:09 AM, "Christofer Dutz" wrote: >Hi, > > >Well I think one thing we definitely need to work on, is making Falcon >and FalconJX a lot more robust. During my work on Mavnizing everything I >continuously encounter NullPointerExceptions all over the place. It seems >that most of the c

[FlexJS] Error during FlexJS example compilations

2016-03-19 Thread piotrz
Hi Team, I'm trying back to the game again. :) I've downloaded newest nightly build and try to run examples using Intellij. Since I don't know whether something changed in configuration since Fred setup it [1], so I've decided run ant script to build example. I choose DataGridExample and run bui

AW: Building FlexJS/Falcon

2016-03-19 Thread Christofer Dutz
Hi Om, You might have to wrap the environment variables with double quotes as they have spaces in them. Inside the build a lot of string-concatenation is done, and if they contain spaces they might mess up the command line. Chris Von: omup...@gmail.com

Building FlexJS/Falcon

2016-03-19 Thread OmPrakash Muppirala
> > > But compiler.jx.tests needs "Ant extern.swcs" first so I think it is more > like: > > ant clean (or wipe or wipe-all) > cd compiler > ant > cd ../compiler.tests > ant > cd ../compiler.jx > ant > cd .. > ant extern.swcs > cd compiler.jx.tests > ant > So, I am trying these steps to compile Fal

AW: AW: [FALCONJX] Some help with the externs

2016-03-19 Thread Christofer Dutz
Ok ... so have a look at this image :-) http://s21.postimg.org/lx4dux0jr/Bildschirmfoto_2016_03_19_um_10_53_31.png I finally managed to finish a first build of an extern swc, using Maven and using my brand-new externc and compiler Maven plugins. My plugins are currently a simple prototype wich I

Re: [FALCONJX] Allowing certain kinds of overrides

2016-03-19 Thread Andy Dufilie
That feature sounds fine to me. On Thu, Mar 17, 2016 at 8:58 PM, Alex Harui wrote: > Hi, > > As I've been trying to get FlexJS to compile Flex code, there are some > pain points. One is the parent property of UI widgets. > > In IUIBase.as, we want the parent to be another IUIBase > > functi

AW: LAST CALL] Release FlexJS/FalconJX 0.6.0

2016-03-19 Thread Christofer Dutz
Hi Justin, I think I can help ... had similar problems and this one was related to a missing flex-tool-api.jar ... I copied it there manually and then I could build ... after fixing the locale problem preventing non "us_EN" people from running the tests sucessfully. Chris -Ursprüngliche

Re: [FALCON] Definitely needs some love ...

2016-03-19 Thread Josh Tynjala
I think the first step is documenting these null pointer exceptions as they are encountered. Opening bug reports in JIRA seems like the right course of action. - Josh On Fri, Mar 18, 2016 at 7:09 AM, Christofer Dutz wrote: > Hi, > > > Well I think one thing we definitely need to work on, is mak

Re: [2/2] git commit: [flex-falcon] [refs/heads/develop] - apparently, parseInt in JS should always specify the radix

2016-03-19 Thread Andy Dufilie
The latest browsers do not support the octal case anymore so I'm inclined to say it should be left alone. I doubt it would ever be an issue. On Tue, Mar 15, 2016 at 7:55 PM, Alex Harui wrote: > > > On 3/15/16, 3:57 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala" > wrote: > > >I think

Re: [FlexJS] Error during FlexJS example compilations

2016-03-19 Thread piotrz
Alex, You are right. Once I changed paths to something like that D:\flex_sdk\flexjs_nightly\ I got different error [1]. Am I miss something ? [1] https://paste.apache.org/6DsF Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-developme

AW: AW: [FALCONJX] Some help with the externs

2016-03-19 Thread Christofer Dutz
I'm using this one: com.google.javascript closure-compiler-externs v20150609 But your post was very valuable input as I re-checked and found out that the closure compiler version has

AW: AW: [FALCON] Definitely needs some love ...

2016-03-19 Thread Christofer Dutz
Hi Alex, Nope .. all I have are some "nodes" and some positions, but the positions in no way correlate to the positions in the input sources, sometimes the position references positions that would be way out of the file (assuming every char of the input was a possible position) Chris

[FALCON] Definitely needs some love ...

2016-03-19 Thread Christofer Dutz
Hi, Well I think one thing we definitely need to work on, is making Falcon and FalconJX a lot more robust. During my work on Mavnizing everything I continuously encounter NullPointerExceptions all over the place. It seems that most of the code seems to currently work if everything is correct,

Re: [FlexJS] Error during FlexJS example compilations

2016-03-19 Thread piotrz
I used installer. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Error-during-FlexJS-example-compilations-tp51876p51885.html Sent from the Apache Flex Development mailing list archive at Nabble.