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 2020/09/18 17:28:41 UTC

[royale-asjs] branch develop updated: maven-archetypes: improve vscode launch for module projects when added the *whole* project to VSCode

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 079fcad  maven-archetypes: improve vscode launch for module projects when added the *whole* project to VSCode
079fcad is described below

commit 079fcadfd367e16f0c80f851dc7215f411f3b949
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Fri Sep 18 19:28:22 2020 +0200

    maven-archetypes: improve vscode launch for module projects when added the *whole* project to VSCode
---
 .../main/resources/archetype-resources/.vscode/launch.json   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/archetypes/royale-jewel-module-application-archetype/src/main/resources/archetype-resources/.vscode/launch.json b/archetypes/royale-jewel-module-application-archetype/src/main/resources/archetype-resources/.vscode/launch.json
index 34beed6..683e3cb 100644
--- a/archetypes/royale-jewel-module-application-archetype/src/main/resources/archetype-resources/.vscode/launch.json
+++ b/archetypes/royale-jewel-module-application-archetype/src/main/resources/archetype-resources/.vscode/launch.json
@@ -6,7 +6,7 @@
             "name": "Launch Chrome (Debug)",
             "type": "chrome",
             "request": "launch",
-            "url": "file:///${workspaceRoot}/target/javascript/bin/js-debug/index.html",
+            "url": "file:///${workspaceRoot}/${application}/target/javascript/bin/js-debug/index.html",
             "webRoot": "${workspaceRoot}/target/javascript/bin/js-debug",
             "sourceMaps": true,
             "runtimeArgs": ["--auto-ssl-client-auth", "--profile-directory=debug-profile"],
@@ -16,7 +16,7 @@
             "name": "Launch Chrome (Release)",
             "type": "chrome",
             "request": "launch",
-            "url": "file:///${workspaceRoot}/target/javascript/bin/js-release/index.html",
+            "url": "file:///${workspaceRoot}/${application}/target/javascript/bin/js-release/index.html",
             "webRoot": "${workspaceRoot}/target/javascript/bin/js-release",
             "sourceMaps": true,
             "runtimeArgs": ["--auto-ssl-client-auth", "--profile-directory=debug-profile"],
@@ -27,7 +27,7 @@
             "name": "Launch Firefox (Debug)",
             "type": "firefox",
             "request": "launch",
-            "url": "file:///${workspaceRoot}/target/javascript/bin/js-debug/index.html",
+            "url": "file:///${workspaceRoot}/${application}/target/javascript/bin/js-debug/index.html",
             "webRoot": "${workspaceRoot}/target/javascript/bin/js-debug"
         },
         //FIREFOX - RELEASE
@@ -35,7 +35,7 @@
             "name": "Launch Firefox (Release)",
             "type": "firefox",
             "request": "launch",
-            "url": "file:///${workspaceRoot}/target/javascript/bin/js-release/index.html",
+            "url": "file:///${workspaceRoot}/${application}/target/javascript/bin/js-release/index.html",
             "webRoot": "${workspaceRoot}/target/javascript/bin/js-release"
         },
         
@@ -51,7 +51,7 @@
             // "webRoot": "${workspaceFolder}"
             // "file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html",
             //"preLaunchTask": "mvn",
-            "url": "file:///${workspaceRoot}/target/javascript/bin/js-debug/index.html",
+            "url": "file:///${workspaceRoot}/${application}/target/javascript/bin/js-debug/index.html",
             "webRoot": "${workspaceRoot}/target/javascript/bin/js-debug",
             "sourceMaps": true
         },
@@ -65,7 +65,7 @@
             "userDataDir": true,
             // "url": "http://localhost:8080",
             // "webRoot": "${workspaceFolder}"
-            "url": "file:///${workspaceRoot}/target/javascript/bin/js-release/index.html",
+            "url": "file:///${workspaceRoot}/${application}/target/javascript/bin/js-release/index.html",
             "webRoot": "${workspaceRoot}/target/javascript/bin/js-release",
             //"preLaunchTask": "mvn",
             "sourceMaps": true