You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by gr...@apache.org on 2021/02/26 21:58:36 UTC
[royale-asjs] 02/02: reduce build noise,
avoid warnings for (presumably) intentional 'this within closure'
usage (matches maven build)
This is an automated email from the ASF dual-hosted git repository.
gregdove pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit a9558aa928390357c7e8e77ff9cc126c35b6a794
Author: greg-dove <gr...@gmail.com>
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>