Why is ASDoc failing? It’s failing because the json.swf target is somehow trying to compile SVGBase for swf even though it’s a JS-only class. I don’t understand why this is.
Is COMPILE::JS not being applied for some reason? It looks like it should be in asdoc-swf-config.xml. I can change SWFBase to have a SWF version of the class, but it feels to me like that might be masking some kind of bug… Thoughts? Harbs > On Jan 26, 2020, at 8:35 AM, apacheroyal...@gmail.com wrote: > > See > <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/Royale_ASDoc_Example/553/display/redirect> > > Changes: > > > ------------------------------------------ > [...truncated 41.14 KB...] > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(167): > col: 15 Call to a possibly undefined method setAttribute through a reference > with static type IRoyaleElement. > [java] > [java] element.setAttribute("stroke-dasharray",value); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(170): > col: 22 Call to a possibly undefined method getAttribute through a reference > with static type IRoyaleElement. > [java] > [java] return element.getAttribute("stroke-dashoffset"); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(173): > col: 15 Call to a possibly undefined method setAttribute through a reference > with static type IRoyaleElement. > [java] > [java] element.setAttribute("stroke-dashoffset",value); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(176): > col: 22 Call to a possibly undefined method getAttribute through a reference > with static type IRoyaleElement. > [java] > [java] return element.getAttribute("stroke-linecap"); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(179): > col: 15 Call to a possibly undefined method setAttribute through a reference > with static type IRoyaleElement. > [java] > [java] element.setAttribute("stroke-linecap",value); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(182): > col: 22 Call to a possibly undefined method getAttribute through a reference > with static type IRoyaleElement. > [java] > [java] return element.getAttribute("stroke-linejoin"); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(185): > col: 15 Call to a possibly undefined method setAttribute through a reference > with static type IRoyaleElement. > [java] > [java] element.setAttribute("stroke-linejoin",value); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(188): > col: 22 Call to a possibly undefined method getAttribute through a reference > with static type IRoyaleElement. > [java] > [java] return element.getAttribute("stroke-miterlimit"); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(191): > col: 15 Call to a possibly undefined method setAttribute through a reference > with static type IRoyaleElement. > [java] > [java] element.setAttribute("stroke-miterlimit",value); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(194): > col: 22 Call to a possibly undefined method getAttribute through a reference > with static type IRoyaleElement. > [java] > [java] return element.getAttribute("stroke-opacity"); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(197): > col: 15 Call to a possibly undefined method setAttribute through a reference > with static type IRoyaleElement. > [java] > [java] element.setAttribute("stroke-opacity",value); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(200): > col: 22 Call to a possibly undefined method getAttribute through a reference > with static type IRoyaleElement. > [java] > [java] return element.getAttribute("stroke-width"); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(203): > col: 15 Call to a possibly undefined method setAttribute through a reference > with static type IRoyaleElement. > [java] > [java] element.setAttribute("stroke-width",value); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(205): > col: 25 Overriding a function that is not marked for override > [java] > [java] public function get transform():String{ > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(206): > col: 22 Call to a possibly undefined method getAttribute through a reference > with static type IRoyaleElement. > [java] > [java] return element.getAttribute("transform"); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(208): > col: 25 Overriding a function that is not marked for override > [java] > [java] public function set transform(value:String):void{ > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(209): > col: 15 Call to a possibly undefined method setAttribute through a reference > with static type IRoyaleElement. > [java] > [java] element.setAttribute("transform",value); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(212): > col: 22 Call to a possibly undefined method getAttribute through a reference > with static type IRoyaleElement. > [java] > [java] return element.getAttribute("vector-effect"); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(215): > col: 15 Call to a possibly undefined method setAttribute through a reference > with static type IRoyaleElement. > [java] > [java] element.setAttribute("vector-effect",value); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(218): > col: 22 Call to a possibly undefined method getAttribute through a reference > with static type IRoyaleElement. > [java] > [java] return element.getAttribute("visibility"); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(221): > col: 15 Call to a possibly undefined method setAttribute through a reference > with static type IRoyaleElement. > [java] > [java] element.setAttribute("visibility",value); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(223): > col: 25 Overriding a function that is not marked for override > [java] > [java] public function get tabIndex():Number{ > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(224): > col: 28 Call to a possibly undefined method getAttribute through a reference > with static type IRoyaleElement. > [java] > [java] return Number(element.getAttribute("tabIndex")); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(226): > col: 25 Overriding a function that is not marked for override > [java] > [java] public function set tabIndex(value:Number):void{ > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(227): > col: 14 Call to a possibly undefined method setAttribute through a reference > with static type IRoyaleElement. > [java] > [java] element.setAttribute("tabIndex",value); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(230): > col: 21 Call to a possibly undefined method getAttribute through a reference > with static type IRoyaleElement. > [java] > [java] return element.getAttribute("xml:lang"); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\HTML\src\main\royale\org\apache\royale\svg\elements\SVGBase.as(234): > col: 15 Call to a possibly undefined method setAttribute through a reference > with static type IRoyaleElement. > [java] > [java] element.setAttribute("xml:lang",value); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\charts\AreaChart.as(231): > col: 21 Encountered this keyword within closure. Value of this will not be > the same as enclosing scope. > [java] > [java] this.areaFill = fill; > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\charts\AreaChart.as(232): > col: 21 Encountered this keyword within closure. Value of this will not be > the same as enclosing scope. > [java] > [java] this.fill = fill; > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\charts\CandlestickChart.as(231): > col: 22 Encountered this keyword within closure. Value of this will not be > the same as enclosing scope. > [java] > [java] this.boxStroke = boxStroke; > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\charts\CandlestickChart.as(232): > col: 22 Encountered this keyword within closure. Value of this will not be > the same as enclosing scope. > [java] > [java] this.declineFill = declineFill; > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\charts\HLOCChart.as(228): > col: 22 Encountered this keyword within closure. Value of this will not be > the same as enclosing scope. > [java] > [java] this.closeTickStroke = tickStroke; > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\charts\HLOCChart.as(229): > col: 22 Encountered this keyword within closure. Value of this will not be > the same as enclosing scope. > [java] > [java] this.openTickStroke = tickStroke; > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\charts\HLOCChart.as(230): > col: 22 Encountered this keyword within closure. Value of this will not be > the same as enclosing scope. > [java] > [java] this.stroke = stroke; > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\charts\HLOCChart.as(231): > col: 22 Encountered this keyword within closure. Value of this will not be > the same as enclosing scope. > [java] > [java] this.hlocColor = stroke.color; > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\charts\LineChart.as(179): > col: 22 Encountered this keyword within closure. Value of this will not be > the same as enclosing scope. > [java] > [java] this.lineStroke = stroke; > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\charts\LineChart.as(180): > col: 22 Encountered this keyword within closure. Value of this will not be > the same as enclosing scope. > [java] > [java] this.stroke = stroke; > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\charts\LineChart.as(181): > col: 22 Encountered this keyword within closure. Value of this will not be > the same as enclosing scope. > [java] > [java] this.lineSegmentRenderer = new > ClassFactory(LineRenderer); > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\charts\PlotChart.as(158): > col: 22 Encountered this keyword within closure. Value of this will not be > the same as enclosing scope. > [java] > [java] this.fill = fill; > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\charts\PlotChart.as(159): > col: 22 Encountered this keyword within closure. Value of this will not be > the same as enclosing scope. > [java] > [java] this.itemRenderer = skin; > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\charts\PlotChart.as(160): > col: 22 Encountered this keyword within closure. Value of this will not be > the same as enclosing scope. > [java] > [java] this.radius = radius > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\charts\styles\HaloDefaults.as(213): > col: 6 Encountered this keyword within closure. Value of this will not be > the same as enclosing scope. > [java] > [java] this.fill = defaultFill; > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\charts\styles\HaloDefaults.as(214): > col: 6 Encountered this keyword within closure. Value of this will not be > the same as enclosing scope. > [java] > [java] this.areaFill = defaultFill; > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\charts\styles\HaloDefaults.as(215): > col: 6 Encountered this keyword within closure. Value of this will not be > the same as enclosing scope. > [java] > [java] this.areaStroke = emptyStroke; > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\MXRoyale\src\main\royale\mx\charts\styles\HaloDefaults.as(216): > col: 6 Encountered this keyword within closure. Value of this will not be > the same as enclosing scope. > [java] > [java] this.lineStroke = > defaultStroke; > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\SparkRoyale\src\main\royale\spark\skins\spark\FormItemSkin.mxml(169): > col: 30 Data binding will not be able to detect assignments to 'x'. > [java] > [java] <s:Group x="{contentGroup.x + contentGroup.contentWidth + 4}" > y="{contentGroup.y}" > [java] ^ > [java] > [java] > C:\jenkins\workspace\royale-asjs\frameworks\projects\SparkRoyale\src\main\royale\spark\skins\spark\FormItemSkin.mxml(169): > col: 83 Data binding will not be able to detect assignments to 'y'. > [java] > [java] <s:Group x="{contentGroup.x + contentGroup.contentWidth + 4}" > y="{contentGroup.y}" > [java] > ^ > [java] > [java] 82.20805 seconds > [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g > [java] Java Result: 3 > > BUILD FAILED > <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/Royale_ASDoc_Example/553/artifact/examples/royale/ASDoc/build.xml>:50: > The following error occurred while executing this line: > <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/Royale_ASDoc_Example/553/artifact/examples/royale/ASDoc/build.xml>:156: > condition satisfied > > Total time: 5 minutes 43 seconds > Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g > Build step 'Invoke Ant' marked build as failure > Skipped archiving because build is not successful