This is an automated email from the ASF dual-hosted git repository. cdutz pushed a commit to branch feature/distribution-allignment in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit e6bca555cb8b88b45fbeca207cc83edae84866aa Author: greg-dove <[email protected]> AuthorDate: Sat Feb 27 10:57:54 2021 +1300 reduce build noise, avoid warnings for (presumably) intentional 'this within closure' usage (matches maven build) --- .../js/projects/MXRoyaleJS/src/main/config/compile-js-config.xml | 3 +++ frameworks/projects/MXRoyale/src/main/config/compile-swf-config.xml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/frameworks/js/projects/MXRoyaleJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/MXRoyaleJS/src/main/config/compile-js-config.xml index ba023db..e906ba0 100644 --- a/frameworks/js/projects/MXRoyaleJS/src/main/config/compile-js-config.xml +++ b/frameworks/js/projects/MXRoyaleJS/src/main/config/compile-js-config.xml @@ -91,6 +91,9 @@ <!-- Use of the instanceof operator. --> <warn-instance-of-changes>false</warn-instance-of-changes> + + <!-- avoid warnings for 'this within closure' (multiple, intentional) --> + <warn-this-within-closure>false</warn-this-within-closure> </compiler> <export-protected-symbols>true</export-protected-symbols> diff --git a/frameworks/projects/MXRoyale/src/main/config/compile-swf-config.xml b/frameworks/projects/MXRoyale/src/main/config/compile-swf-config.xml index 62e8da4..06d5442 100644 --- a/frameworks/projects/MXRoyale/src/main/config/compile-swf-config.xml +++ b/frameworks/projects/MXRoyale/src/main/config/compile-swf-config.xml @@ -96,6 +96,9 @@ <!-- Use of the instanceof operator. --> <warn-instance-of-changes>false</warn-instance-of-changes> + + <!-- avoid warnings for 'this within closure' (multiple, intentional) --> + <warn-this-within-closure>false</warn-this-within-closure> </compiler> <include-file>
