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

2017-03-24 Thread Alex Harui
Peter's problem was that he didn't subset, so there was more than one deps.js which fooled the code. After subsetting, things started working for him. Your stack trace says that getProvidedFile in MXMLFlexJSPublisher.java is throwing an error. Using System.out.println to print the parameters to

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

2017-03-24 Thread sankar
Alex Harui wrote > Because the compiler is now trying to compute the order these closure > library files are presented to the Google Closure Compiler. There is > something unexpected about your setup. Do you know enough Java to add > System.out.println statements to MXMLFlexJSPublisher.java and

Re: [MAVEN-BUILD] FlexJS Framework (maven) - Build # 824 - Still Failing

2017-03-24 Thread piotrz
The other option is exclude Basic from rat check. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Re-MAVEN-BUILD-FlexJS-Framework-maven-Build-824-Still-Failing-tp60762p60763.html Sent from the Apache

Re: [MAVEN-BUILD] FlexJS Framework (maven) - Build # 824 - Still Failing

2017-03-24 Thread Piotr Zarzycki
Maven build still failing cause in folder Basic/target (stays after previous build) is one file with unproved license. One interesting question: How to perform on Basic module - clean without building ? :) - It will remove target folder from Basic and resolve problem. Piotr 2017-03-24 22:52

Re: Cloning rectangles

2017-03-24 Thread Alex Harui
On 3/24/17, 11:46 AM, "Dev LFM" wrote: >I hope they take it serious, because all "projects" are a serialization of >an entire class "Project" and posted to server as it is... then our >editors >/ content generators load that serialized "Project"... it definitely saved

Re: Cloning rectangles

2017-03-24 Thread Dev LFM
I hope they take it serious, because all "projects" are a serialization of an entire class "Project" and posted to server as it is... then our editors / content generators load that serialized "Project"... it definitely saved me a lot of time and gave me piece of mind.. on the other hand not so

Re: Cloning rectangles

2017-03-24 Thread Alex Harui
A "classic" monkey-patch of ObjectUtil would not require any changes to your other source files. Normally, you would create a folder path of mx/utils in your source tree and put the modified ObjectUtil.as in there. Then whatever changes are there would override the code in the SWC. It sounds

Re: Cloning rectangles

2017-03-24 Thread Dev LFM
Hi Alex, Its recursive when the classInfo is not an array or similar, ex: ArrayList - classInfo only catch properties like length sort etc.. I created an util for sanitize my Classes. This is a problem when cloning, so only editors apps uses them.. we have an huge ecosystem of air apps + webapps

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

2017-03-24 Thread Alex Harui
On 3/24/17, 8:44 AM, "sankar" wrote: >Hi Alex, > >There is one "deps.js" file exists inside: >E:\DevareaLocal\ApacheFlexJSFrameworkSource\closure-library-master\closure >\goog > >One thing I noticed with the newer download, I do not have any 'google' >folder inside

Re: Cloning rectangles

2017-03-24 Thread Alex Harui
I'm not sure I understand all of the pieces. cloneInternal looks like it is recursive. Do you really need to use flash.rect.Rectangle? Can you create your own Rectangle class? I would think a straight monkey-patch should have worked instead of having to rename mx.utils.Object util in your app.

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

2017-03-24 Thread sankar
Hi Alex, There is one "deps.js" file exists inside: E:\DevareaLocal\ApacheFlexJSFrameworkSource\closure-library-master\closure\goog One thing I noticed with the newer download, I do not have any 'google' folder inside js/lib/google/closure-library:

Re: Peter Ent's emails being flagged

2017-03-24 Thread Alex Harui
Carlos had a problem with Peter's email in January. I'm not sure what the answer is. -Alex On 3/24/17, 7:54 AM, "Dave Glasser" wrote: >I use Yahoo email, and it seems that the majority of Peter Ent's (and >others from this list) get routed into my spam folder. Marking the

Re: Error downloading Flex 4.16 + AIR 25

