You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by jo...@apache.org on 2020/07/23 06:59:16 UTC
[isis] branch ISIS-2348 updated: ISIS-2348 gradle debug task added
This is an automated email from the ASF dual-hosted git repository.
joergrade pushed a commit to branch ISIS-2348
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/ISIS-2348 by this push:
new b09425a ISIS-2348 gradle debug task added
b09425a is described below
commit b09425a3005c400ebc65f17ea72b1a952ba336b7
Author: Jörg Rade <jo...@kuehne-nagel.com>
AuthorDate: Thu Jul 23 08:58:55 2020 +0200
ISIS-2348 gradle debug task added
---
examples/demo/wicket/build.gradle | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/examples/demo/wicket/build.gradle b/examples/demo/wicket/build.gradle
index 1f21c57..f2d835b 100644
--- a/examples/demo/wicket/build.gradle
+++ b/examples/demo/wicket/build.gradle
@@ -31,3 +31,9 @@ task packageTests(type: Jar) {
classifier = 'tests'
}
artifacts.archives packageTests
+
+tasks.withType(JavaExec) {
+ if (System.getProperty('DEBUG', 'false') == 'true') {
+ jvmArgs '-Xdebug', '-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005'
+ }
+}