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 <christofer.d...@c-ware.de>:

> 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 “<skipAS>true</skipAS>” 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
>
>
>
> Am 22.02.17, 13:22 schrieb "Christofer Dutz" <christofer.d...@c-ware.de>:
>
>     Hi Carlos,
>
>     <outputJavaScript>true</outputJavaScript>
>
>     But is only valid for compiling applications … this doesn’t apply for
> swcs. For SWC compilation you should use:
>
>     <skipAS>true</skipAS>
>
>     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 away.
>
>     Chris
>
>
>     Am 22.02.17, 13:06 schrieb "carlos.rov...@gmail.com im Auftrag von
> Carlos Rovira" <carlos.rov...@gmail.com im Auftrag von
> carlos.rov...@codeoscopic.com>:
>
>         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 <
> christofer.d...@c-ware.de>:
>
>         > 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 Auftrag
> von Carlos
>         > Rovira" <carlos.rov...@gmail.com im Auftrag von
>         > carlos.rov...@codeoscopic.com>:
>         >
>         >     @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 <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.
>         >
>         >
>         >
>
>
>         --
>
>         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.
>
>
>
>
>


-- 

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.

Reply via email to