2017-03-24 Thread Alex Harui
Hi, Known issue. You can try using Ant to do the install. Someone has built a 64-bit Installer bundle that works as well. We are trying to figure out the best solution. Thanks, -Alex On 3/24/17, 3:12 AM, "hferreira" wrote: >Error downloading Flex 4.16 + AIR 25 (in

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

2017-03-24 Thread Alex Harui
Hi Santanu, I can't tell from the screenshots if the subsetting worked or not. Is there less than 30 files in that folder? Is there more than one called "deps.js"? -Alex On 3/24/17, 12:16 AM, "sankar" wrote: >Hi Alex, > >I do have a GOOG_HOME in my environment

Re: [FlexJS] How typedefs working? (was Accessing the DOM)

2017-03-24 Thread Alex Harui
Here's my understanding of this topic. TypeScript needed strong typing, and DefinitelyTyped become the home for TypeScript definitions for a library. Those definitions are not directly usable by FlexJS. Josh has a dts2as utility that can do the conversion. Google doesn't need TypeScript

Re: Cloning rectangles

2017-03-24 Thread Dev LFM
I'm sorry, my last post is buggy... I need a recursive "expensive" way to validate.. the code I posted only goes in the first level of the object, but it needs to go to all "leafs" of all "branches", so this is a no go I'm not sure yet if I completely switch Rectangle to another thing, or If

Re: [MAVEN-BUILD] FlexJS Framework (maven) - Build # 819 - Still Failing

2017-03-24 Thread piotrz
I think in dual branch Alex did some init work which look ok, but you need to ask him. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Peter Ent's emails being flagged

2017-03-24 Thread Dave Glasser
I use Yahoo email, and it seems that the majority of Peter Ent's (and others from this list) get routed into my spam folder. Marking the flagged messages as "Not Spam" seems to have no effect on subsequent mails. Is anyone else experiencing this with Yahoo email? From: Peter Ent

Re: [FlexJS] Accessing the DOM

2017-03-24 Thread Josh Tynjala
That's something I forgot about. The build of js.swc in flex-typedefs actually downloads the externs, since they're written by the Google Closure contributors. They're not stored in the repo. If you run the build, you'll be able to find the downloaded JS files that you can read. - Josh On Mar

Re: Cloning rectangles

2017-03-24 Thread Dev LFM
Using a message saying that flashplayer 25.0.0.127 is unstable, and asking to update did not work...we are receiving tons of phone call saying our software don't work.. a disaster.. On windows what I verified is that Firefox chrome 32 bits works fine, but on all official chrome (64 bit) versions

Re: [MAVEN-BUILD] FlexJS Framework (maven) - Build # 819 - Still Failing

2017-03-24 Thread Peter Ent
I deliberately didn't work on Basic because it would almost be a complete duplicate of the work in HTML. I think need to decide how to proceed here and begin to divide up the projects more. HTML has way too much in it, I think. Perhaps start a discussion thread on it again? ‹peter On 3/24/17,

Re: [FlexJS] Summary of Changes

2017-03-24 Thread Peter Ent
Updates to examples. I just pushed changes to two of the examples: DataBindingExample and DataGridExample. Use these examples to provide some guidance when making your own changes: - Change Container to Group if you can, although on the JS side, Container and Group are the same. - Employ the

Re: [MAVEN-BUILD] FlexJS Framework (maven) - Build # 819 - Still Failing

2017-03-24 Thread Piotr Zarzycki
Maven build is failing cause we need to disable Basic module build cause it not needed anymore ? It will be needed once Alex's dual branch got merge into develop ? Piotr 2017-03-24 13:24 GMT+01:00 Apache Jenkins Server : > The Apache Jenkins build system has built

Re: [FlexJS] Summary of Changes

2017-03-24 Thread piotrz
Thanks Peter! I will try MDLExamples over the weekend and see whether everything is working as it was. :) For sure some interfaces cleanup would be awesome. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: [FlexJS] Summary of Changes

