Re: [FlexJS] Using Maven with Flash Builder

2017-02-02 Thread yishayw
I did disable windows defender (the built in antivirus) but I only noticed a slight difference if at all. I'm probably going to upgrade my machine because of this, but obviously we need to cater to windows developers who would rather not do that. -- View this message in context: http://apache-f

Re: [FlexJS] Using Maven with Flash Builder

2017-01-31 Thread Alex Harui
On 1/31/17, 5:49 AM, "yishayw" wrote: >Well Harbs is using a Mac which definitely runs the build faster so that >could indeed be the issue. Maybe I'll post something on github so other >people with Windows can report compile time. Thanks. Windows tends to have more virus checkers, especially

Re: [FlexJS] Using Maven with Flash Builder

2017-01-31 Thread yishayw
Well Harbs is using a Mac which definitely runs the build faster so that could indeed be the issue. Maybe I'll post something on github so other people with Windows can report compile time. Thanks. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Usi

Re: [FlexJS] Using Maven with Flash Builder

2017-01-31 Thread Christofer Dutz
Hi Yishay, Well the thing is that during compilation more VMs are spawned. I doubt this problem is related to memory as memory consumption has been quite moderate. Right now I would assume that eventually most time is lost in the OS handing filesystem operations. I remember some of my bigger pro

Re: [FlexJS] Using Maven with Flash Builder

2017-01-31 Thread yishayw
Hi All, I'm revisiting this. Given that compilation is relatively slow I'd like to try and optimize what I can. I tried increasing the java heap size [1] and excluding the output folder on my windows defender but there hasn't been a noticeable difference. I'm running windows 10 with an i5 dual

Re: [FlexJS] Using Maven with Flash Builder

