Re: [FlexJS] Issue with bindable class

2016-09-29 Thread Alex Harui
On 9/29/16, 9:04 PM, "Greg Dove" wrote: >Please check with the GenericTests manual test after that change. > >I thought I saw that the return types of the methods or variable types >were >not affecting usedNames directly during output and it was only be picked >up >in the reflection data. > >If

Re: Variable Renaming (was Re: [Falcon] Proposal for new ActionScript language feature: Optionally rename an import)

2016-09-29 Thread Alex Harui
On 9/28/16, 11:43 AM, "Alex Harui" wrote: > > >On 9/28/16, 11:23 AM, "Greg Dove" wrote: > >>OT: I am getting a lot of warnings in the GCC release build phase. I >>recall >>you mentioning something in the past about this being related to GCC >>versions - is there anything I can do to address this

Re: [FlexJS] Issue with bindable class

2016-09-29 Thread Alex Harui
On 9/29/16, 3:59 PM, "Greg Dove" wrote: >I did wonder if this stuff could be refactored so that different parts of >the output were buffered and then output in sequence at the end instead of >having to use the postProcess approach, although I have no idea what >implications that might have for

Re: [FlexJS] Issue with bindable class

2016-09-29 Thread Alex Harui
On 9/29/16, 9:38 PM, "Greg Dove" wrote: >If this does break reflection, then I can certainly accept that reflection >is probably not mainstream enough to warrant keeping things as they were, >but it would be nice to be able to keep more aggressive 'requires' >settings >here for reflection as an

Re: [FlexJS] Issue with bindable class

