Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2017-02-02 Thread Alex Harui
On 2/2/17, 10:59 AM, "Christofer Dutz" wrote: >Hi Alex, > >I was going to suggest something down the path of: creating the primary >artifact which contains library.swf and library-is.swf. We could use >these in Ant, Maven and newer IDEs and additionally continue to

AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2017-02-02 Thread Christofer Dutz
n: dev@flex.apache.org Betreff: Re: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order) I'm going to try to respond to both you and Carlos. IMO, there are "Application Developers" (AppDevs) and "Component/Framework Developers" (CompDevs). T

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2017-02-01 Thread Alex Harui
We are already producing two SWCs per library. For Core, there is Core.swc and CoreJS.swc. I think in Maven we call CoreJS an externs SWC. Right now you can build your application by just referencing Core.swc, since it contains the .JS files, but it contains Class definitions that are based on

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2017-02-01 Thread piotrz
.n4.nabble.com/FALCONJX-Combining-SWF-and-JS-compilers-was-Re-AW-FalconJX-FlexJS-COMPJSC-and-Build-order-tp55624p58914.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2017-02-01 Thread Christofer Dutz
Hi Carlos, In that case they belong into separate modules. Besides this being work, what other reason would there be to keep them in the same module? Producing two primary artifacts for one module is actually not discussable if we want to keep Maven support working cleanly without hacks.

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2017-02-01 Thread Carlos Rovira
Hi Chris 2017-02-01 11:34 GMT+01:00 Christofer Dutz : > Hi guys, > > I’d love to see basic go away. I already excluded it from the maven > distribution to avoid problems in IntelliJ. > > But, if my proposal of separating flexjs components from basic html tags are ok,

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2017-02-01 Thread Christofer Dutz
Hi guys, I’d love to see basic go away. I already excluded it from the maven distribution to avoid problems in IntelliJ. Didn’t see that “question 3” … what would these two swcs be? I am asking because Maven has the concept of one primary artifact per module. We are currently producing one

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2017-02-01 Thread Carlos Rovira
HI Alex, 2017-01-31 18:41 GMT+01:00 Alex Harui : > OK, I have something working. It is in the "dual" branch I just pushed. > great :) > But there is a catch: MXMLJSC requires Java 7 or greater and Flash > Builder is packaged with Java 6. So, in order to use this

AW: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2017-01-31 Thread Christofer Dutz
Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order) On 1/31/17, 12:43 PM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote: >Would it be a valid compromise to have two Cordova outputs … one that >dumps the confi

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2017-01-31 Thread Alex Harui
On 1/31/17, 12:43 PM, "Christofer Dutz" wrote: >Would it be a valid compromise to have two Cordova outputs … one that >dumps the config.xml and one that also runs Cordova? >I could live with that. Then I could continue to run Cordova in the >packaging phase. Is

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2017-01-31 Thread Christofer Dutz
Would it be a valid compromise to have two Cordova outputs … one that dumps the config.xml and one that also runs Cordova? I could live with that. Then I could continue to run Cordova in the packaging phase. Chris Am 31.01.17, 21:23 schrieb "Alex Harui" : On

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2017-01-31 Thread Alex Harui
On 1/31/17, 11:51 AM, "Christofer Dutz" wrote: >So if I understand you correctly, FlexJS would be outputting an >“apk”-file because it invokes Cordova internally? > >I would vote -1 on that. > >The problem here is that we are tightly coupling FlexJS and Cordova. We

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2017-01-31 Thread Christofer Dutz
So if I understand you correctly, FlexJS would be outputting an “apk”-file because it invokes Cordova internally? I would vote -1 on that. The problem here is that we are tightly coupling FlexJS and Cordova. We then have one execution, that does generation, compilation and packaging (Maven

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2017-01-31 Thread Alex Harui
On 1/31/17, 10:16 AM, "Christofer Dutz" wrote: >Hi Alex, > >I’ll have a look at the changes and eventually try to prepare the maven >plugin for these changes. In theory, MXMLJSC is backwards compatible. I will try to remember to make sure of that before merging to

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2017-01-31 Thread Christofer Dutz
Hi Alex, I’ll have a look at the changes and eventually try to prepare the maven plugin for these changes. Just to be on the safe side … with “cordova” you mean producing a directory that I can pass into cordova. Not include the cordova functionality in Flex, correct? Chris Am 31.01.17,

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2017-01-31 Thread Alex Harui
OK, I have something working. It is in the "dual" branch I just pushed. I added a -compiler.targets option. It allows you to specify a list of targets. I am deprecating -js-output-type. It should still work for now, but it only specified a single output for JS compilation. With

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2017-01-13 Thread Alex Harui
>> >>>On 10/7/16, 12:14 AM, "Christofer Dutz" ><christofer.d...@c-ware.de> >>wrote: > >> > >>>I would like to propose a different approach: >>>> >>>> >>

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2016-12-05 Thread Christofer Dutz
t;that path, I would rather suggest to refactor the compiler to allow >>>dynamic adding of alternate compilers. Currently the supported >compilers >>>are limited by the JsOutputType enum. If we however used something >like >>>the Java service thing I used for

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2016-12-05 Thread Alex Harui
Currently the supported >compilers > >>are limited by the JsOutputType enum. If we however used something >like > >>the Java service thing I used for the Flex Tool Groups, we could >allow >>>new experiments to start in dedicated Jars and we wouldn

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2016-12-05 Thread Christofer Dutz
d and what is left behind. >>>> >>>> 2016-10-06 23:12 GMT+02:00 Christofer Dutz >>>><christofer.d...@c-ware.de>: >>>> >>>> > I stumble over tons of VF2JS classes and think it would be better to >>>>mo

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2016-12-02 Thread Alex Harui
;>Flex >>>> > framework, but I don't know the details. >>>> > >>>> > - Josh >>>> > >>>> > On Thu, Oct 6, 2016 at 12:10 AM, Christofer Dutz < >>>> > christofer.d...@c-ware.de> >>>> > wro

Re: AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2016-10-07 Thread Alex Harui
someone wants to try something out. > > >Chris > > >Von: Alex Harui <aha...@adobe.com> >Gesendet: Freitag, 7. Oktober 2016 00:25:30 >An: dev@flex.apache.org >Betreff: Re: [FALCONJX] Combining SWF and JS compilers (was Re: AW: >[FalconJX][FlexJS] COMPJSC and Build or

AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2016-10-07 Thread Christofer Dutz
aha...@adobe.com> Gesendet: Freitag, 7. Oktober 2016 00:25:30 An: dev@flex.apache.org Betreff: Re: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order) +1. Bonus points for making a tag and/or branch before deleting. -Alex On 10/6/16, 3:02 PM,

AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2016-10-06 Thread Christofer Dutz
ff: Re: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order) JSC is meant to be purely an ActionScript to JavaScript transpiler without any frameworks. By default, it doesn't export an HTML file, but it will optionally support custom HTML templates in

AW: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order)

2016-10-06 Thread Christofer Dutz
n: dev@flex.apache.org Betreff: [FALCONJX] Combining SWF and JS compilers (was Re: AW: [FalconJX][FlexJS] COMPJSC and Build order) Fred Thomas did some work in this area about a year ago. In the flex-oem-compiler module that FB (and maybe other IDEs) use to talk to the compiler, he added a FLEXJS_DUAL -js-