2017-01-05 Thread yishayw
I'm using our application, not an example. I'm comparing the Ant and Maven run times to the app launched from a run (debug actually) configuration in FB. The Maven output is here. Ant times are similar. Most of the time is spent on compilation and dependency calculation (I removed most of the pro

Re: [FlexJS] Using Maven with Flash Builder

2017-01-05 Thread Alex Harui
On 1/5/17, 10:03 AM, "yishayw" wrote: >Hi Chris, > >I think the interesting statistic is that on the same machine the flash >build takes 6 seconds and the Js build takes 40. > >This is probably a problem with the compiler, not the build script. > Yishay, can you explain this further? The SWF

Re: [FlexJS] Using Maven with Flash Builder

2017-01-05 Thread yishayw
Hi Chris, I think the interesting statistic is that on the same machine the flash build takes 6 seconds and the Js build takes 40. This is probably a problem with the compiler, not the build script. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS

Re: [FlexJS] Using Maven with Flash Builder

2017-01-05 Thread Christofer Dutz
mmand line. Thanks for making this work. From: Christofer Dutz<mailto:christofer.d...@c-ware.de> Sent: Wednesday, January 4, 2017 9:30 PM To: dev@flex.apache.org<mailto:dev@flex.apache.org> Subject: Re: [FlexJS] Using Maven with Flash Builder H

RE: [FlexJS] Using Maven with Flash Builder

2017-01-05 Thread Yishay Weiss
work. From: Christofer Dutz<mailto:christofer.d...@c-ware.de> Sent: Wednesday, January 4, 2017 9:30 PM To: dev@flex.apache.org<mailto:dev@flex.apache.org> Subject: Re: [FlexJS] Using Maven with Flash Builder Hi all, I just pushed some updates to the “flexjs-simple-application-a

Re: [FlexJS] Using Maven with Flash Builder

2017-01-04 Thread Carlos Rovira
Hi Chris, very useful update, I'm sure I will try it soon Thanks! :) 2017-01-04 20:29 GMT+01:00 Christofer Dutz : > Hi all, > > I just pushed some updates to the “flexjs-simple-application-archetype”. > I noticed that the example didn’t correctly package the output of the JS > build as a war fil

Re: [FlexJS] Using Maven with Flash Builder

2017-01-04 Thread Christofer Dutz
Hi all, I just pushed some updates to the “flexjs-simple-application-archetype”. I noticed that the example didn’t correctly package the output of the JS build as a war file to the maven build, but that’s fixed now. Also I added two new archetypes: “flexjs-simple-application-pure-js-archetype”

Re: [FlexJS] Using Maven with Flash Builder

2017-01-04 Thread Christofer Dutz
Hi Yishay, I’ll try and add a new archetype for your usecase this evening. Chris Am 04.01.17, 15:41 schrieb "yishayw" : I tried that, but I'm getting: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.5 .2:install (default-install) on project pr

Re: [FlexJS] Using Maven with Flash Builder

2017-01-04 Thread yishayw
I tried that, but I'm getting: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.5 .2:install (default-install) on project printui: The packaging for this project did not assign a file to the build artifact -> [Help 1] Here's [1] my up2date pom. [1] https://paste.apa

Re: [FlexJS] Using Maven with Flash Builder

2017-01-04 Thread Christofer Dutz
In your case, just omit the entire executions block and add the “configuration” element to the direct plugin configuration … so just delete: compile-javascript compile compile-app a

Re: [FlexJS] Using Maven with Flash Builder

2017-01-04 Thread yishayw
Christofer Dutz wrote > Ok … then just add a configuration option: > > > true > > That should switch from Flash to Javascript Below is my node. As you can see, it's got a single execution which already has true. The problem is default flash execution which I can't seem to confi

Re: [FlexJS] Using Maven with Flash Builder

2017-01-04 Thread Christofer Dutz
Ok … then just add a configuration option: true That should switch from Flash to Javascript Chris Am 04.01.17, 13:00 schrieb "yishayw" : Christofer Dutz wrote > Right now the only way I see is to not set the parent to the examples > parent and to configure all the man

Re: [FlexJS] Using Maven with Flash Builder

2017-01-04 Thread yishayw
Christofer Dutz wrote > Right now the only way I see is to not set the parent to the examples > parent and to configure all the manual way. > om the Apache Flex Development mailing list archive at Nabble.com. As far as I know, I'm not setting the parent to the examples parent. I'm using the pom ge

Re: [FlexJS] Using Maven with Flash Builder

2017-01-04 Thread Christofer Dutz
Hi, Well I think I should eventually rework the example configuration a little and eventually introduce a “skip” option, which I thought was in there to disable things. Right now the only way I see is to not set the parent to the examples parent and to configure all the manual way. Chris Am 0

Re: [FlexJS] Using Maven with Flash Builder

2017-01-04 Thread yishayw
Christofer Dutz wrote > When using a packaging of type swf (as is with all examples) the > flexjs-maven-plugin automatically defines a default execution. The default > for this is building an SWF (I am considering on changing the default to > building the JS version per default). If you go up two p

Re: [FlexJS] Using Maven with Flash Builder

2017-01-04 Thread Christofer Dutz
Hi, 1) Well 40 Seconds still sounds quite long … wonder why. 2) I currently setup the examples to always build the swf and the js version. This is done by running the compiler twice. In Maven a plugins execution is called an “execution”. When using a packaging of type swf (as is with all examp

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread yishayw
1) tue worked and got it down to 40 seconds. 2) Tried mvn package, but didn't notice a significant difference in build time. 3) You're right, the swcs are copied, not compiled. I still don't see how to compile js without flash? I looked in Carlos' MDL example, but I couldn't figure it out from the

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread Christofer Dutz
Yeaaahhh … actually Carlos is right … I meant to say “Hi Carlos” ;-) Chris Am 03.01.17, 21:16 schrieb "carlos.rov...@gmail.com im Auftrag von Carlos Rovira" : I think Chris, wanted to say "Hi Carlos" instead of "Hi Om" right? :) 2017-01-03 19:45 GMT+01:00 OmPr

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread Carlos Rovira
I think Chris, wanted to say "Hi Carlos" instead of "Hi Om" right? :) 2017-01-03 19:45 GMT+01:00 OmPrakash Muppirala : > On Tue, Jan 3, 2017 at 8:25 AM, Christofer Dutz > > wrote: > > > Hi Om, > > > > Well this should be the default, so if you set “debug=false” or simply > > omit the setting,

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread OmPrakash Muppirala
On Tue, Jan 3, 2017 at 8:25 AM, Christofer Dutz wrote: > Hi Om, > > Well this should be the default, so if you set “debug=false” or simply > omit the setting, the debug and the release version should be created. > Chris, what is the context, or did you refer to me by mistake? Thanks, Om > > C

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread Christofer Dutz
Hi Om, Well this should be the default, so if you set “debug=false” or simply omit the setting, the debug and the release version should be created. Chris Am 03.01.17, 16:52 schrieb "carlos.rov...@gmail.com im Auftrag von Carlos Rovira" : Thanks Chris, Ok, so I'm creating the def

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread Carlos Rovira
Thanks Chris, Ok, so I'm creating the default debug release, (without true) So, what's the way to tell maven to create the release version? Thanks 2017-01-03 14:46 GMT+01:00 Christofer Dutz : > Hi Carlos, > > As far as I understand things is, that the compiler automatically produces > the deb

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread Christofer Dutz
Hi Carlos, As far as I understand things is, that the compiler automatically produces the debug version as default output. When doing a release build, this debug output is passed to the closure compiler which produces the release version from that. So you can disble the release compilation, but

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread Carlos Rovira
Hi Chris, about true, I don't have it in MDLExample, but I'm always creating a debug version...maybe is set in a parent pom? 2017-01-03 12:14 GMT+01:00 Christofer Dutz : > Hi, > > 1) If you add “true” to the configuration of the > flexjs-maven-plugin it will not do the release compilation. > 2)

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread Christofer Dutz
Hi, 1) If you add “true” to the configuration of the flexjs-maven-plugin it will not do the release compilation. 2) Haven’t experimented too much with that, but a “mvn package” should do something like that 3) You shouldn’t need to compile the framework in order to build an application. Maven d

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread Carlos Rovira
Hi Yishayw, MDLExample is 6.2sec in my macbookpro MaterialDesginLibrary.swc is 6.1sec and so on, Maybe your app has a lot of classes and code, and goes up to 1 min... 1) I only compile JS (you can check MDLExample) 2) don't know about this, maybe others... 3) Yes. You pass "mvn clean install" in

