Re: Getting ready for the refactor-sprite merge (was Re: [FlexJS] HTMLElementWrapper extending Sprite)

2016-11-06 Thread yishayw
Done. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Getting-ready-for-the-refactor-sprite-merge-was-Re-FlexJS-HTMLElementWrapper-extending-Sprite-tp56053p56330.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Stuck with Images vía CSS

2016-11-06 Thread Alex Harui
Can the resources plugin run after the compiler? -Alex On 11/6/16, 11:04 PM, "Christofer Dutz" wrote: >Hi Carlos, > >I found the cause for the problem. > >The thing is that the resources plugin correctly copies stuff to the >target directory. Unfortunately the first thing the flexjs compiler do

Re: [FlexJS] Stuck with Images vía CSS

2016-11-06 Thread Christofer Dutz
Hi Carlos, I found the cause for the problem. The thing is that the resources plugin correctly copies stuff to the target directory. Unfortunately the first thing the flexjs compiler does is clean the output directory. In order to solve this, I would like to have the clean code separated from t

Re: [FlexJS/Falcon] Build concerns

2016-11-06 Thread piotrz
Carlos, As for the FlexJS build. I spent most of the day analyzing installer version VS. maven distribution build version. "-s settings-template.xml -Drat.skip=true -DdistributionTargetFolder=distribution-flexjs -P build-distribution clean install" To achieve simplicity I wanted to point distrib

Re: [FlexJS/Falcon] Build concerns

2016-11-06 Thread piotrz
Josh, Carlos, I thought that it is working like that: - asconfig.json - is triggering build with source map - tasks.json - is launching build using asconfig.json So my understanding was that if I change tasks.json to maven I will be in some way build everything two times. - Apache Flex PM

Re: [FlexJS] how to set an id in html tag

2016-11-06 Thread Harbs
We recently had a discussion on the topic: https://lists.apache.org/thread.html/15ab40496bb1d2b9c69a670bdc82deaa3efb9a9c157cfdb6dcfd2b1a@%3Cdev.flex.apache.org%3E On Nov 7, 2016, at 7:44 AM, Alex Harui wrote: > > > On 11/6/16, 3:57 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > wr

Re: [FlexJS] how to set an id in html tag

2016-11-06 Thread Alex Harui
On 11/6/16, 3:57 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi > >I need to set and id in a HTML: > > > > >in flexjs I have >but as normal id is not propagated to the js side. I think that's a bug. The id should be passed to the element. I was surprised that it isn't.

Re: [FlexJS] How to manage className correctly

2016-11-06 Thread Alex Harui
On 11/6/16, 3:19 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi, > >className in flexjs translates to class. >There's as well typeNames. > >If I write a component that uses some css class (in its definition), but I >want to add some new css rule in app instantiation...what'

Re: Getting ready for the refactor-sprite merge (was Re: [FlexJS] HTMLElementWrapper extending Sprite)

2016-11-06 Thread Alex Harui
On 11/6/16, 9:33 AM, "yishayw" wrote: >I don't see it here >TML/src/main/flex/org/apache/flex/core/Application.as> >, or even locally when following renames. Do you remember where it was >implemented? Hmm. I could sw

Re: 4.16 SDK release

2016-11-06 Thread Justin Mclean
Hi, There is also a TLF regression issue involving binding [1] that looks like it been broken for a few versions. Can someone please take a look at that. Thanks, Justin 1. https://issues.apache.org/jira/browse/FLEX-34943

[FlexJS] how to set an id in html tag

2016-11-06 Thread Carlos Rovira
Hi I need to set and id in a HTML: in flexjs I have but as normal id is not propagated to the js side. I need this to connect to MDL objects (a button and a menu, the button opens the menu based on the id of the button. the menu is an ul with a special mdl attribute sets to the button id) Y

[FlexJS] How to manage className correctly

2016-11-06 Thread Carlos Rovira
Hi, className in flexjs translates to class. There's as well typeNames. If I write a component that uses some css class (in its definition), but I want to add some new css rule in app instantiation...what's the recommended way to manage this situation? should I override the className UIBase meth

Re: [FlexJS/Falcon] Build concerns

2016-11-06 Thread Carlos Rovira
Hi Piotr, from binaries you refer to the flexjs sdk? as I run maven, in my project all is manages by maven... so I can download changes as others commits to Git and integrate and rebuild. Don't know if this is what you 're asking I download as well through installer, but only some time to test som

Re: [FlexJS/Falcon] Build concerns

2016-11-06 Thread Carlos Rovira
Hi, just get it thanks to Josh indications :) This is the tasks.json I use to build MDLEXample from VS Code/Next Gen with CTRL+CMD+B { "version": "0.1.0", "command": "mvn", "args": ["clean", "install", "-DskipTests"], "isShellCommand": true, "showOutput": "always" } :))) 2016-11-06 23:01 GM

Re: [FlexJS/Falcon] Build concerns

2016-11-06 Thread Josh Tynjala
When you mention building through a plugin the second time, which plugin are you referring to? I'm not sure that I follow. - Josh On Sun, Nov 6, 2016 at 1:32 PM, piotrz wrote: > Josh, > > I was thinking in that way, but let's say that I will run maven pom through > tasks.json - Will it means th

Re: [FlexJS/Falcon] Build concerns

2016-11-06 Thread piotrz
Josh, I was thinking in that way, but let's say that I will run maven pom through tasks.json - Will it means that project will build 2 times? One from tasks.json, the second time through plugin with source map parameter ? Am I thinking wrong ? Carlos, Yes I did my first small fix on your branch.

Re: [FlexJS/Falcon] Build concerns

2016-11-06 Thread Josh Tynjala
To run Maven from tasks.json, set the command field to mvn, and add any additional arguments that you need to the args field. - Josh On Sun, Nov 6, 2016 at 1:12 PM, Carlos Rovira wrote: > Hi Piotr, > > you can check MDLExample (I think you already did since I saw a commit from > you on mdl bran

Re: [FlexJS/Falcon] Build concerns

2016-11-06 Thread Carlos Rovira
Hi Piotr, you can check MDLExample (I think you already did since I saw a commit from you on mdl branch). That project has VSCode/NextGen configs. I would want to give spend some time looking on how to get tasks.json use maven to build when press CTRL+CMD+B. I read in VSCode that ships with a mave

Re: FlexJS node modules

2016-11-06 Thread Josh Tynjala
The compiler checks if a class has [JSModule] metadata. If you create a typedef SWC for the node-zip module, and include that metadata, the compiler will automatically add require() calls when you use the module. The externc utility in the SDK has a named-module option that you can use to specify

FlexJS node modules

2016-11-06 Thread Harbs
I’m trying to wrap my head around how FlexJS works with node. My understanding is you can just do something like this: fs.existsSync(path) and the necessary fs = require(‘fs’); will automatically be output. How does this work with external node modules? Let’s say for example I’d want to use nod

Re: [github] Authentication failed

2016-11-06 Thread Josh Tynjala
You should probably be pushing to Apache servers instead of Github. No need for Subversion, unless you're working on the website. - Josh On Nov 6, 2016 11:55 AM, "OK" wrote: > Hi, > I've tried to push the FontAwesome update to the release4.16.0 branch but I > end up with a auth/403 error. > I

Re: [FlexJS/Falcon] Build concerns

2016-11-06 Thread Josh Tynjala
Your asconfig.json looks good to me! Sometimes people follow my HTML tutorials, and then the options are wrong for using FlexJS components. You have it configured correctly, though. I guess something must be wrong or missing in the SDK. - Josh On Nov 6, 2016 9:30 AM, "piotrz" wrote: > Hi Josh,

Re: [FlexJS] Stuck with Images vía CSS

2016-11-06 Thread Carlos Rovira
@Alex, thanks for looking into this @Chris, I tried to copy from commit a07e0a2e34c8b749f9cb3009860a9a3e34942621 ${basedir}/target/javascript/bin/js-debug and org.apache.maven.plugins maven-resources-plugin 3.0.1 ${co

[github] Authentication failed

2016-11-06 Thread OK
Hi, I've tried to push the FontAwesome update to the release4.16.0 branch but I end up with a auth/403 error. I remember that I was able to commit a test-commit a few months ago but it seems that my head is completely resetted. I've no idea how I achvieved this in those days. What I've done so far

Re: [FlexJS/Falcon] Build concerns

2016-11-06 Thread piotrz
Ok I gave up. I can't figure out what is missing in distribution folder that I cannot build through VS Code project... However I have found couple of things and don't know where to fix them. Once maven generate distribution folder: 1) I have wrong name of playerglobal folder: "distribution\mydis

Re: Getting ready for the refactor-sprite merge (was Re: [FlexJS] HTMLElementWrapper extending Sprite)

2016-11-06 Thread yishayw
I don't see it here , or even locally when following renames. Do you remember where it was implemented? -- View this message in context: http://apache-flex-develop

Re: [FlexJS/Falcon] Build concerns

2016-11-06 Thread piotrz
Hi Josh, It looks like that -> https://paste.apache.org/3C3G Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Falcon-Build-concerns-tp56292p56304.html Sent from the Apache Flex Development mailin

Re: AW: 4.16 SDK release

2016-11-06 Thread OmPrakash Muppirala
On Nov 6, 2016 6:35 AM, "Alex Harui" wrote: > > Om has already started on this. Interestingly, he was able to "unzip" the > DMG. Not sure what that means. > > I'm told that there is an hdiutil tool that unpacks DMG files, but I > haven't tried it. > > HTH, > -Alex > > On 11/6/16, 3:44 AM, "Chris

Re: [FlexJS/Falcon] Build concerns

2016-11-06 Thread Josh Tynjala
What does your asconfig.json look like? - Josh On Nov 6, 2016 8:08 AM, "piotrz" wrote: > Chris, > > You are right. Typedefs swcs are in externs folder, so there is something > else missing which occurs that VS Code plugin do not recognize FlexJS as an > framework. > > Piotr > > > > - > Apac

Re: Getting ready for the refactor-sprite merge (was Re: [FlexJS] HTMLElementWrapper extending Sprite)

2016-11-06 Thread Alex Harui
The log should show that application implements that interface Sent from my LG G3, an AT&T 4G LTE smartphone -- Original message-- From: yishayw Date: Sun, Nov 6, 2016 7:28 AM To: dev@flex.apache.org; Subject:Re: Getting ready for the refactor-sprite merge (was Re: [FlexJS] HTMLElementWr

Re: [FlexJS/Falcon] Build concerns

2016-11-06 Thread piotrz
Chris, You are right. Typedefs swcs are in externs folder, so there is something else missing which occurs that VS Code plugin do not recognize FlexJS as an framework. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247

Re: Getting ready for the refactor-sprite merge (was Re: [FlexJS] HTMLElementWrapper extending Sprite)

2016-11-06 Thread yishayw
I just did a smoke test on our using the merged branch. On the JS side it looks good, but the swf side fails because now expects the strand to be an IInitialViewApplication. Looking at the asjs files, I can't see any IInitialViewApplication implementers. Do you think Application.as should be such

Re: [FlexJS] Stuck with Images vía CSS

2016-11-06 Thread Christofer Dutz
Hi Carlos, have a look at my feature branch where I cleaned up the directory structure of the examples. I also separated the resources and configured the maven-resource-plugin to copy the resources. Unfortunately I am currently not able to build that branch due to some really strange compilatio

Re: [FlexJS/Falcon] Build concerns

2016-11-06 Thread Christofer Dutz
Well I’m just doing a „mvn clean install“ with the profiles I need activated. Nothing magic to that. If you’re refering to my claim to debug in IntelliJ I was wrong. I was talking about debugging the compiler and not the applications built with FlexJS. I am currently not doing any FlexJS develop

Re: [FlexJS/Falcon] Build concerns

2016-11-06 Thread Christofer Dutz
Hi Piotr, I already added them ... so they are already built. So maven builds these jars and the distribution then pulls them in and places them in the libs directory. In my distribution, I can see the externs directory containing the typedefs. So if they don’t exist in your distribution, somet

Re: AW: 4.16 SDK release

2016-11-06 Thread Alex Harui
Om has already started on this. Interestingly, he was able to "unzip" the DMG. Not sure what that means. I'm told that there is an hdiutil tool that unpacks DMG files, but I haven't tried it. HTH, -Alex On 11/6/16, 3:44 AM, "Christofer Dutz" wrote: >... Bloody mobile auto correction ... The

Re: [FlexJS] Stuck with Images vía CSS

2016-11-06 Thread Alex Harui
This is next in my queue after I get the MapSearch example running again. Thanks, -Alex On 11/6/16, 3:50 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi, > >I'm was expending several hours to get FlexJS MDLExample to get images vía >CSS with no luck. > >I think we need to gi

[FlexJS/Falcon] Build concerns

2016-11-06 Thread piotrz
Hi Carlos, I've said in previous thread that you are building everything in maven. How are you actually doing it ? I was able to setup VS Code and run ChartExample in debugging mode with source map, but build is doing for me: asconfig.json. - How it looks like in your setup ? Piotr - Apach

[FlexJS/Falcon] Build concerns

2016-11-06 Thread piotrz
Hi Chris, I would like to talk more about those dummy jars which you have added to repo. When you have added them will build run each pom inside those folders and copy to my distribution folder ? I see for example that flex-typedefs is not inside my distribution folder - maybe it is a matter of c

[FlexJS] Stuck with Images vía CSS

2016-11-06 Thread Carlos Rovira
Hi, I'm was expending several hours to get FlexJS MDLExample to get images vía CSS with no luck. I think we need to give some love to CSS image management since this is basic. Not always people should use an Image component to show an image. Some times a Container needs a background image and rig

AW: 4.16 SDK release

2016-11-06 Thread Christofer Dutz
... Bloody mobile auto correction ... The installer ;-) Von meinem Samsung Galaxy Smartphone gesendet. Ursprüngliche Nachricht Von: Christofer Dutz Datum: 06.11.16 13:16 (GMT+01:00) An: dev@flex.apache.org Betreff: AW: 4.16 SDK release Hi Justin, Well if the straggler can

AW: 4.16 SDK release

2016-11-06 Thread Christofer Dutz
Hi Justin, Well if the straggler can invoke command-line stuff, I would suggest to go down that path. Chris Von meinem Samsung Galaxy Smartphone gesendet. Ursprüngliche Nachricht Von: Justin Mclean Datum: 06.11.16 12:43 (GMT+01:00) An: dev@flex.apache.org Betreff: Re: 4.16

Re: 4.16 SDK release

2016-11-06 Thread Justin Mclean
Hi Chis,’ Much appreciated. See you’ve already trodden this path and way ahead of us. Any suggestions on how to solve this with a minimal amount of work in the next few weeks? Thanks, Justin

Re: 4.16 SDK release

2016-11-06 Thread Christofer Dutz
Hi Justin, I also had a look at 7zip ... this supports unpacking of dmgs, but in order to do so inside java, there was one 7zip wrapper library, that included the 7zip binaries. Unfortunately the wrapper didn’t support the dmg file type. I opened an issue there, but that’s not resolved yet [1].

AW: 4.16 SDK release

2016-11-06 Thread Christofer Dutz
It's only difficult I'd you want to implement it platform independent. If you only need to unpack dmgs on Macs, you should be fine to use the os features on the command-line. Unfortunately the mavenizer allows producing Mac packages on Windows fire example, that was the problem. Chris Von m

Re: 4.16 SDK release

2016-11-06 Thread Justin Mclean
Hi, This [1] may support it I guess and it supports LZMA/has limited support for 7Zip [2]. Is anyone will to volunteer to take this issue / work on? Thanks, Justin 1. https://commons.apache.org/proper/commons-compress/ 2. https://commons.apache.org/proper/commons-compress/examples.html

Re: 4.16 SDK release

2016-11-06 Thread Justin Mclean
Hi, > The AIR SDK is handled in installer.xml. The Installer is just an Ant engine > with a GUI. From what I understand we would need to add support to unpack DMG files to the installer. Chris said he looked into this and it was difficult. I guess we could use an Apache licensed compatible an