2017-03-24 Thread Peter Ent
Amendment to these changes: Charts: This package should compile now, but will probably not work completely. Next on my list. MDL: This package compiles and runs the main example for me. For those of you who use MDL, I changed the classes that extended ContainerBase to extend Group instead. Since

Re: [FlexJS] Container and Layout Progress

2017-03-24 Thread Peter Ent
Things should build now. Charts will not work yet, but MDL example (at least one) now runs for me. ‹peter On 3/24/17, 2:58 AM, "Christofer Dutz" wrote: >Hi Guys, > >Well I am expecting to be able to build develop Š if there are changes >that break things, these

Error downloading Flex 4.16 + AIR 25

2017-03-24 Thread hferreira
Error downloading Flex 4.16 + AIR 25 (in middle of the process). -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Error-downloading-Flex-4-16-AIR-25-tp60739.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] How typedefs working? (was Accessing the DOM)

2017-03-24 Thread OK
harbs wrote > The compiler knows how to read Google Complier extern files. Most of the > typedefs are created from those. > > There’s actually a two-step process for generating the typedefs. It first > creates ActionScript stubs, and then generates the swc from that. It > download the extern

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

2017-03-24 Thread sankar
piotrz wrote > Post please what do you have in MDLExampleconfig.xml. I was able to build > MDLExample with following command: > > d:\flex_sdk\flexjs_nightly\js\bin\mxmlc.bat > d:\flex_sdk\flexjs_nightly\examples\flexjs\MDLExample\src\main\flex\App.mxml > -accessible=true >

Re: [FlexJS] Accessing the DOM

2017-03-24 Thread Harbs
The compiler knows how to read Google Complier extern files. Most of the typedefs are created from those. There’s actually a two-step process for generating the typedefs. It first creates ActionScript stubs, and then generates the swc from that. It download the extern files as part of the

[FlexJS] How typedefs working? (was Accessing the DOM)

2017-03-24 Thread OK
Hi, to be cleaner I've just created this new thread regarding typedefs: >No. No Adobe involved in that. It’s built by externc. Ok, maybe I'm confused about how flex-typedef is working: For instance, each lib inside the TS pendant DefinitelyTyped [1] contains a file called index.d.ts which

Re: [FlexJS] Accessing the DOM

2017-03-24 Thread OK
>No. No Adobe involved in that. It’s built by externc. Ok, maybe I'm confused about how flex-typedef is working: For instance, each lib inside the TS pendant DefinitelyTyped [1] contains a file called index.d.ts which contain all the definitions. Without knowledge of TS I could get an idea of the

Re: [FlexJS] Accessing the DOM

2017-03-24 Thread Harbs
No. No Adobe involved in that. It’s built by externc. Take a look at the flex-typedef repo to see how it’s built. > On Mar 24, 2017, at 10:42 AM, OK wrote: > > HI, > >> I’m using VS Code and Josh’s asconfig, with this asconfig.json file to > output JS: > This is really

Re: [FlexJS] Accessing the DOM

2017-03-24 Thread OK
HI, >I’m using VS Code and Josh’s asconfig, with this asconfig.json file to output JS: This is really helpful! >The type definitions in js.swc are defined in the flex-typedefs repository. I've tried to search for e.g. "HTMLElement" but found nothing. So I've taken a look into js.swc, extract

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

2017-03-24 Thread sankar
Hi Alex, I do have a GOOG_HOME in my environment variable, and it's set to something like this: E:\DevareaLocal\ApacheFlexJSFrameworkSource\closure-library-master The framework source folder structure looks like this:

Re: [FlexJS] Container and Layout Progress

2017-03-24 Thread Christofer Dutz
Hi Guys, Well I am expecting to be able to build develop … if there are changes that break things, these belong in a feature branch until they are sorted out and merged to develop as soon as things are finished. Now please fix the things that are broken in develop this time, but make sure to