That’s a js type.

Weird that Maven complains about that, but ant doesn’t.

Any thoughts as to why?

> On Dec 27, 2021, at 1:19 PM, Yishay Weiss <yishayj...@hotmail.com> wrote:
> 
> Harbs, I think you missed an import for MediaSource
> 
> 
> 
> F:\jenkins\jenkins-slave\712657a4\workspace\Royale\Royale-typedefs\GCL\src\main\royale\goog\html\SafeUrl.as(62):
>  col: 54 Error: Type was not found or was not a compile-time constant: 
> MediaSource.
> 
> 
> 
>               public static function 
> fromMediaSource(mediaSource:MediaSource):SafeUrl{return null}
> 
> 
> From: Apache Jenkins Server<mailto:jenk...@builds.apache.org>
> Sent: Monday, December 27, 2021 12:35 PM
> To: royale-bui...@royale.apache.org<mailto:royale-bui...@royale.apache.org>
> Subject: Build failed in Jenkins: Royale » Royale-typedefs » Apache Royale: 
> TypeDefs: GCL #1133
> 
> See 
> <https://ci-builds.apache.org/job/Royale/job/Royale-typedefs/org.apache.royale.typedefs$royale-typedefs-gcl/1133/display/redirect?page=changes>
> 
> Changes:
> 
> [Harbs] Added typedefs for sanitize
> 
> [Harbs] not native
> 
> 
> ------------------------------------------
> [INFO]
> [INFO] -----------< org.apache.royale.typedefs:royale-typedefs-gcl 
> >-----------
> [INFO] Building Apache Royale: TypeDefs: GCL 0.9.9-SNAPSHOT              
> [6/12]
> [INFO] --------------------------------[ swc 
> ]---------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ 
> royale-typedefs-gcl ---
> [INFO] Deleting 
> F:\jenkins\jenkins-slave\712657a4\workspace\Royale\Royale-typedefs\GCL\target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ 
> royale-typedefs-gcl ---
> [INFO]
> [INFO] --- royale-maven-plugin:0.9.9-SNAPSHOT:generate-extern 
> (default-generate-extern) @ royale-typedefs-gcl ---
> [INFO]
> [INFO] --- royale-maven-plugin:0.9.9-SNAPSHOT:generate-playerglobal 
> (default-generate-playerglobal) @ royale-typedefs-gcl ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.7.0:process 
> (process-resource-bundles) @ royale-typedefs-gcl ---
> [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
> [INFO] Copying 3 resources from 1 bundle.
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ 
> royale-typedefs-gcl ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory 
> F:\jenkins\jenkins-slave\712657a4\workspace\Royale\Royale-typedefs\GCL\src\main\resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- royale-maven-plugin:0.9.9-SNAPSHOT:compile-as (default-compile-as) 
> @ royale-typedefs-gcl ---
> [INFO]
> [INFO] --- royale-maven-plugin:0.9.9-SNAPSHOT:compile-js (default-compile-js) 
> @ royale-typedefs-gcl ---
> [INFO]
> [INFO] --- royale-maven-plugin:0.9.9-SNAPSHOT:compile-extern 
> (default-compile-extern) @ royale-typedefs-gcl ---
> [INFO] Executing COMPC in tool group Royale with args: 
> [-load-config=F:\jenkins\jenkins-slave\712657a4\workspace\Royale\Royale-typedefs\GCL\target\compile-extern-config.xml,
>  -compiler.targets=SWF]
> args:
> -load-config=F:\jenkins\jenkins-slave\712657a4\workspace\Royale\Royale-typedefs\GCL\target\compile-extern-config.xml
> -compiler.targets=SWF
> target:SWF
> COMPC
> Loading configuration: 
> F:\jenkins\jenkins-slave\712657a4\workspace\Royale\Royale-typedefs\GCL\target\compile-extern-config.xml
> 
> F:\jenkins\jenkins-slave\712657a4\workspace\Royale\Royale-typedefs\GCL\src\main\royale\goog\html\SafeUrl.as(62):
>  col: 54 Error: Type was not found or was not a compile-time constant: 
> MediaSource.
> 
>                public static function 
> fromMediaSource(mediaSource:MediaSource):SafeUrl{return null}
>                                                                   ^
> 
> F:\jenkins\jenkins-slave\712657a4\workspace\Royale\Royale-typedefs\GCL\src\main\royale\goog\html\SafeUrl.as(62):
>  col: 54 Type was not found or was not a compile-time constant: MediaSource.
> 
>                public static function 
> fromMediaSource(mediaSource:MediaSource):SafeUrl{return null}
>                                                                   ^
> 
> 0.220461444 seconds
> 

Reply via email to