2016-09-29 Thread Greg Dove
Olaf, just a quick return to your initial issue. I did recreate something similar with this: [Bindable] public class BindableWithConstructorInit { public static const STATIC_INIT:BindableWithConstructorInit = new BindableWithConstructorInit( "STATIC_INIT" ,-1 ); public var ordinal:int; public var

Re: [FlexJS] Issue with bindable class

2016-09-29 Thread Greg Dove
If this does break reflection, then I can certainly accept that reflection is probably not mainstream enough to warrant keeping things as they were, but it would be nice to be able to keep more aggressive 'requires' settings here for reflection as an option, so long as remove circulars can handle w

Re: [FlexJS] Issue with bindable class

2016-09-29 Thread Greg Dove
Please check with the GenericTests manual test after that change. I thought I saw that the return types of the methods or variable types were not affecting usedNames directly during output and it was only be picked up in the reflection data. If GenericTests works fine after your changes then I am

Re: [FlexJS] Issue with bindable class

2016-09-29 Thread Alex Harui
Pretty sure our emails crossed paths. You can probably keep all of your formatQualfiedName calls. I cast getEmitter to JSFlexJSEmitter and added the isDoc parameter for calls during the header and reflection data output since that output shouldn't affect the set of used names. -Alex On 9/29/16,

Re: [FlexJS] Issue with bindable class

2016-09-29 Thread Greg Dove
Alex, I think perhaps the primary cause of this is in the output of the qualified names in the reflection data. In many cases they were not output as fully qualified previously, because they were not completely resolved, my fixing this may have added to the dependency list I think. It was also wra

Re: [FlexJS] Issue with bindable class

2016-09-29 Thread Alex Harui
On 9/29/16, 7:02 PM, "Greg Dove" wrote: >I found one cause of the circular dependencies, that usedNames change was >only in the mxml emitter, sorry that was a bad suggestion (I was not >looking at the code at the time). > >I am currently looking at options, I will try it with the change I found

Re: [FlexJS] Issue with bindable class

2016-09-29 Thread Greg Dove
I found one cause of the circular dependencies, that usedNames change was only in the mxml emitter, sorry that was a bad suggestion (I was not looking at the code at the time). I am currently looking at options, I will try it with the change I found (removing a formatQualifiedName call in PackageF

Re: [FlexJS] Issue with bindable class

2016-09-29 Thread Greg Dove
I did wonder if this stuff could be refactored so that different parts of the output were buffered and then output in sequence at the end instead of having to use the postProcess approach, although I have no idea what implications that might have for memory or speed. Does that make any sense? On F

Re: [FlexJS] Issue with bindable class

2016-09-29 Thread Greg Dove
I was seeing examples of situations where new 'usedNames' were being added during the output of the js but were not captured in the goog.requires output. This caused 'x is undefined' sometimes so that is what I was trying to address. I don't have time right now, but I can come back to this later i

Re: [FlexJS] Issue with bindable class

2016-09-29 Thread Alex Harui
On 9/29/16, 3:18 PM, "Greg Dove" wrote: >That's almost like a dependency analysis pass within the class itself >isn't >it? To rearrange the ordering, I mean. I think it means determining the difference between scalar and non-scalar initializer values. We already do something like this for ins

Re: [FlexJS] Issue with bindable class

2016-09-29 Thread Greg Dove
That's almost like a dependency analysis pass within the class itself isn't it? To rearrange the ordering, I mean. Sounds like another fun iteration through test maintenance! I might not get to that at this point, as I will be afk for a week or so on a vacation with my kids. I don't want to start

Re: [FlexJS] Issue with bindable class

2016-09-29 Thread Alex Harui
On 9/29/16, 3:06 PM, "Greg Dove" wrote: >it might be to do with the order of output I think. >Perhaps it is calling the bindable setter within the constructor but it is >not yet defined. Maybe this could also be covered by setting the private >backing var if inside the constructor for a bindabl

Re: [FlexJS] Issue with bindable class

2016-09-29 Thread Greg Dove
it might be to do with the order of output I think. Perhaps it is calling the bindable setter within the constructor but it is not yet defined. Maybe this could also be covered by setting the private backing var if inside the constructor for a bindable field. I can try to repro this later today an

Re: [FlexJS] Issue with bindable class

2016-09-29 Thread OK
I'm using the nightly build. >If you can show us the generated code and the error it might give us a clue. For today I'm done, will provide it soon! Thanks, Olaf -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Issue-with-bindable-class-tp55468p554

Re: [FlexJS] Issue with bindable class

2016-09-29 Thread Alex Harui
Are you using the nightly build? There's been a fair amount of changes to what [Bindable] does since 0.7.0. Could still be bugs in there though. [Bindable] can have a great effect on the generated code. It changes the super class from Object to EventDispatcher and then converts every var to a g

Re: [FlexJS] Issue with bindable class

2016-09-29 Thread Greg Dove
Quick check: Is this using 0.7 release, or latest development builds? On Fri, Sep 30, 2016 at 10:06 AM, OK wrote: > Hi, > while porting the PureMVC employee admin demo to FlexJS I stumbled over > another issue which I don't understand: > The demo makes use of a 'typesafe enum pattern' which cl

[FlexJS] Issue with bindable class

2016-09-29 Thread OK
Hi, while porting the PureMVC employee admin demo to FlexJS I stumbled over another issue which I don't understand: The demo makes use of a 'typesafe enum pattern' which class that implements it is declared as 'Bindable' [1]. It compiles without any errors or warnings and the swf side works fine.

Re: AW: AW: [FlexJS] Problem with some test cases (@export was changed to @expose)?

2016-09-29 Thread Greg Dove
"For me, I use Eclipse and run the unit tests from within Eclipse" I have yet to invest the time in setting myself up properly in my IDE for the compiler. I will focus on that before my next stint. I may take a look at the compiler switch thing because I guess it is a bug, but I don't think it is

RES: RES: Adobe Flex 4.5 > FlexJs

2016-09-29 Thread Marcos Melo
Olaf, thanks for the explanation. I agree that the flash player, will not end soon. Unfortunately in Brazil, seems that the flex is not being mentioned as a time a go. Some well-known developers are going to change to JavaScript + HTML. I appreciate the links, I'll study them calmly. Thank you. -

Re: AW: AW: [FlexJS] Problem with some test cases (@export was changed to @expose)?

2016-09-29 Thread Alex Harui
On 9/29/16, 11:18 AM, "Greg Dove" wrote: >Those tools you shared are really helpful and were a good way to get >through this with sanity intact, but if this type of test maintenance work >is routine I might have to come up with an even faster way that is more >'one step' to get to where you end

Re: AW: AW: [FlexJS] Problem with some test cases (@export was changed to @expose)?

2016-09-29 Thread Greg Dove
Alex, thanks for the explanation earlier, that really helped me work through this. I think I cleared up everything in those tests, the builds seem to be working again in any case. Those tools you shared are really helpful and were a good way to get through this with sanity intact, but if this type

[FalconJX][FlexJS] COMPJSC and Build order

2016-09-29 Thread Alex Harui
Hi, I'm finishing up changing the way COMPJSC works. Right now, it generates a pile of .js files in a folder. Our build process requires that you then run COMPC and specify the -include-files option to include that pile of .js files into a final SWC. This is insufficient for IDE users. If you

Re: flexjs and flex how inline

2016-09-29 Thread Alex Harui
On 9/29/16, 8:21 AM, "lizhi" wrote: >the adobe asc2 -inline option [Inline]. > >how flex and flexjs?it is gread inline suport > The Falcon code base has some code paths for [Inline]. Not sure how well it works. We have not tried to support it in FalconJX. Volunteers are welcome to make it h

Re: [DISCUSS] Switch the site repo to GIT?

2016-09-29 Thread Alex Harui
On 9/29/16, 1:43 AM, "Christofer Dutz" wrote: >Hi guys, > > >as you might know I have been working hard on the site-generation and >this finally seems to be working nicely. The only problem I have is that >I can't submit to the site repo from the Build agent as SVN isn't setup >to allow that. G

Re: Two of my Flex talks got accepted for ApacheCon EU 2016 in Ceville

2016-09-29 Thread Alex Harui
Excellent. Thanks for representing FlexJS. -Alex On 9/28/16, 11:17 PM, "Christofer Dutz" wrote: >Hi guys, > > >I just wanted to tell you that two of my talks got accepted for this >years european ApacheCon Core. > > >- Apache FlexJS' Maven migration initiative - introducing the >flexjs-maven-p

flexjs and flex how inline

2016-09-29 Thread lizhi
the adobe asc2 -inline option [Inline]. how flex and flexjs?it is gread inline suport -- View this message in context: http://apache-flex-development.247.n4.nabble.com/flexjs-and-flex-how-inline-tp55459.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: RES: Adobe Flex 4.5 > FlexJs

2016-09-29 Thread OK
Forgot: Best way would be to just install FlexJS and make yourself your own picture of it. Keep in mind that everbody is invited to participate in moving Flex and FlexJS forward ;-) Thanks, Olaf -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Adobe-Flex-4-

Re: RES: Adobe Flex 4.5 > FlexJs

2016-09-29 Thread OK
Marcos Melo wrote > The goal is really to set aside the flashplayer and bet on a new > technology, I beting on FlexJs for this. For me the question is 'why do you'd like to proscribe flashplayer or AIR'. If it's only because of the 'You have to change to HTML5 these days'-feeling I'd say: Update t

Re: [FlexJS][Maven] Simple pom with js output

2016-09-29 Thread Carlos Rovira
Hi Chris, sorry for the final "clear" it was messed when making copy&paste in the line. still failing here, this time saying "The defined artifact is not an archetype", I think something is going wrong here... macbookpro:FlexMavenTestPrj carlosrovira$ *mvn -s /Users/carlosrovira/Dev/Flex/source/f

RES: Adobe Flex 4.5 > FlexJs

2016-09-29 Thread Marcos Melo
Thanks for your response. The goal is really to set aside the flashplayer and bet on a new technology, I beting on FlexJs for this. Some additional questions: Communication with the backend is still done via BlazeDS? Our users are accustomed to Windows Mdi type container styles and for this we us

AW: [FlexJS][Maven] Simple pom with js output

2016-09-29 Thread Christofer Dutz
Argh ... please use "flexjs-simple-application-archetype" instead of "flexjs-application-archetype" I had forgotten that I renamed the thing. But the "clear" in the end of 0.8.0-SNAPSHOT is rather strange ... Chris Von: carlos.rov...@gmail.com im Auftrag von C

Re: Adobe Flex 4.5 > FlexJs

2016-09-29 Thread Justin Mclean
Hi, > Nowadays I'm using, in our system, the following tools: Adobe Flex 4.5, Java, > Oracle 10G. Depends on your application and your users. Moving from 4.5 to a later version of Apache Flex is likely to give you significant performance improvements and far less bugs. Effort required is proba

Re: [FlexJS][Maven] Simple pom with js output

2016-09-29 Thread Carlos Rovira
Hi Chris, I tried, but not worked for me, seems like is not able to find the archetype...maybe I'm missing something: I downloaded latest changes in git flexjs repos, and rebuild all 3 snapshots with maven, then create a folder to host the project a run the following inside that folder: mvn -s /

Re: [DISCUSS] Switch the site repo to GIT?

2016-09-29 Thread Carlos Rovira
I think all should be in GIT and get rid of SVN at all Don't know the reason why is still in SVN. Maybe due to restrictions at the time we migrated from SVN to GIT. 2016-09-29 10:43 GMT+02:00 Christofer Dutz : > Hi guys, > > > as you might know I have been working hard on the site-generation

Adobe Flex 4.5 > FlexJs

2016-09-29 Thread Marcos Melo
Hello gentlemen, my name is Marcos and I'm a Brazilian developer. I have a doubt about your tool and would like to know if you could help me. Nowadays I'm using, in our system, the following tools: Adobe Flex 4.5, Java, Oracle 10G. Some people here are suggesting me to change "the front end" to

AW: [FlexJS][Maven] Simple pom with js output

2016-09-29 Thread Christofer Dutz
Hi Carlos, so now' I've finished two things: a) I added a new archetype to the framework that automates setting up a new FlexJS maven project b) Tested and fine-tuned my "featue-autobuild/*" setup (extra mail on that) So in order to setup a working FlexJS maven application, all you need to

