From 1eaba755b1a8429a5f535c600f2c990579094b37 Mon Sep 17 00:00:00 2001 From: Martin Entlicher Date: Thu, 8 Nov 2018 14:10:23 +0100 Subject: [PATCH] Make run and debug work in NetBeans and execute with graal compiler. --- nbactions.xml | 27 +++++++++++++++++++++++++++ pom.xml | 4 ++++ 2 files changed, 31 insertions(+) create mode 100644 nbactions.xml diff --git a/nbactions.xml b/nbactions.xml new file mode 100644 index 0000000..36fc24d --- /dev/null +++ b/nbactions.xml @@ -0,0 +1,27 @@ + + + + run + + jar + + + process-classes + exec:exec + + + + debug + + jar + + + process-classes + exec:exec + + + -agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address} + true + + + diff --git a/pom.xml b/pom.xml index 1dfb82e..c171c0d 100644 --- a/pom.xml +++ b/pom.xml @@ -10,6 +10,7 @@ 1.0.0-rc9 ${project.build.directory}/compiler + -Dignore @@ -117,6 +118,7 @@ -classpath + ${debug.args} -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI --upgrade-module-path=${compiler.dir}/compiler.jar @@ -205,6 +207,7 @@ -classpath + ${debug.args} com.mycompany.app.App @@ -249,6 +252,7 @@ -classpath + ${debug.args}