Hi Chris, thanks, but I tried "skipAS=true” with
<configuration> <additionalCompilerOptions>skipAS=true</additionalCompilerOptions> and compilation fails in the same way 2017-02-22 12:13 GMT+01:00 Christofer Dutz <christofer.d...@c-ware.de>: > 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" <christofer.d...@c-ware.de>: > > 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 (both js and flash) > > This could make things easier with the externs/typedefs as these would > be “js” type with scope “provided” … > > What do the others think? Would require quite a major refactoring of > the poms and a slight adjustement of the maven plugin. But I think it would > make things clearer. > > Chris > > Am 22.02.17, 08:51 schrieb "Alex Harui" <aha...@adobe.com>: > > > > On 2/21/17, 11:40 AM, "Josh Tynjala" <joshtynj...@gmail.com> > 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 on some platforms. If you're targeting one > platform, > >there shouldn't be any need to exclude anything, so this project > shouldn't > >need COMPILE::JS at all. > > > >Why do you feel that COMPILE::JS is needed? > > I think because Maven automatically plugs in playerglobal or > airglobal for > the SWF build of a SWC. I think Maven has some skip options that > can go > in the POM? > > -Alex > > > > > > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación necesaria.