-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FUSETOOLS-2249: Provide build and start tasks for a native build of C…
…amel Quarkus application Signed-off-by: Dominik Jelinek <[email protected]>
- Loading branch information
Showing
6 changed files
with
105 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
src/ui-test/resources/tasks-examples/06_build_native_camel_quarkus_debug.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Build a Camel Quarkus application as a Native executable debug-ready", | ||
"detail": "This task will build Camel Quarkus application with JMX and Camel Debugger enabled using GraalVM", | ||
"type": "shell", | ||
"command": "./mvnw", | ||
"args": [ | ||
"install", | ||
"-Dnative", | ||
"'-Dquarkus.native.monitoring=jmxserver,jmxclient'", | ||
"'-Dquarkus.camel.debug.enabled=true'", | ||
"'-Pcamel.debug'" // This depends on your project | ||
], | ||
"problemMatcher": [], | ||
"presentation": { | ||
"reveal": "always" | ||
} | ||
} | ||
] | ||
} |
18 changes: 18 additions & 0 deletions
18
src/ui-test/resources/tasks-examples/07_start_native_camel_quarkus_debug.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Start Camel native application debug-ready", | ||
"detail": "This task will start Camel native application with Maven Quarkus Native and camel.debug profile", | ||
"type": "shell", | ||
"command": "./target/*-runner", | ||
"problemMatcher": "$camel.debug.problemMatcher", | ||
"presentation": { | ||
"reveal": "always" | ||
}, | ||
"isBackground": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters