Re: [FlexJS/Falcon] Build concerns

2016-11-08 Thread Alex Harui
The link looks like a screenshot that is cutoff to me. I don't see an explicit error. Can you paste text again? -Alex On 11/7/16, 10:09 PM, "piotrz" wrote: >Carlos, > >I just used your script in VS Code. It's started compiling without the >problem, but I'm getting some error. [1] It's mean th

Re: [FlexJS/Falcon] Build concerns

2016-11-08 Thread piotrz
Thanks Chris for reminding me about that. I wasn't work with maven too long. :) Now it's clear and my setup is correct. Basically it will look similar to Harbs. 1) Let say that I will change something in FlexJS 2) Rebuild it using maven 3) Build example or my project by maven and observer error o

Re: [FlexJS/Falcon] Build concerns

2016-11-08 Thread Christofer Dutz
Hi All, it’s even simpler. In general whatever you build, is stored in the maven local repo. So if you only change something in the compiler-jx, you only need to rebuild that. If you want to update the distribution, you run that build. Also if you want, you can force Maven to update the SNAPS

Re: [FlexJS/Falcon] Build concerns

2016-11-07 Thread Alex Harui
On 11/7/16, 10:18 PM, "piotrz" wrote: >Josh, Alex, > >If maven distribution binaries won't be usable in IDE, it will increase >time >of fixing bugs in FlexJS. > >Let say that I know in FlexJS is some bug. > >1) I'm changing code in FlexJS >2) I have to push this to repository - Jenkins build it

Re: [FlexJS/Falcon] Build concerns

2016-11-07 Thread Harbs
The way I have my system setup for framework development using ant is a two step process: I have a nightly build of the SDK which I use for development of projects. 1. I build the frameworks using ant. 2. I have a shell script which copies the new swcs and Falcon binaries to the correct location

Re: [FlexJS/Falcon] Build concerns

2016-11-07 Thread piotrz
Josh, Alex, If maven distribution binaries won't be usable in IDE, it will increase time of fixing bugs in FlexJS. Let say that I know in FlexJS is some bug. 1) I'm changing code in FlexJS 2) I have to push this to repository - Jenkins build it for me - I have to wait for propagation of artifact

Re: [FlexJS/Falcon] Build concerns

2016-11-07 Thread piotrz
Carlos, I just used your script in VS Code. It's started compiling without the problem, but I'm getting some error. [1] It's mean that compiler can't compile something ? [1] https://paste.apache.org/klm5 Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: [FlexJS/Falcon] Build concerns

2016-11-07 Thread Alex Harui
On 11/7/16, 3:08 PM, "Josh Tynjala" wrote: >Doesn't a Maven build ultimately produce the same SDK that the Flex >installer produces? I think Chris is trying to make that happen, but no, Maven builds are not required to support IDE usage. Maven has a whole different naming scheme for SWCs and

Re: [FlexJS/Falcon] Build concerns

2016-11-07 Thread Josh Tynjala
Doesn't a Maven build ultimately produce the same SDK that the Flex installer produces? Surely, it's expected to work with Flash Builder, IntelliJ IDEA, and other IDEs, so it can't be all that different. I guess the VSCode extension could be making extra assumptions that these IDEs do not, and I ca

Re: [FlexJS/Falcon] Build concerns

2016-11-07 Thread Carlos Rovira
Hi Josh, maybe the VSCode extension could help here, if we could configure a compiler from a downloaded sdk or the compiler from maven in .m2 repository. So people could choose one flavor or another. Could this be possible? thanks 2016-11-07 15:37 GMT+01:00 Josh Tynjala : > The only build tha

Re: [FlexJS/Falcon] Build concerns

2016-11-07 Thread Josh Tynjala
The only build that happens is triggered by tasks.json. Ideally, you'd use the asconfigc utility so that it uses the same compiler settings as the VSCode extension. However, you're free to run the compiler directly, or a build script like Maven or Ant instead. The extension looks for asconfig.json

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/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/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/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: [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: [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: [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: [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: [FlexJS/Falcon] Build concerns

2016-11-05 Thread Christofer Dutz
Hi Piotr, well I updated everything that I got reported from missing. It would be great if someone could help review what’s still missing. I would be more than happy to get the Maven distribution to match that of the Ant build ☺ Chris Am 05.11.16, 17:06 schrieb "piotrz" : Yeah! Local hi

Re: [FlexJS/Falcon] Build concerns

2016-11-05 Thread piotrz
Yeah! Local history it's something which I really miss when I'm working in Visual Studio :( Chris I just pull it from repo, rebuild FlexJS and result is same. I'm putting everything to distribution folder: -s settings-template.xml -Drat.skip=true -DdistributionTargetFolder=distribution-flexjs -P b

Re: [FlexJS/Falcon] Build concerns

2016-11-05 Thread Christofer Dutz
Ok ... Long live the IntelliJ local history ;-) I just retrieved the poms from the history and added them to the develop branch. If you update and give it another try it should match a valid FDK a little more. Chris Am 05.11.16, 16:41 schrieb "Christofer Dutz" : Hi Piotr, current

Re: [FlexJS/Falcon] Build concerns

2016-11-05 Thread Christofer Dutz
Hi Piotr, currently there should be the dummy jars mitting. I already added them to the build, but after all my merging stuff I can’t find them anymore so I will have to re-add them. Chris Am 05.11.16, 16:11 schrieb "piotrz" : I've decided change subject to more appropriate. I wa