c:\somewhere\royale-asjs>cd js\lib
c:\somewhere\royale-asjs\js\lib>findstr /s SafeHtml *
(nothing;  same thing for Sanitizer)

Whatever it's pulling down has not been updated.


On 1/4/2022 5:27 PM, Alex Harui wrote:
> Specifically, the royale-asjs/js/lib folder needs to be removed and refreshed 
> via the build scripts.  Using 'ant  super-clean' will wipe that and more, or 
> just delete that folder manually before building.  Once it is refreshed it 
> won't need later refreshing until we again change its contents.
>
> On 1/4/22, 3:24 PM, "Harbs" <harbs.li...@gmail.com> wrote:
>
>     Did you wipe and build everything?
>
>     It needs to re-download and extract the goog libraries.
>
>     > On Jan 5, 2022, at 1:22 AM, Edward Stangler <estang...@bradmark.com> 
> wrote:
>     > 
>     > I haven't been following the latest, so perhaps this is a known issue 
> at the moment.
>     > 
>     > A brand new directory with latest royale-asjs copied in is failing with 
> the following (just running "ant"):
>     > 
>     > 
>     > compile:
>     >     [echo] Cross-compiling CoreJS.swc
>     >     [echo] ROYALE_COMPILER_HOME: c:\somewhere\royale-asjs/js
>     >    [mkdir] Created dir: 
> c:\somewhere\royale-asjs\frameworks\js\projects\CoreJS\target\generated-sources\royale
>     >     [java] args:
>     >     [java] +royalelib=c:\somewhere\royale-asjs/frameworks
>     >     [java] -compiler.strict-xml=true
>     >     [java] -compiler.targets=SWF,JSRoyale
>     >     [java] -metadata.date=01/04/22 17:14 -0600
>     >     [java] -metadata.dateFormat=MM/dd/yy HH:mm Z
>     >     [java] -swf-debugfile-alias=/org/apache/royale/0.9.9
>     >     [java] 
> -output=c:\somewhere\royale-asjs\frameworks\js\projects\CoreJS/target/CoreJS.swc
>     >     [java] 
> -load-config=c:\somewhere\royale-asjs/frameworks/js-config.xml
>     >     [java] 
> -load-config+=c:\somewhere\royale-asjs\frameworks\js\projects\CoreJS/src/main/config/compile-js-config.xml
>     >     [java] target:SWF
>     >     [java] target:JSRoyale
>     >     [java] COMPC
>     >     [java] Loading configuration: 
> c:\somewhere\royale-asjs\frameworks\js-config.xml
>     >     [java] Loading configuration: 
> c:\somewhere\royale-asjs\frameworks\js\projects\CoreJS\src\main\config\compile-js-config.xml
>     >     [java]
>     >     [java] 
> c:\somewhere\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(36):
>  col: 12 Warning: Encountered this keyword within closure. Value of this will 
> not be the same as enclosing scope.
>     >     [java]
>     >     [java]                             return this[privateProp];
>     >     [java]                                    ^
>     >     [java]
>     >     [java] 
> c:\somewhere\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\object\defineSimpleProperty.as(39):
>  col: 5 Warning: Encountered this keyword within closure. Value of this will 
> not be the same as enclosing scope.
>     >     [java]
>     >     [java]                             this[privateProp] = val;
>     >     [java]                             ^
>     >     [java]
>     >     [java] 
> c:\somewhere\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\string\InternalHtmlSanitizer.as(22):
>  col: 10 Warning: Definition goog.html.sanitizer.HtmlSanitizer could not be 
> found.
>     >     [java]
>     >     [java]             import goog.html.sanitizer.HtmlSanitizer;
>     >     [java]                    ^
>     >     [java]
>     >     [java] 
> c:\somewhere\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\string\InternalHtmlSanitizer.as(23):
>  col: 10 Warning: Definition goog.html.SafeHtml could not be found.
>     >     [java]
>     >     [java]             import goog.html.SafeHtml;
>     >     [java]                    ^
>     >     [java]
>     >     [java] 
> c:\somewhere\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\string\InternalHtmlSanitizer.as(26):
>  col: 47 Error: The definition of base class HtmlSanitizer was not found.
>     >     [java]
>     >     [java]     internal class InternalHtmlSanitizer extends 
> HtmlSanitizer
>     >     [java]                                                  ^
>     >     [java]
>     >     [java] 
> c:\somewhere\royale-asjs\frameworks\projects\Core\src\main\royale\org\apache\royale\utils\string\InternalHtmlSanitizer.as(32):
>  col: 48 Error: Type was not found or was not a compile-time constant: 
> SafeHtml.
>     >     [java]
>     >     [java]             public static function 
> sanitize(html:String):SafeHtml
>     > 
>
>
>

Reply via email to