There’s also a closure compiler issue [1]. Maybe we can get some direction there.
[1] https://github.com/google/closure-compiler/issues/2134 ________________________________ From: Harbs <harbs.li...@gmail.com> Sent: Tuesday, July 9, 2019 11:58:10 AM To: dev@royale.apache.org Subject: Re: Build failed in Jenkins: royale-asjs_jsonly #3219 animate is not yet a standard and it doesn’t work in Edge or Safari. I’m not sure if it’s something we should be adding just yet... > On Jul 9, 2019, at 11:41 AM, Yishay Weiss <yishayj...@hotmail.com> wrote: > > I’m not sure. Looking at the js build [1] I can see the externs file being > read from that repo, so I’m assuming one of them would need to be modified in > order for the type to be updated. Maybe Harbs can comment on this, as he set > up the repo. > > > > [1] https://github.com/apache/royale-typedefs/blob/develop/js/build.xml > > > > ________________________________ > From: Piotr Zarzycki <piotrzarzyck...@gmail.com> > Sent: Tuesday, July 9, 2019 11:19:06 AM > To: dev@royale.apache.org > Subject: Re: Build failed in Jenkins: royale-asjs_jsonly #3219 > > Hi Yishay, > > Should I add also my stuff to make it work to Royale-Extras ? > > Thanks, > Piotr > > wt., 9 lip 2019 o 10:14 Yishay Weiss <yishayj...@hotmail.com> napisał(a): > >> Hi Carlos, >> >> >> >> It looks like [1] this is experimental technology, which is probably why >> it’s missing from our typedefs [2]. Theoretically it can be added [2], but >> I don’t know if this is a good idea if it’s not guaranteed to work in every >> browser. >> >> >> >> Thoughts? >> >> >> >> >> >> [1] https://developer.mozilla.org/en-US/docs/Web/API/Element/animate >> >> [2] >> https://github.com/royale-extras/closure-compiler/blob/master/externs/browser/w3c_css.js >> >> >> >> ________________________________ >> From: Carlos Rovira <carlosrov...@apache.org> >> Sent: Tuesday, July 9, 2019 9:50:44 AM >> To: dev@royale.apache.org >> Subject: Re: Build failed in Jenkins: royale-asjs_jsonly #3219 >> >> I think the problem is we really don't have "animate" method in our Element >> JS API. I think yesterday I made some kind of wrong compilation. >> >> Can we add this? >> https://developer.mozilla.org/es/docs/Web/API/Element/animate >> If so, where should this be done? >> >> thanks >> >> >> >> El mar., 9 jul. 2019 a las 8:45, Carlos Rovira (<carlosrov...@apache.org>) >> escribió: >> >>> Seems this change I did yesterday is failing as well in my daily build. >>> How is possible this compiled ok yesterday with Maven? but today is >> failing? >>> I'll be looking at it this morning >>> >>> 641725 bytes written to >>> >> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks/projects/Jewel/target/Jewel-0.9.6-SNAPSHOT-swf.swc >>> in 0,701 seconds >>> >>> COMPCJSCRoyale >>> >>> >> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/itemRenderers/TabBarButtonItemRenderer.as(197): >>> col: 22 Call to a possibly undefined method animate through a reference >>> with static type HTMLSpanElement. >>> >>> >>> indicator_content.animate( >>> >>> ^ >>> >>> >>> 1.469368519 seconds >>> >>> >>> El mar., 9 jul. 2019 a las 6:20, Apache Royale CI Server (< >>> apacheroyal...@gmail.com>) escribió: >>> >>>> See < >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/3219/display/redirect >>>>> >>>> >>>> ------------------------------------------ >>>> [...truncated 1.71 MB...] >>>> [java] [getlocal0, pushscope, newcatch(0), dup, setlocal(5), dup, >>>> pushscope, swap, setslot(1), getlex[Qname: >>>> e::{PackageInternalNs:"org.apache.royale.events"}], debugline(97), >>>> getproperty[Qname: name::{PackageNs:""}], >>>> pushstring[stopImmediatePropagation], equals, not, debugline(97), >>>> iffalse[org.apache.royale.abc.semantics.Label@543c887 => 71]] >>>> [java] visiting block: 0 >>>> [java] max_scope is now:2 >>>> [java] scpDepth is now:2 >>>> [java] block 1 >>>> [java] [popscope, debugline(100)] >>>> [java] visiting block: 1 >>>> [java] max_scope is now:2 >>>> [java] scpDepth is now:1 >>>> [java] block 2 >>>> [java] [pushfalse, returnvalue] >>>> [java] visiting block: 2 >>>> [java] max_scope is now:2 >>>> [java] scpDepth is now:1 >>>> [java] block 3 >>>> [java] [getlex[Qname: >>>> e::{PackageInternalNs:"org.apache.royale.events"}], debugline(98), >> throw] >>>> [java] visiting block: 3 >>>> [java] max_scope is now:2 >>>> [java] scpDepth is now:2 >>>> [java] block 4 >>>> [java] [getlocal0, pushscope, >>>> >> debugfile[/org/apache/royale/0.9.6;org/apache/royale/events;EventDispatcher.as], >>>> debug[1,event1,0,0,]] >>>> [java] visiting block: 4 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 5 >>>> [java] [getlocal1, debugline(81), >>>> iffalse[org.apache.royale.abc.semantics.Label@2926f7bd => 38]] >>>> [java] visiting block: 5 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 6 >>>> [java] [pushfalse, setlocal3, getlocal3, returnvalue] >>>> [java] visiting block: 6 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 7 >>>> [java] [debugline(82), getlocal1, typeof, pushstring[string], >>>> equals, debugline(82), >>>> iffalse[org.apache.royale.abc.semantics.Label@751b901a => 28]] >>>> [java] visiting block: 7 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 8 >>>> [java] [pushstring[target], getlocal1, in, >>>> iffalse[org.apache.royale.abc.semantics.Label@1ccce165 => 36]] >>>> [java] visiting block: 8 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 9 >>>> [java] [jump[org.apache.royale.abc.semantics.Label@5a20f793 => >> 43]] >>>> [java] visiting block: 9 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 10 >>>> [java] [getlocal0, getlocal1, callsuper[Qname: >>>> dispatchEvent::{PackageNs:""},1,], dup, setlocal(4), returnvalue] >>>> [java] visiting block: 10 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 11 >>>> [java] [getlocal1, getlex[Qname: >>>> _dispatcher::{PrivateNs:"org.apache.royale.events:EventDispatcher"}], >>>> debugline(88), setproperty[Multiname: >>>> >> target::{PrivateNs:"org.apache.royale.events:EventDispatcher",ProtectedNs:"org.apache.royale.events:EventDispatcher",StaticProtectedNs:"org.apache.royale.events:EventDispatcher",StaticProtectedNs:"goog.events:EventTarget",StaticProtectedNs:"goog:Disposable",StaticProtectedNs:"Object",PackageNs:"org.apache.royale.events",PackageInternalNs:"org.apache.royale.events",PrivateNs:"FilePrivateNS:EventDispatcher",PackageNs:"",Ns:" >>>> http://adobe.com/AS3/2006/builtin"}]] >>>> [java] visiting block: 11 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 12 >>>> [java] [jump[org.apache.royale.abc.semantics.Label@5a20f793 => >> 43]] >>>> [java] visiting block: 12 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 13 >>>> [java] [findpropstrict[Qname: >>>> Event::{PackageNs:"org.apache.royale.events"}], debugline(83), >>>> pushstring[], getlocal1, add, constructprop[Qname: >>>> Event::{PackageNs:"org.apache.royale.events"},1,], coerce[Qname: >>>> Object::{PackageNs:""}], setlocal1, getlocal1, getlex[Qname: >>>> _dispatcher::{PrivateNs:"org.apache.royale.events:EventDispatcher"}], >>>> debugline(84), setproperty[Multiname: >>>> >> target::{PrivateNs:"org.apache.royale.events:EventDispatcher",ProtectedNs:"org.apache.royale.events:EventDispatcher",StaticProtectedNs:"org.apache.royale.events:EventDispatcher",StaticProtectedNs:"goog.events:EventTarget",StaticProtectedNs:"goog:Disposable",StaticProtectedNs:"Object",PackageNs:"org.apache.royale.events",PackageInternalNs:"org.apache.royale.events",PrivateNs:"FilePrivateNS:EventDispatcher",PackageNs:"",Ns:" >>>> http://adobe.com/AS3/2006/builtin"}], >>>> jump[org.apache.royale.abc.semantics.Label@1ccce165 => 36]] >>>> [java] visiting block: 13 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 14 >>>> [java] [jump[org.apache.royale.abc.semantics.Label@5a20f793 => >> 43]] >>>> [java] visiting block: 14 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] ComputedFrameCounts: 3 3 >>>> [java] 1385071 bytes written to >>>> >> C:\jenkins\workspace\royale-asjs_jsonly\frameworks\js\projects\SparkRoyaleJS\target\SparkRoyaleJS.swc >>>> in 8.780 seconds >>>> [java] COMPCJSCRoyale >>>> [java] 18.0219694 seconds >>>> [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m >>>> -Xmx1g >>>> [copy] Copying 1 file to < >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/libs >>>>> >>>> >>>> main: >>>> >>>> copy-swc: >>>> >>>> check-for-tests: >>>> >>>> test: >>>> >>>> main: >>>> >>>> Jewel: >>>> [echo] swc-date is 07/09/19 04:19 +0000 >>>> >>>> clean: >>>> [echo] swc-date is 07/09/19 04:19 +0000 >>>> >>>> check-for-tests: >>>> >>>> clean-tests: >>>> >>>> check-compiler-home: >>>> >>>> check-transpiler-home: >>>> >>>> check-compiler: >>>> >>>> compile: >>>> >>>> compile-js: >>>> [echo] swc-date is 07/09/19 04:19 +0000 >>>> [delete] Deleting: < >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/JewelJS/JewelJS.swc.properties >>>>> >>>> >>>> clean: >>>> [echo] swc-date is 07/09/19 04:19 +0000 >>>> [delete] Deleting: < >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/JewelJS/JewelJS.swc.properties >>>>> >>>> >>>> check-for-tests: >>>> >>>> clean-tests: >>>> >>>> check-compiler-home: >>>> >>>> check-transpiler-home: >>>> >>>> check-compiler: >>>> >>>> compile: >>>> [echo] Cross-compiling JewelJS.swc >>>> [echo] ROYALE_COMPILER_HOME: < >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/js >>>>> >>>> [mkdir] Created dir: < >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/JewelJS/target/generated-sources/royale >>>>> >>>> [java] args: >>>> [java] +royalelib=< >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks >>>>> >>>> [java] -compiler.strict-xml=true >>>> [java] -compiler.targets=SWF,JSRoyale >>>> [java] -metadata.date=07/09/19 04:19 +0000 >>>> [java] -metadata.dateFormat=MM/dd/yy HH:mm Z >>>> [java] -swf-debugfile-alias=/org/apache/royale/0.9.6 >>>> [java] -output=< >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/JewelJS/target/JewelJS.swc >>>>> >>>> [java] -load-config=< >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js-config.xml >>>>> >>>> [java] -load-config+=< >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/JewelJS/src/main/config/compile-js-config.xml >>>>> >>>> [java] target:SWF >>>> [java] target:JSRoyale >>>> [java] COMPC >>>> [java] Loading configuration: < >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js-config.xml >>>>> >>>> [java] Loading configuration: < >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/JewelJS/src/main/config/compile-js-config.xml >>>>> >>>> [java] >>>> [java] blockCount is: 15 >>>> [java] block 0 >>>> [java] [getlocal0, pushscope, newcatch(0), dup, setlocal(5), dup, >>>> pushscope, swap, setslot(1), getlex[Qname: >>>> e::{PackageInternalNs:"org.apache.royale.events"}], debugline(97), >>>> getproperty[Qname: name::{PackageNs:""}], >>>> pushstring[stopImmediatePropagation], equals, not, debugline(97), >>>> iffalse[org.apache.royale.abc.semantics.Label@689faf79 => 71]] >>>> [java] visiting block: 0 >>>> [java] max_scope is now:2 >>>> [java] scpDepth is now:2 >>>> [java] block 1 >>>> [java] [popscope, debugline(100)] >>>> [java] visiting block: 1 >>>> [java] max_scope is now:2 >>>> [java] scpDepth is now:1 >>>> [java] block 2 >>>> [java] [pushfalse, returnvalue] >>>> [java] visiting block: 2 >>>> [java] max_scope is now:2 >>>> [java] scpDepth is now:1 >>>> [java] block 3 >>>> [java] [getlex[Qname: >>>> e::{PackageInternalNs:"org.apache.royale.events"}], debugline(98), >> throw] >>>> [java] visiting block: 3 >>>> [java] max_scope is now:2 >>>> [java] scpDepth is now:2 >>>> [java] block 4 >>>> [java] [getlocal0, pushscope, >>>> >> debugfile[/org/apache/royale/0.9.6;org/apache/royale/events;EventDispatcher.as], >>>> debug[1,event1,0,0,]] >>>> [java] visiting block: 4 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 5 >>>> [java] [getlocal1, debugline(81), >>>> iffalse[org.apache.royale.abc.semantics.Label@bb3ecfe => 38]] >>>> [java] visiting block: 5 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 6 >>>> [java] [pushfalse, setlocal3, getlocal3, returnvalue] >>>> [java] visiting block: 6 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 7 >>>> [java] [debugline(82), getlocal1, typeof, pushstring[string], >>>> equals, debugline(82), >>>> iffalse[org.apache.royale.abc.semantics.Label@6a1568d6 => 28]] >>>> [java] visiting block: 7 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 8 >>>> [java] [pushstring[target], getlocal1, in, >>>> iffalse[org.apache.royale.abc.semantics.Label@1b37fbec => 36]] >>>> [java] visiting block: 8 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 9 >>>> [java] [jump[org.apache.royale.abc.semantics.Label@5ec88f9e => >> 43]] >>>> [java] visiting block: 9 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 10 >>>> [java] [getlocal0, getlocal1, callsuper[Qname: >>>> dispatchEvent::{PackageNs:""},1,], dup, setlocal(4), returnvalue] >>>> [java] visiting block: 10 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 11 >>>> [java] [getlocal1, getlex[Qname: >>>> _dispatcher::{PrivateNs:"org.apache.royale.events:EventDispatcher"}], >>>> debugline(88), setproperty[Multiname: >>>> >> target::{PrivateNs:"org.apache.royale.events:EventDispatcher",ProtectedNs:"org.apache.royale.events:EventDispatcher",StaticProtectedNs:"org.apache.royale.events:EventDispatcher",StaticProtectedNs:"goog.events:EventTarget",StaticProtectedNs:"goog:Disposable",StaticProtectedNs:"Object",PackageNs:"org.apache.royale.events",PackageInternalNs:"org.apache.royale.events",PrivateNs:"FilePrivateNS:EventDispatcher",PackageNs:"",Ns:" >>>> http://adobe.com/AS3/2006/builtin"}]] >>>> [java] visiting block: 11 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 12 >>>> [java] [jump[org.apache.royale.abc.semantics.Label@5ec88f9e => >> 43]] >>>> [java] visiting block: 12 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 13 >>>> [java] [findpropstrict[Qname: >>>> Event::{PackageNs:"org.apache.royale.events"}], debugline(83), >>>> pushstring[], getlocal1, add, constructprop[Qname: >>>> Event::{PackageNs:"org.apache.royale.events"},1,], coerce[Qname: >>>> Object::{PackageNs:""}], setlocal1, getlocal1, getlex[Qname: >>>> _dispatcher::{PrivateNs:"org.apache.royale.events:EventDispatcher"}], >>>> debugline(84), setproperty[Multiname: >>>> >> target::{PrivateNs:"org.apache.royale.events:EventDispatcher",ProtectedNs:"org.apache.royale.events:EventDispatcher",StaticProtectedNs:"org.apache.royale.events:EventDispatcher",StaticProtectedNs:"goog.events:EventTarget",StaticProtectedNs:"goog:Disposable",StaticProtectedNs:"Object",PackageNs:"org.apache.royale.events",PackageInternalNs:"org.apache.royale.events",PrivateNs:"FilePrivateNS:EventDispatcher",PackageNs:"",Ns:" >>>> http://adobe.com/AS3/2006/builtin"}], >>>> jump[org.apache.royale.abc.semantics.Label@1b37fbec => 36]] >>>> [java] visiting block: 13 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] block 14 >>>> [java] [jump[org.apache.royale.abc.semantics.Label@5ec88f9e => >> 43]] >>>> [java] visiting block: 14 >>>> [java] max_scope is now:3 >>>> [java] scpDepth is now:3 >>>> [java] ComputedFrameCounts: 3 3 >>>> [java] < >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/itemRenderers/TabBarButtonItemRenderer.as(197) >>> : >>>> col: 22 Error: Call to a possibly undefined method animate through a >>>> reference with static type HTMLSpanElement. >>>> [java] >>>> [java] indicator_content.animate( >>>> [java] ^ >>>> [java] >>>> [java] 8.5555731 seconds >>>> [java] < >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/itemRenderers/TabBarButtonItemRenderer.as(197) >>> : >>>> col: 22 Call to a possibly undefined method animate through a reference >>>> with static type HTMLSpanElement. >>>> [java] >>>> [java] indicator_content.animate( >>>> [java] ^ >>>> [java] >>>> [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m >>>> -Xmx1g >>>> [java] Java Result: 3 >>>> >>>> BUILD FAILED >>>> < >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/build.xml >>> :652: >>>> The following error occurred while executing this line: >>>> < >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/build.xml >>> :143: >>>> The following error occurred while executing this line: >>>> < >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/build.xml >>> :368: >>>> The following error occurred while executing this line: >>>> < >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/projects/Jewel/build.xml >>> :41: >>>> The following error occurred while executing this line: >>>> < >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/JewelJS/build.xml >>> :92: >>>> Warning: Could not find file < >>>> >> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/JewelJS/target/JewelJS.swc >>> >>>> to copy. >>>> >>>> Total time: 14 minutes 3 seconds >>>> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx1g >>>> Build step 'Invoke Ant' marked build as failure >>>> Archiving artifacts >>>> >>> >>> >>> -- >>> Carlos Rovira >>> http://about.me/carlosrovira >>> >>> >> >> -- >> Carlos Rovira >> http://about.me/carlosrovira >> > > > -- > > Piotr Zarzycki > > Patreon: *https://www.patreon.com/piotrzarzycki > <https://www.patreon.com/piotrzarzycki>*