Hi Alex, Ups. ... Sorry for the full path. You can replace the paths in external library and normal library with what you want as the Maven plugin replaces them with the real paths of Maven artifacts. Haven't added that logic to the other parts of the config though, but I'll add that time after time.
I am quite sure it's the same compiler I used for the asjs part. I'll look into that tomorrow :-) Chris Von meinem Samsung Galaxy Smartphone gesendet. -------- Ursprüngliche Nachricht -------- Von: Alex Harui <aha...@adobe.com> Datum: 28.04.16 20:34 (GMT+01:00) An: dev@flex.apache.org Betreff: Re: AW: AW: [ASJS] Merging to Maven On 4/28/16, 6:43 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote: > >From looking at the ant build, I am using compcjs with output FLEXJS to >generate the JavaScript, but not to compile the ActionScript and pack in >the generated JavaScript. What output type to I have to declare for the >AS compilation? The compc AS->SWF compilation doesn't have a -js-output-type parameter. The stack trace below is pretty clearly from compjsc instead. Maybe the wrong compiler is being called? BTW, I started fixing up the Ant build in flex-asjs feature/maven-migration and found that in the Core compile-js-config.xml, the airglobal.swc has a full path to a Maven repo on your system. I'm not sure how to get around that. What is the final plan? Thanks, -Alex > >Chris >________________________________________ >Von: Alex Harui <aha...@adobe.com> >Gesendet: Mittwoch, 27. April 2016 19:05:48 >An: dev@flex.apache.org >Betreff: Re: AW: [ASJS] Merging to Maven > >On 4/27/16, 4:36 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote: > >> >>So I now seem to be getting compile errors from the actionscript part: >> >>Caused by: java.lang.UnsupportedOperationException >> at >>org.apache.flex.compiler.internal.driver.as.ASBackend.getSourceFileHandle >>r >>Instance(ASBackend.java:72) >> at >>org.apache.flex.compiler.clients.MXMLJSC.<init>(MXMLJSC.java:267) >> at >>org.apache.flex.compiler.clients.COMPJSC.<init>(COMPJSC.java:162) >> at >>org.apache.flex.compiler.clients.COMPJSC.staticMainNoExit(COMPJSC.java:15 >>0 >>) >> at >>org.apache.flex.compiler.clients.COMPJSC.execute(COMPJSC.java:90) >> at >>org.apache.flex.maven.flexjs.BaseCompileMojo.execute(BaseCompileMojo.java >>: >>109) >> at >>org.apache.flex.maven.flexjs.CompileASMojo.execute(CompileASMojo.java:57) >> at >>org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuil >>d >>PluginManager.java:134) >> ... 22 more >> >>Any Idea what's going wrong here? > >This looks like a call to the cross-compiler (MXMLJSC) without a proper >-js-output-type, which is usually FLEXJS. > >-Alex >