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/10/17 11:58:01 UTC

[royale-asjs] branch develop updated: sample java amf improve VSCode maven build, and add missed additional compiler options

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 cb87348  sample java amf improve VSCode maven build, and add missed additional compiler options
cb87348 is described below

commit cb87348ecbe4e8e5d3516c7343b42fd3851642a4
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Wed Oct 17 13:57:53 2018 +0200

    sample java amf improve VSCode maven build, and add missed additional compiler options
---
 examples/amf/SampleAmfWebApp/.vscode/tasks.json | 77 ++++++++++++++++++++++---
 examples/mxroyale/RemoteObjectAMFTest/pom.xml   |  1 +
 2 files changed, 70 insertions(+), 8 deletions(-)

diff --git a/examples/amf/SampleAmfWebApp/.vscode/tasks.json b/examples/amf/SampleAmfWebApp/.vscode/tasks.json
index f207ad4..1119e5f 100644
--- a/examples/amf/SampleAmfWebApp/.vscode/tasks.json
+++ b/examples/amf/SampleAmfWebApp/.vscode/tasks.json
@@ -1,9 +1,70 @@
 {
-	// See https://go.microsoft.com/fwlink/?LinkId=733558
-	// 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": {
+                "echo": true,
+                "reveal": "always",
+                "focus": true,
+                "panel": "dedicated"
+            },
+            "problemMatcher": [
+                "$nextgenas_nomatch"
+            ]
+        },
+        {
+            "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/examples/mxroyale/RemoteObjectAMFTest/pom.xml b/examples/mxroyale/RemoteObjectAMFTest/pom.xml
index f412823..4b54651 100644
--- a/examples/mxroyale/RemoteObjectAMFTest/pom.xml
+++ b/examples/mxroyale/RemoteObjectAMFTest/pom.xml
@@ -49,6 +49,7 @@
           <mainClass>App.mxml</mainClass>
           <targets>SWF,JSRoyale</targets>
           <debug>false</debug>
+          <additionalCompilerOptions>-source-map=true;-js-dynamic-access-unknown-members=true</additionalCompilerOptions>
         </configuration>
       </plugin>
       <plugin>