You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2021/12/12 11:19:40 UTC
[royale-asjs] branch develop updated: Removed warnings in SparkRoyale
This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 182904d Removed warnings in SparkRoyale
182904d is described below
commit 182904d57fe53f894133ea5fa843be500f11a145
Author: Harbs <ha...@in-tools.com>
AuthorDate: Sun Dec 12 13:19:27 2021 +0200
Removed warnings in SparkRoyale
---
.../src/main/config/compile-js-config.xml | 1 +
frameworks/projects/SparkRoyale/asconfig.json | 26 +++++++++++++++++++---
.../src/main/config/compile-swf-config.xml | 1 +
3 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/frameworks/js/projects/SparkRoyaleJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/SparkRoyaleJS/src/main/config/compile-js-config.xml
index 7a1f198..ab405d5 100644
--- a/frameworks/js/projects/SparkRoyaleJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/SparkRoyaleJS/src/main/config/compile-js-config.xml
@@ -70,6 +70,7 @@
<path-element>../../../../../libs/NetworkJS.swc</path-element>
<path-element>../../../../../libs/ChartsJS.swc</path-element>
<path-element>../../../../../libs/MXRoyaleJS.swc</path-element>
+ <path-element>../../../../../libs/MXRoyaleBaseJS.swc</path-element>
<path-element>../../../../../libs/ReflectionJS.swc</path-element>
<path-element>../../../../../libs/TextJS.swc</path-element>
<path-element>../../../../../libs/TLFJS.swc</path-element>
diff --git a/frameworks/projects/SparkRoyale/asconfig.json b/frameworks/projects/SparkRoyale/asconfig.json
index cca6ca6..a6aa346 100644
--- a/frameworks/projects/SparkRoyale/asconfig.json
+++ b/frameworks/projects/SparkRoyale/asconfig.json
@@ -32,10 +32,30 @@
"source-path": [
"src/main/royale"
],
+ "js-external-library-path": [
+ "../../js/libs/MXRoyaleJS.swc",
+ "../../js/libs/MXRoyaleBaseJS.swc"
+ ],
"external-library-path": [
- "../../../../frameworks/libs/air/airglobal.swc"
+ "../../../../frameworks/libs/air/airglobal.swc",
+ "../../libs/MXRoyale.swc",
+ "../../libs/MXRoyaleBase.swc"
+
+ ],
+ "namespace": [
+ {
+ "uri": "library://ns.apache.org/royale/spark",
+ "manifest": "src/main/resources/spark-royale-manifest.xml"
+ }
],
"output": "target/SparkRoyale.swc"
},
- "additionalOptions": "-compiler.define+=ROYALE::DISPLAYOBJECT,DisplayObject -js-compiler-define+=ROYALE::DISPLAYOBJECT,IUIComponent -js-compiler-define+=COMPILE::SWF,false -js-compiler-define+=COMPILE::JS,true"
-}
\ No newline at end of file
+ "additionalOptions": [
+ "-compiler.define+=GOOG::DEBUG,true",
+ "-compiler.define+=ROYALE::DISPLAYOBJECT,DisplayObject",
+ "-js-compiler-define+=GOOG::DEBUG,goog.DEBUG",
+ "-js-compiler-define+=ROYALE::DISPLAYOBJECT,IUIComponent",
+ "-js-compiler-define+=COMPILE::SWF,false",
+ "-js-compiler-define+=COMPILE::JS,true"
+ ]
+}
diff --git a/frameworks/projects/SparkRoyale/src/main/config/compile-swf-config.xml b/frameworks/projects/SparkRoyale/src/main/config/compile-swf-config.xml
index 95c1a86..6103149 100644
--- a/frameworks/projects/SparkRoyale/src/main/config/compile-swf-config.xml
+++ b/frameworks/projects/SparkRoyale/src/main/config/compile-swf-config.xml
@@ -39,6 +39,7 @@
<path-element>../../../../../libs/DragDrop.swc</path-element>
<path-element>../../../../../libs/HTML.swc</path-element>
<path-element>../../../../../libs/MXRoyale.swc</path-element>
+ <path-element>../../../../../libs/MXRoyaleBase.swc</path-element>
<path-element>../../../../../libs/Reflection.swc</path-element>
<path-element>../../../../../libs/Text.swc</path-element>
<path-element>../../../../../libs/TLF.swc</path-element>