Build failed in Jenkins: Royale_ASDoc_Example #557

2020-01-26 Thread apacheroyaleci
See 


Changes:

[harbs] add COMPILE::JS


--
[...truncated 41.11 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]   

Re: Build failed in Jenkins: Royale_ASDoc_Example #553

2020-01-26 Thread Harbs
OK. Makes sense.

The fix was as simple as adding a COMPILE::JS to the top of the class.

> On Jan 27, 2020, at 7:57 AM, Alex Harui  wrote:
> 
> It's not a bug, it's a feature __
> 
> The compiler was purposefully designed to read in EVERY file in the source 
> path and do some processing on it.  It does not wait until a class is 
> depended on by some other class then goes fishing through the source path 
> directories to look for it.  And thus, it is going to find classes that are 
> normally blocked by COMPILE::JS dependencies.  
> 
> The src/main/config/asdoc-js-config.xml and asdoc-swf-config.xml contain 
> exclusions to prevent the kind of errors you are getting.  Just add SVGBase 
> to the exclude list.
> 
> I have to say that I am not convinced that the strategy of opening every file 
> in the source-path is always going to be optimal, but tinkering with that 
> strategy is not on my list of most important things.
> 
> -Alex
> 
> On 1/26/20, 1:02 AM, "Harbs"  wrote:
> 
>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 
>> 
>> 
>> 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 

Re: Build failed in Jenkins: Royale_ASDoc_Example #553

2020-01-26 Thread Alex Harui
It's not a bug, it's a feature __

The compiler was purposefully designed to read in EVERY file in the source path 
and do some processing on it.  It does not wait until a class is depended on by 
some other class then goes fishing through the source path directories to look 
for it.  And thus, it is going to find classes that are normally blocked by 
COMPILE::JS dependencies.  

The src/main/config/asdoc-js-config.xml and asdoc-swf-config.xml contain 
exclusions to prevent the kind of errors you are getting.  Just add SVGBase to 
the exclude list.

I have to say that I am not convinced that the strategy of opening every file 
in the source-path is always going to be optimal, but tinkering with that 
strategy is not on my list of most important things.

-Alex

On 1/26/20, 1:02 AM, "Harbs"  wrote:

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 

> 
> 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 

Build failed in Jenkins: Royale_ASDoc_Example #556

2020-01-26 Thread apacheroyaleci
See 


Changes:


--
[...truncated 40.48 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]   

Build failed in Jenkins: Royale_ASDoc_Example #555

2020-01-26 Thread apacheroyaleci
See 


Changes:


--
[...truncated 41.76 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]   

Jenkins build is back to normal : TourDeFlexMigration #553

2020-01-26 Thread apacheroyaleci
See 




Build failed in Jenkins: Royale_ASDoc_Example #554

2020-01-26 Thread apacheroyaleci
See 


Changes:

[harbs] target should be public

[harbs] don't need private tags


--
[...truncated 40.49 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 

Re: Build failed in Jenkins: Royale_ASDoc_Example #553

2020-01-26 Thread Harbs
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 
> 
> 
> 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] 
>