Ah, after, digging deeper, it is the @ operator in XML. And some bugs around that were also fixed in Dual.
I think you can try dual now. It is only failing on checkintests and I just pushed the fix for that. If you wait about 30 minutes, and you see the build passes email, you can try getting dual from the Installer. I'll be sending out an email with more info later today. -Alex On 3/6/17, 11:23 AM, "Harbs" <harbs.li...@gmail.com> wrote: >I can’t find anything like that. Still looking… > >> On Mar 6, 2017, at 8:21 PM, Alex Harui <aha...@adobe.com> wrote: >> >> Looks like there is a unary operator that isn't expected. Is there an >> "at" operator in AS? >> >> -Alex >> >> On 3/6/17, 10:06 AM, "Harbs" <harbs.li...@gmail.com> wrote: >> >>> I eliminated my compilation errors, but I’m having trouble outputting >>>my >>> swc. >>> >>> AFAICT compile-asjs-swc is working correctly. I get a swc with the >>> library.swf and catalog.xml which at first glance has all the classes. >>> >>> However, I’m getting weird results from compile-asjs. Instead of the js >>> files being stuffed into the swc, I’m getting a second file calles >>> TLF.swc.new and it appears to be corrupted. >>> >>> Here is the ant script for compile-asjs: >>> >>> <target name="compile-asjs" depends="check-compiler"> >>> <echo message="Cross-compiling ${target.name}"/> >>> <echo message="FALCONJX_COMPC: ${FALCONJX_COMPC}"/> >>> <mkdir dir="${basedir}/target/generated-sources/flexjs"/> >>> <java jar="${FALCONJX_COMPC}" fork="true" > >>> <jvmarg value="-Xmx384m" /> >>> <jvmarg value="-Dsun.io.useCanonCaches=false" /> >>> <jvmarg value="-Dflexcompiler=${FLEXJS_HOME}" /> >>> <jvmarg value="-Dflexlib=${FLEXJS_HOME}/frameworks" /> >>> <arg value="+flexlib=${FLEX_HOME}/frameworks" /> >>> <arg value="-js-output-type=FLEXJS" /> >>> <arg value="-compiler.strict-xml=true" /> >>> <arg value="-keep-asdoc" /><!-- allows compiler to see >>> @flexjsignorecoercion annotations --> >>> <arg value="-output=${basedir}/target/${target.name}" /> >>> <arg value="-load-config=${basedir}/compile-config.xml" /> >>> <arg value="-define=CONFIG::debug,false" /> >>> <arg value="-define=CONFIG::release,true" /> >>> </java> >>> <delete dir="target/generated-sources"/> >>> </target> >>> >>> There appears to be another null pointer error in the compiler. Here’s >>> the end of my output: >>> >>> [java] Compiling file: >>> org.apache.flex.textLayout.conversion.TextLayoutImporter >>> [java] java.lang.NullPointerException >>> [java] 5.230256392 seconds >>> [java] >>> >>>org.apache.flex.compiler.internal.codegen.as.ASBeforeNodeStrategy.handle >>>(A >>> >>>SBeforeNodeStrategy.java:47)org.apache.flex.compiler.internal.visitor.as >>>.B >>> >>>eforeAfterStrategy.before(BeforeAfterStrategy.java:139)org.apache.flex.c >>>om >>> >>>piler.internal.visitor.as.BeforeAfterStrategy.handle(BeforeAfterStrategy >>>.j >>> >>>ava:109)org.apache.flex.compiler.internal.codegen.as.ASBlockWalker.walk( >>>AS >>> >>>BlockWalker.java:157)org.apache.flex.compiler.internal.codegen.js.flexjs >>>.J >>> >>>SFlexJSEmitter.emitUnaryOperator(JSFlexJSEmitter.java:1064)org.apache.fl >>>ex >>> >>>.compiler.internal.codegen.as.ASBlockWalker.visitUnaryOperator(ASBlockWa >>>lk >>> >>>er.java:532)org.apache.flex.compiler.internal.visitor.as.ASNodeSwitch.ha >>>nd >>> >>>le(ASNodeSwitch.java:353)org.apache.flex.compiler.internal.visitor.as.AS >>>No >>> >>>deHandler.handle(ASNodeHandler.java:85)org.apache.flex.compiler.internal >>>.v >>> >>>isitor.as.BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)org.ap >>>ac >>> >>>he.flex.compiler.internal.codegen.as.ASBlockWalker.walk(ASBlockWalker.ja >>>va >>> >>>:157)org.apache.flex.compiler.internal.codegen.js.jx.DynamicAccessEmitte >>>r. >>> >>>emit(DynamicAccessEmitter.java:41)org.apache.flex.compiler.internal.code >>>ge >>> >>>n.js.jx.DynamicAccessEmitter.emit(DynamicAccessEmitter.java:29)org.apach >>>e. >>> >>>flex.compiler.internal.codegen.js.JSEmitter.emitDynamicAccess(JSEmitter. >>>ja >>> >>>va:296)org.apache.flex.compiler.internal.codegen.as.ASBlockWalker.visitD >>>yn >>> >>>amicAccess(ASBlockWalker.java:496)org.apache.flex.compiler.internal.visi >>>to >>> >>>r.as.ASNodeSwitch.handle(ASNodeSwitch.java:250)org.apache.flex.compiler. >>>in >>> >>>ternal.visitor.as.ASNodeHandler.handle(ASNodeHandler.java:85)org.apache. >>>fl >>> >>>ex.compiler.internal.visitor.as.BeforeAfterStrategy.handle(BeforeAfterSt >>>ra >>> >>>tegy.java:110)org.apache.flex.compiler.internal.codegen.as.ASBlockWalker >>>.w >>> >>>alk(ASBlockWalker.java:157)org.apache.flex.compiler.internal.codegen.as. >>>AS >>> >>>Emitter.stringifyNode(ASEmitter.java:1555)org.apache.flex.compiler.inter >>>na >>> >>>l.codegen.js.jx.MemberAccessEmitter.emit(MemberAccessEmitter.java:96)org >>>.a >>> >>>pache.flex.compiler.internal.codegen.js.flexjs.JSFlexJSEmitter.emitMembe >>>rA >>> >>>ccessExpression(JSFlexJSEmitter.java:742)org.apache.flex.compiler.intern >>>al >>> >>>.codegen.as.ASBlockWalker.visitMemberAccessExpression(ASBlockWalker.java >>>:4 >>> >>>81)org.apache.flex.compiler.internal.visitor.as.ASNodeSwitch.handle(ASNo >>>de >>> >>>Switch.java:339)org.apache.flex.compiler.internal.visitor.as.ASNodeHandl >>>er >>> >>>.handle(ASNodeHandler.java:85)org.apache.flex.compiler.internal.visitor. >>>as >>> >>>.BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)org.apache.flex >>>.c >>> >>>ompiler.internal.codegen.as.ASBlockWalker.walk(ASBlockWalker.java:157)or >>>g. >>> >>>apache.flex.compiler.internal.codegen.js.goog.JSGoogEmitter.emitAssigned >>>Va >>> >>>lue(JSGoogEmitter.java:921)org.apache.flex.compiler.internal.codegen.js. >>>jx >>> >>>.VarDeclarationEmitter.emit(VarDeclarationEmitter.java:173)org.apache.fl >>>ex >>> >>>.compiler.internal.codegen.js.flexjs.JSFlexJSEmitter.emitVarDeclaration( >>>JS >>> >>>FlexJSEmitter.java:681)org.apache.flex.compiler.internal.codegen.as.ASBl >>>oc >>> >>>kWalker.visitVariable(ASBlockWalker.java:264)org.apache.flex.compiler.in >>>te >>> >>>rnal.visitor.as.ASNodeSwitch.handle(ASNodeSwitch.java:162)org.apache.fle >>>x. >>> >>>compiler.internal.visitor.as.ASNodeHandler.handle(ASNodeHandler.java:85) >>>or >>> >>>g.apache.flex.compiler.internal.visitor.as.BeforeAfterStrategy.handle(Be >>>fo >>> >>>reAfterStrategy.java:110)org.apache.flex.compiler.internal.codegen.as.AS >>>Bl >>> >>>ockWalker.walk(ASBlockWalker.java:157)org.apache.flex.compiler.internal. >>>co >>> >>>degen.js.jx.StatementEmitter.emit(StatementEmitter.java:40)org.apache.fl >>>ex >>> >>>.compiler.internal.codegen.js.jx.StatementEmitter.emit(StatementEmitter. >>>ja >>> >>>va:29)org.apache.flex.compiler.internal.codegen.js.JSEmitter.emitStateme >>>nt >>> >>>(JSEmitter.java:326)org.apache.flex.compiler.internal.codegen.js.flexjs. >>>JS >>> >>>FlexJSEmitter.emitStatement(JSFlexJSEmitter.java:965)org.apache.flex.com >>>pi >>> >>>ler.internal.codegen.as.ASBlockWalker.visitBlock(ASBlockWalker.java:335) >>>or >>> >>>g.apache.flex.compiler.internal.visitor.as.ASNodeSwitch.handle(ASNodeSwi >>>tc >>> >>>h.java:278)org.apache.flex.compiler.internal.visitor.as.ASNodeHandler.ha >>>nd >>> >>>le(ASNodeHandler.java:85)org.apache.flex.compiler.internal.visitor.as.Be >>>fo >>> >>>reAfterStrategy.handle(BeforeAfterStrategy.java:110)org.apache.flex.comp >>>il >>> >>>er.internal.codegen.as.ASBlockWalker.walk(ASBlockWalker.java:157)org.apa >>>ch >>> >>>e.flex.compiler.internal.codegen.js.jx.IfEmitter.emitConditional(IfEmitt >>>er >>> >>>.java:95)org.apache.flex.compiler.internal.codegen.js.jx.IfEmitter.emit( >>>If >>> >>>Emitter.java:45)org.apache.flex.compiler.internal.codegen.js.jx.IfEmitte >>>r. >>> >>>emit(IfEmitter.java:33)org.apache.flex.compiler.internal.codegen.js.JSEm >>>it >>> >>>ter.emitIf(JSEmitter.java:332)org.apache.flex.compiler.internal.codegen. >>>as >>> >>>.ASBlockWalker.visitIf(ASBlockWalker.java:343)org.apache.flex.compiler.i >>>nt >>> >>>ernal.visitor.as.ASNodeSwitch.handle(ASNodeSwitch.java:194)org.apache.fl >>>ex >>> >>>.compiler.internal.visitor.as.ASNodeHandler.handle(ASNodeHandler.java:85 >>>)o >>> >>>rg.apache.flex.compiler.internal.visitor.as.BeforeAfterStrategy.handle(B >>>ef >>> >>>oreAfterStrategy.java:110)org.apache.flex.compiler.internal.codegen.as.A >>>SB >>> >>>lockWalker.walk(ASBlockWalker.java:157)org.apache.flex.compiler.internal >>>.c >>> >>>odegen.js.jx.StatementEmitter.emit(StatementEmitter.java:40)org.apache.f >>>le >>> >>>x.compiler.internal.codegen.js.jx.StatementEmitter.emit(StatementEmitter >>>.j >>> >>>ava:29)org.apache.flex.compiler.internal.codegen.js.JSEmitter.emitStatem >>>en >>> >>>t(JSEmitter.java:326)org.apache.flex.compiler.internal.codegen.js.flexjs >>>.J >>> >>>SFlexJSEmitter.emitStatement(JSFlexJSEmitter.java:965)org.apache.flex.co >>>mp >>> >>>iler.internal.codegen.as.ASBlockWalker.visitBlock(ASBlockWalker.java:335 >>>)o >>> >>>rg.apache.flex.compiler.internal.visitor.as.ASNodeSwitch.handle(ASNodeSw >>>it >>> >>>ch.java:278)org.apache.flex.compiler.internal.visitor.as.ASNodeHandler.h >>>an >>> >>>dle(ASNodeHandler.java:85)org.apache.flex.compiler.internal.visitor.as.B >>>ef >>> >>>oreAfterStrategy.handle(BeforeAfterStrategy.java:110)org.apache.flex.com >>>pi >>> >>>ler.internal.codegen.as.ASBlockWalker.walk(ASBlockWalker.java:157)org.ap >>>ac >>> >>>he.flex.compiler.internal.codegen.as.ASEmitter.emitMethodScope(ASEmitter >>>.j >>> >>>ava:848)org.apache.flex.compiler.internal.codegen.js.jx.MethodEmitter.em >>>it >>> >>>(MethodEmitter.java:145)org.apache.flex.compiler.internal.codegen.js.fle >>>xj >>> >>>s.JSFlexJSEmitter.emitMethod(JSFlexJSEmitter.java:705)org.apache.flex.co >>>mp >>> >>>iler.internal.codegen.js.jx.ClassEmitter.emit(ClassEmitter.java:154)org. >>>ap >>> >>>ache.flex.compiler.internal.codegen.js.flexjs.JSFlexJSEmitter.emitClass( >>>JS >>> >>>FlexJSEmitter.java:663)org.apache.flex.compiler.internal.codegen.as.ASBl >>>oc >>> >>>kWalker.visitClass(ASBlockWalker.java:242)org.apache.flex.compiler.inter >>>na >>> >>>l.visitor.as.ASNodeSwitch.handle(ASNodeSwitch.java:136)org.apache.flex.c >>>om >>> >>>piler.internal.visitor.as.ASNodeHandler.handle(ASNodeHandler.java:85)org >>>.a >>> >>>pache.flex.compiler.internal.visitor.as.BeforeAfterStrategy.handle(Befor >>>eA >>> >>>fterStrategy.java:110)org.apache.flex.compiler.internal.codegen.as.ASBlo >>>ck >>> >>>Walker.walk(ASBlockWalker.java:157)org.apache.flex.compiler.internal.cod >>>eg >>> >>>en.js.goog.JSGoogEmitter.emitPackageContents(JSGoogEmitter.java:184)org. >>>ap >>> >>>ache.flex.compiler.internal.codegen.as.ASBlockWalker.visitPackage(ASBloc >>>kW >>> >>>alker.java:230)org.apache.flex.compiler.internal.visitor.as.ASNodeSwitch >>>.h >>> >>>andle(ASNodeSwitch.java:132)org.apache.flex.compiler.internal.visitor.as >>>.A >>> >>>SNodeHandler.handle(ASNodeHandler.java:85)org.apache.flex.compiler.inter >>>na >>> >>>l.visitor.as.BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)org >>>.a >>> >>>pache.flex.compiler.internal.codegen.as.ASBlockWalker.walk(ASBlockWalker >>>.j >>> >>>ava:157)org.apache.flex.compiler.internal.codegen.as.ASBlockWalker.visit >>>Fi >>> >>>le(ASBlockWalker.java:209)org.apache.flex.compiler.internal.visitor.as.A >>>SN >>> >>>odeSwitch.handle(ASNodeSwitch.java:128)org.apache.flex.compiler.internal >>>.v >>> >>>isitor.as.ASNodeHandler.handle(ASNodeHandler.java:85)org.apache.flex.com >>>pi >>> >>>ler.internal.visitor.as.BeforeAfterStrategy.handle(BeforeAfterStrategy.j >>>av >>> >>>a:110)org.apache.flex.compiler.internal.codegen.as.ASBlockWalker.walk(AS >>>Bl >>> >>>ockWalker.java:157)org.apache.flex.compiler.internal.codegen.as.ASBlockW >>>al >>> >>>ker.visitCompilationUnit(ASBlockWalker.java:174)org.apache.flex.compiler >>>.i >>> >>>nternal.codegen.js.JSWriter.writeTo(JSWriter.java:99)org.apache.flex.com >>>pi >>> >>>ler.internal.codegen.js.JSWriter.writeTo(JSWriter.java:83)org.apache.fle >>>x. >>> >>>compiler.clients.COMPJSC.compile(COMPJSC.java:333)org.apache.flex.compil >>>er >>> >>>.clients.MXMLJSC._mainNoExit(MXMLJSC.java:313)org.apache.flex.compiler.c >>>li >>> >>>ents.MXMLJSC.mainNoExit(MXMLJSC.java:270)org.apache.flex.compiler.client >>>s. >>> >>>COMPJSC.staticMainNoExit(COMPJSC.java:157)org.apache.flex.compiler.clien >>>ts >>> .COMPJSC.main(COMPJSC.java:109) >>> [java] >>> [java] >>> [java] Java Result: 3 >>> [delete] Deleting directory >>> >>>/Users/harbs/Documents/git/PrintUI/printui-flexjs/text_engine/frameworks >>>/t >>> lf/target/generated-sources >>> >> >