AW: [FlexJS] Maven generated site online

2016-09-29 Thread Christofer Dutz
Hi Olaf, well I think that some things belong in the Wiki and some in the Site. The wiki is definitely ideal for Howtos and stuff like that. The Site seems the better place for documentation on how to: - Build - Branch - Test - Use - ... What I'm going to do, is start writing my content

[DISCUSS] Switch the site repo to GIT?

2016-09-29 Thread Christofer Dutz
Hi guys, as you might know I have been working hard on the site-generation and this finally seems to be working nicely. The only problem I have is that I can't submit to the site repo from the Build agent as SVN isn't setup to allow that. Git however is able to commit without hard-coding crede

Re: First time user

2016-09-29 Thread OK
Do you already set up the new installed SDK with FlashBuilder? Here you found a howto [1] HTH, Olaf [1] https://cwiki.apache.org/confluence/display/FLEX/2.1+Flash+Builder -- View this message in context: http://apache-flex-development.247.n4.nabble.com/First-time-user-tp55436p55446.html S

Re: [FlexJS][Maven] Simple pom with js output

2016-09-29 Thread Carlos Rovira
Ok Chris, I'll try to setup some framework dependencies but without luck. I'll wait for your scaffolding. thanks again! :) 2016-09-29 0:07 GMT+02:00 Christofer Dutz : > In contrast to the usual setup using Ant where you simply always add all > framework SWCs, with maven you only add the ones you

