You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2018/09/17 10:54:56 UTC
[royale-asjs] branch develop updated: - Basic tasks.json for VSCode
updated,
and remove launch.json - fix a var in UIModuleUtils from warning at compile
time
This is an automated email from the ASF dual-hosted git repository.
carlosrovira 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 68ea323 - Basic tasks.json for VSCode updated, and remove launch.json - fix a var in UIModuleUtils from warning at compile time
68ea323 is described below
commit 68ea323ba249526e24caec7725bbec1d10eaa4e8
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Mon Sep 17 12:54:49 2018 +0200
- Basic tasks.json for VSCode updated, and remove launch.json
- fix a var in UIModuleUtils from warning at compile time
---
frameworks/projects/Basic/.vscode/launch.json | 21 -------
frameworks/projects/Basic/.vscode/tasks.json | 70 ++++++++++++++++++++--
.../org/apache/royale/utils/UIModuleUtils.as | 3 +
3 files changed, 67 insertions(+), 27 deletions(-)
diff --git a/frameworks/projects/Basic/.vscode/launch.json b/frameworks/projects/Basic/.vscode/launch.json
deleted file mode 100644
index 5dfb672..0000000
--- a/frameworks/projects/Basic/.vscode/launch.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "version": "0.2.0",
- "configurations": [
- {
- "name": "Launch Chrome against debug.html, with sourcemaps",
- "type": "chrome",
- "request": "launch",
- "file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html",
- "sourceMaps": true,
- "preLaunchTask": "mvn"
- },
- {
- "name": "Launch Firefox against debug.html, with sourcemaps",
- "type": "firefox",
- "request": "launch",
- "file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html",
- "sourceMaps": true,
- "preLaunchTask": "mvn"
- }
- ]
-}
diff --git a/frameworks/projects/Basic/.vscode/tasks.json b/frameworks/projects/Basic/.vscode/tasks.json
index 5d6198d..4a047cb 100644
--- a/frameworks/projects/Basic/.vscode/tasks.json
+++ b/frameworks/projects/Basic/.vscode/tasks.json
@@ -1,8 +1,66 @@
{
- // for the documentation about the tasks.json format
- "version": "0.1.0",
- "command": "mvn",
- "args": ["clean", "install", "-DskipTests"],
- "isShellCommand": true,
- "showOutput": "always"
+ // See https://go.microsoft.com/fwlink/?LinkId=733558
+ // for the documentation about the tasks.json format
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "label": "Build Debug with AS3 Extension",
+ "type": "actionscript",
+ "debug": true,
+ "problemMatcher": [
+ "$nextgenas_nomatch"
+ ],
+ "group": "build"
+ },
+ {
+ "label": "Build with Maven",
+ "type": "shell",
+ "command": "mvn",
+ "args": [
+ "clean",
+ "install",
+ "-DskipTests"
+ ],
+ "group": "build",
+ "presentation": {
+ "reveal": "always",
+ "panel": "new"
+ },
+ "problemMatcher": []
+ },
+ {
+ "label": "Build Release with AS3 Extension",
+ "type": "actionscript",
+ "debug": false,
+ "problemMatcher": [
+ "$nextgenas_nomatch"
+ ],
+ "group": "build"
+ },
+ {
+ "label": "build with asconfigc",
+ "type": "shell",
+ "command": "asconfigc",
+ "windows": {
+ "args": [
+ "--sdk=C:\\Apache\\royale-asjs"
+ ]
+ },
+ "osx": {
+ "args": [
+ "--sdk=${env:ROYALE_HOME}"
+ ]
+ },
+ "presentation": {
+ "echo": true,
+ "reveal": "always",
+ "focus": true,
+ "panel": "dedicated"
+ },
+ "problemMatcher": [
+ "$nextgenas_nomatch"
+ ],
+ "group": "build"
+ }
+ ]
}
\ No newline at end of file
diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/utils/UIModuleUtils.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/utils/UIModuleUtils.as
index fe557cf..1f4840d 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/utils/UIModuleUtils.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/utils/UIModuleUtils.as
@@ -106,6 +106,9 @@ package org.apache.royale.utils
public var swfLoader:Loader;
COMPILE::JS
+ /**
+ * @royalesuppresspublicvarwarning
+ */
public var jsLoader:WrappedHTMLElement;
COMPILE::JS