Re: [FlexJS]as int

2016-05-16 Thread Alex Harui
I pushed changes for just the "x as int" case. On 5/16/16, 12:30 PM, "Harbs" wrote: >I assume int() will cross-compile to parseInt()? Currently the compiler calls Language._int(), but the code in there doesn't call parseInt. Should it? -Alex

Re: [FalconJX][FlexJS][Maven] Antrun plugin

2016-05-16 Thread Alex Harui
On 5/15/16, 3:55 PM, "Christofer Dutz" wrote: >Hi, > > >On the Maven dev list they are currently discussing to retire the >maven-antrun-plugin. Also it was mentioned, that support for running Ant >from Maven had been disabled for quite some time. I never noticed that, >because I never use that

AW: [FalconJX][FlexJS] Changing location of externs SWCs

2016-05-16 Thread Christofer Dutz
But be carefullreverting your branch ... cause this is where I continued working on the maven build. Chris Von: Alex Harui Gesendet: Montag, 16. Mai 2016 20:26:39 An: dev@flex.apache.org Betreff: Re: [FalconJX][FlexJS] Changing location of externs SWCs

[FlexJS] Cordova Update

2016-05-16 Thread Peter Ent
Hi, In light of the good progress made with CreateJS integration, I've taken another look at Apache Cordova and FlexJS and made some improvements. I've rewritten the FlexJS Wiki page[1] which guides you through getting Cordova set up. For those of you who are unfamiliar with Apache Cordova, it

Re: [FlexJS]as int

2016-05-16 Thread Harbs
I assume int() will cross-compile to parseInt()? On May 16, 2016, at 9:27 PM, Alex Harui wrote: > > > On 5/16/16, 9:47 AM, "Andy Dufilie" wrote: > >> There is no "int" type in JavaScript, so I think the compiler should just >> replace int with Number. > > I agree. I will look into it. > >

Re: [FlexJS]as int

2016-05-16 Thread Alex Harui
On 5/16/16, 9:47 AM, "Andy Dufilie" wrote: >There is no "int" type in JavaScript, so I think the compiler should just >replace int with Number. I agree. I will look into it. -Alex

Re: [FalconJX][FlexJS] Changing location of externs SWCs

2016-05-16 Thread Alex Harui
On 5/16/16, 11:18 AM, "Harbs" wrote: >JSC is working, but I doubt it’s that big a deal to change the project >type definition. > >I don’t think we should hold off on changing to a structure which makes >more sense because of this. Well, it isn't so much that the project structure makes more se

Re: [FalconJX][FlexJS] Changing location of externs SWCs

2016-05-16 Thread Harbs
JSC is working, but I doubt it’s that big a deal to change the project type definition. I don’t think we should hold off on changing to a structure which makes more sense because of this. On May 16, 2016, at 9:16 PM, Alex Harui wrote: > > On 5/16/16, 9:52 AM, "Harbs" wrote: > >> Yes. It’s

Re: [FalconJX][FlexJS] Changing location of externs SWCs

2016-05-16 Thread Alex Harui
On 5/16/16, 9:52 AM, "Harbs" wrote: >Yes. It’s current. They do not have a template for FlexJS The project >type probably does not work. > >I’ll probably just fix the project definition and create a template and >end it to them for the next version… OK, if it is already not working then I think

Re: [FalconJX][FlexJS] Changing location of externs SWCs

2016-05-16 Thread Harbs
Yes. It’s current. They do not have a template for FlexJS The project type probably does not work. I’ll probably just fix the project definition and create a template and end it to them for the next version… On May 16, 2016, at 7:16 PM, Alex Harui wrote: > Interesting. Are you using a recent

Re: [FlexJS]as int

2016-05-16 Thread Andy Dufilie
There is no "int" type in JavaScript, so I think the compiler should just replace int with Number. In general I would not recommend using "as Number" or "as int" anyway, since it returns null if the value is of a different type, and null cast to Number or int becomes zero rather than NaN. On Mon,

Re: [FalconJX][FlexJS] Changing location of externs SWCs

2016-05-16 Thread Alex Harui
Interesting. Are you using a recent version? FlexJSJX.swc and FlexJSUI.swc haven't existed for a few releases. -Alex On 5/15/16, 12:39 PM, "Harbs" wrote: >BTW, I think I found where the swc locations are specified in FDT. > >Here’s the locations for FlexJS: > > >