Re: [FlexJS] Using Maven with Flash Builder

2017-01-03 Thread yishayw
Using the correct artifactId the stub was created. I changed , and , added some framework dependencies, and I now have our app compiling in maven. The build is still to slow to my liking (1 minute on my machine). So I have some questions: 1) Can I compile to JS debug only (no release, no flash)?

Re: [FlexJS] Using Maven with Flash Builder

2017-01-02 Thread Christofer Dutz
The name of the artifactId is flexjs-simple-application-archetype (notice the additional “-simple” in there?) Hope I didn’t change the name after publishing anything on it. Chris Am 02.01.17, 11:12 schrieb "yishayw" : Ok, I don't mind using the command line to build. How do I create a minim

Re: [FlexJS] Using Maven with Flash Builder

2017-01-02 Thread Alex Harui
Copy a pom.xml from flex-asjs/examples/flexjs/DataBindingExample or FlexJSStore or MDLExample. Then run: mvn clean install And adjust the pom as needed. -Alex On 1/2/17, 2:12 AM, "yishayw" wrote: >Ok, I don't mind using the command line to build. How do I create a >minimal >FlexJS project?

Re: [FlexJS] Using Maven with Flash Builder

2017-01-02 Thread yishayw
Ok, I don't mind using the command line to build. How do I create a minimal FlexJS project? What is the minimal pom.xml? Reading a thread you and Chris has on the subject, I tried doing this: C:\dev\printui\project>mvn -s C:\dev\mvn_flexjs\flex-asjs\settings-template.xml archetype:generate -Darc

Re: [FlexJS] Using Maven with Flash Builder

2016-12-28 Thread Carlos Rovira
Hi Alex, FWIK, Maven support for eclipse was never working for Flex, that was the main reason at Codeoscopic we changed from FB to IntelliJ IDEA that had full maven support. I suppose that due to the deprecated state of FB since 6-7 years from now, the situation right now must be critical for that

Re: [FlexJS] Using Maven with Flash Builder

2016-12-28 Thread Alex Harui
Like Carlos, when I'm doing Maven builds I only use my IDE (Flash Builder) as a code editor and build from the command line. If you are interested in exploring Maven and Flash Builder further, feel free to do so. Flash Builder is based on Eclipse and I believe the version of Eclipse bundled with

Re: [FlexJS] Using Maven with Flash Builder

2016-12-28 Thread Carlos Rovira
Hi Yishaw, great you upload to the maven train ;) > 1) Build a Flash Builder (e.g. DataBindingExample) project with maven, JS > version. > I can't help you here since I'm not using FB for several years now since it's a deprecated IDE no longer maintained for Adobe. I recommend you to go with V