Re: First time user

2016-09-29 Thread Carlos Rovira
Hi Richard, I left FB years ago, so can't say about that problem. If you are a new user, I could recommend you to use IntelliJ IDEA as a replacement if you're using Flex SDK. The support is the best out there. In case you were using FlexJS SDK, I think a better option is Visual Studio Code with

Re: Two of my Flex talks got accepted for ApacheCon EU 2016 in Ceville

2016-09-29 Thread Maxim Solodovnik
Congrats Chris, Unfortunately I'll miss this ApacheCon :((( 2016-09-29 14:30 GMT+07:00 Carlos Rovira : > That topics are very interesting! > > Congrats Chris! :)) > > Carlos > > 2016-09-29 8:17 GMT+02:00 Christofer Dutz : > > > Hi guys, > > > > > > I just wanted to tell you that two of my talks g

Re: [FlexJS] Maven generated site online

2016-09-29 Thread OK
Looks promising! Do you think it should reside parallel to the wiki or should it replace the wiki one day? Seems to me that is not so easy to find a consensus that makes everyone happy... ;-) Thanks, Olaf -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Fle

Re: Two of my Flex talks got accepted for ApacheCon EU 2016 in Ceville

2016-09-29 Thread Carlos Rovira
That topics are very interesting! Congrats Chris! :)) Carlos 2016-09-29 8:17 GMT+02:00 Christofer Dutz : > Hi guys, > > > I just wanted to tell you that two of my talks got accepted for this years > european ApacheCon Core. > > > - Apache FlexJS' Maven migration initiative - introducing the > f

Re: Two of my Flex talks got accepted for ApacheCon EU 2016 in Ceville

2016-09-29 Thread Justin Mclean
Hi, Congrats Chris - and I’ll see you there! I managed to get 3 talks selected but I didn’t submit one solely on Flex this year. My talk on forensic analysis of large code bases uses Flex and FlexJS as examples which may be of interest to people here. And perhaps there would be some interest

Re: [FlexJS] Circular dependency detected

2016-09-29 Thread OK
Thanks Alex, this is very helpful. I already solved the issue by refactoring the code. I should consult the wiki also in future before asking ;-) Thanks, Olaf -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Circular-dependency-detected-tp55396p55