Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS

2017-02-22 Thread Christofer Dutz
Hi Alex, That sounds very promising ☺ Looking forward to it. Chris Am 22.02.17, 17:13 schrieb "Alex Harui" : On 2/22/17, 2:43 AM, "Christofer Dutz" wrote: >Well I guess the thing is that you are building a SWC. > >Till now we were expecting to build SWCs to be us

Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS

2017-02-22 Thread Alex Harui
On 2/22/17, 2:43 AM, "Christofer Dutz" wrote: >Well I guess the thing is that you are building a SWC. > >Till now we were expecting to build SWCs to be usable in SWF and JS. >Therefore we don’t have the concept of “pure JS swcs”. >If this is a thing, eventually it would be good to define differ

Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS

2017-02-22 Thread Carlos Rovira
Thanks Chris, as I state in the other thread fix works now and I can now follow up with my duties in that library thanks! 2017-02-22 13:24 GMT+01:00 Christofer Dutz : > It should be: > > > true > > > But as I wrote in the other thread … seems to be broken atm and I’ll fix > it as s

Re: [FelxJS][Maven] Target only JS platform (Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS)

2017-02-22 Thread Carlos Rovira
Hi Chris, just updated and tried and seems compilation is now successful :) I'll be trying now to incorporate the full spriteflexjs lib and see if compile and works thanks! Carlos 2017-02-22 14:55 GMT+01:00 Christofer Dutz : > Ok, > > So, I just updated the flexjs-maven-plugin to generate a d

Re: [FelxJS][Maven] Target only JS platform (Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS)

2017-02-22 Thread Christofer Dutz
Ok, So, I just updated the flexjs-maven-plugin to generate a dummy SWC in case of a skipped SWF compilation. It was then possible to use the “true” config option and the build of the spritejs swc worked as desired without the need to provide the COMPILE:JS defines. Please try out ☺ Chris

Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS

2017-02-22 Thread Christofer Dutz
It should be: true But as I wrote in the other thread … seems to be broken atm and I’ll fix it as soon as possible. But still I think this would produce output which isn’t usable in normal flash projects so I think they should be distinguishable. Chris Am 22.02.17, 13:03 schri

Re: [FelxJS][Maven] Target only JS platform (Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS)

2017-02-22 Thread Christofer Dutz
Hi Carlos, true But is only valid for compiling applications … this doesn’t apply for swcs. For SWC compilation you should use: true but I just tried that and it does seem to be causing problems … the plugin is comping about not being able to find the SWC file … I’ll look into that right aw

Re: [FelxJS][Maven] Target only JS platform (Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS)

2017-02-22 Thread Carlos Rovira
Hi Chris, I searched for "outputJavaScript", but didn't found nothing. Is right written? thanks 2017-02-22 11:45 GMT+01:00 Christofer Dutz : > Hi Carlos, > > As I responded in the other thread. > > We currently don’t have pure js swcs. We do have pure js applications and > this can be dealt with

Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS

2017-02-22 Thread Carlos Rovira
Hi Chris, thanks, but I tried "skipAS=true” with skipAS=true and compilation fails in the same way 2017-02-22 12:13 GMT+01:00 Christofer Dutz : > Hi, > > I just had another look at the mojo and you can suppress the AS > compilation by setting “skipAS=true” … then you should prob

Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS

2017-02-22 Thread Christofer Dutz
Hi, I just had another look at the mojo and you can suppress the AS compilation by setting “skipAS=true” … then you should probably be able to build without the defines. Chris Am 22.02.17, 11:43 schrieb "Christofer Dutz" : Well I guess the thing is that you are building a SWC. Ti

Re: [FelxJS][Maven] Target only JS platform (Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS)

2017-02-22 Thread Christofer Dutz
Hi Carlos, As I responded in the other thread. We currently don’t have pure js swcs. We do have pure js applications and this can be dealt with by the “outputJavaScript” config option, but I am not really happy with that right now. Chris Am 22.02.17, 10:45 schrieb "carlos.rov...@gmail.com im

Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS

2017-02-22 Thread Christofer Dutz
Well I guess the thing is that you are building a SWC. Till now we were expecting to build SWCs to be usable in SWF and JS. Therefore we don’t have the concept of “pure JS swcs”. If this is a thing, eventually it would be good to define different naming: - swc (pure flash) - js (pure js) - jswc (

[FelxJS][Maven] Target only JS platform (Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS)

2017-02-22 Thread Carlos Rovira
@Chris, do we have some example of a pom that only target JS? Or, if there's some way to do it, can you share the piece of config I should use? (or even, change the pom in the spriteflexjs branch) thanks 2017-02-22 8:51 GMT+01:00 Alex Harui : > > > On 2/21/17, 11:40 AM, "Josh Tynjala" wrote: >

Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS

2017-02-21 Thread Alex Harui
On 2/21/17, 11:40 AM, "Josh Tynjala" wrote: >COMPILE::JS and COMPILE:SWC are just regular compile-time constants. As >far >as I know, they receive no special treatment from the compiler. It's just >a >convention used by the FlexJS framework projects to make the components >exclude certain code

Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS

2017-02-21 Thread Josh Tynjala
COMPILE::JS and COMPILE:SWC are just regular compile-time constants. As far as I know, they receive no special treatment from the compiler. It's just a convention used by the FlexJS framework projects to make the components exclude certain code on some platforms. If you're targeting one platform, t