Re: [FlexJS] MXML project, how to specify externs swc file in Flash Builder?

2016-05-16 Thread OmPrakash Muppirala
On May 16, 2016 6:27 AM, "Alex Harui" wrote: > > On 5/16/16, 3:04 AM, "Harbs" wrote: > > > >BTW, is there a reason you are not using the Nightly? > > I ran into this same issue a few days ago. It should be fixed in the > nightly builds. No particular reason. Good to know that this was fixed.

Re: AW: Issue when using Apache Flex Installer when trying to install Flex SDK 4.15.0 with AIR 21

2016-05-16 Thread Alex Harui
On 5/16/16, 2:24 AM, "Christofer Dutz" wrote: >It didn't crash, it was simply no agent online for 6 days. Don't know if >it was started since my departure in Vancouver. I did not see this when I looked last night. The agent was up after I brought it up the night before. The MD5 run was stuck

Re: [FlexJS] MXML project, how to specify externs swc file in Flash Builder?

2016-05-16 Thread Alex Harui
On 5/16/16, 3:04 AM, "Harbs" wrote: >BTW, is there a reason you are not using the Nightly? I ran into this same issue a few days ago. It should be fixed in the nightly builds. -Alex

Re: [FlexJS] MXML project, how to specify externs swc file in Flash Builder?

2016-05-16 Thread Harbs
Not sure. What happens when you compile using the command line? BTW, is there a reason you are not using the Nightly? On May 16, 2016, at 11:40 AM, OmPrakash Muppirala wrote: > On May 16, 2016 1:31 AM, "Harbs" wrote: >> >> Is the angular.swc file set as external? > > Yes, it is. Using the

AW: Issue when using Apache Flex Installer when trying to install Flex SDK 4.15.0 with AIR 21

2016-05-16 Thread Christofer Dutz
It didn't crash, it was simply no agent online for 6 days. Don't know if it was started since my departure in Vancouver. Chris Von meinem Samsung Galaxy Smartphone gesendet. Ursprüngliche Nachricht Von: Alex Harui Datum: 16.05.16 07:39 (GMT+01:00) An: dev@flex.apache.org B

Re: [FlexJS] MXML project, how to specify externs swc file in Flash Builder?

2016-05-16 Thread OmPrakash Muppirala
On May 16, 2016 1:31 AM, "Harbs" wrote: > > Is the angular.swc file set as external? Yes, it is. Using the method that Josh mentioned above. Thanks, Om > > On May 16, 2016, at 11:25 AM, OmPrakash Muppirala wrote: > > > Thanks Josh and Harbs for the responses. > > > > I did that and the as co

Re: [FlexJS] MXML project, how to specify externs swc file in Flash Builder?

2016-05-16 Thread Harbs
Is the angular.swc file set as external? On May 16, 2016, at 11:25 AM, OmPrakash Muppirala wrote: > Thanks Josh and Harbs for the responses. > > I did that and the as compilation got fixed. It seems to be failing during > the js compilation. Here is the detailed build error > https://gist.git

Re: [FlexJS] MXML project, how to specify externs swc file in Flash Builder?

2016-05-16 Thread OmPrakash Muppirala
Thanks Josh and Harbs for the responses. I did that and the as compilation got fixed. It seems to be failing during the js compilation. Here is the detailed build error https://gist.github.com/bigosmallm/746b20149800458974b29d21a3ffd45e Any idea what I am doing wrong? Thanks, Om On Sun, May 1

[FlexJS]Disable multi-line string warning

2016-05-16 Thread Harbs
GCC complains when you use multi-line strings even though it’s supported by every browser in existence: WARNING: /Users/harbs/Documents/ApacheFlex/flex-asjs/manualtests/XMLTest/bin/js-debug/MyInitialView.js:261: WARNING - Parse error. String continuations are not recommended. See https://google

[FlexJS]as int

2016-05-16 Thread Harbs
The new sortOn code is causing a compile error in Language.as: Language.js:408: WARNING - variable int is undeclared [java] opt2 = org.apache.flex.utils.Language.as(opt, int); I can easily fix this by changing opt2 = opt as int; to opt2 = int(opt); but I think this is a bug in the “as” i