From fe19eca1b1fc2145bfa68838becc6012d116bc49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Bl=C3=A4sing?= Date: Fri, 29 Jul 2016 21:30:28 +0200 Subject: [PATCH] Update build-impl.xml to netbeans 8.1 version (enables debug of tests in IDE) --- contrib/platform/nbproject/build-impl.xml | 1326 +++++++++++++++++---- 1 file changed, 1102 insertions(+), 224 deletions(-) diff --git a/contrib/platform/nbproject/build-impl.xml b/contrib/platform/nbproject/build-impl.xml index 2c1736c0ed..946a8db496 100644 --- a/contrib/platform/nbproject/build-impl.xml +++ b/contrib/platform/nbproject/build-impl.xml @@ -12,52 +12,112 @@ is divided into following sections: - execution - debugging - javadoc - - junit compilation - - junit execution - - junit debugging + - test compilation + - test execution + - test debugging - applet - cleanup ---> - - + --> + + + + + + + + + + ====================== + INITIALIZATION SECTION + ====================== + --> - + + + - + - + + - + + - + + + + + + + + + - - + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -77,9 +137,13 @@ is divided into following sections: - + + + + + @@ -89,12 +153,82 @@ is divided into following sections: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + Must set src.dir Must set test.src.dir Must set build.dir @@ -115,53 +249,488 @@ is divided into following sections: - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + - + + + + + + + + + + - + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + - + + - + + + + + + - - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No tests executed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + + + - - - + + + - + @@ -169,32 +738,56 @@ is divided into following sections: - + - + + + - + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - + + + + + + + - + @@ -203,305 +796,556 @@ is divided into following sections: - + + + - + + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + - - + =================== + COMPILATION SECTION + =================== + --> + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + - + + + + + + + - + - + Must select some files in the IDE or set javac.includes - - - - - + + - + - - + ==================== + JAR BUILDING SECTION + ==================== + --> + + - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + java -jar "${dist.jar.resolved}" + + + + + - java -cp "${run.classpath.with.dist.jar}" ${main.class} + + + + + + + - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - java -jar "${dist.jar.resolved}" + + + + + + - + + - + ================= + EXECUTION SECTION + ================= + --> + - + + + + Must select one file in the IDE or set run.class + + Must select one file in the IDE or set run.class + + - + ================= + DEBUGGING SECTION + ================= + --> + - + + + + - - + + - - + + Must select one file in the IDE or set debug.class - - + + + Must select one file in the IDE or set debug.class + + + + Must set fix.includes - + - + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + Must select one file in the IDE or set profile.class + This target only works when run from inside the NetBeans IDE. + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + + + + + + + + + - + end of pre NB72 profiling section + --> + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + Must select some files in the IDE or set test.includes + + + + + Must select one file in the IDE or set run.class + + + + + Must select one file in the IDE or set applet.url + + + + + - + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + - + - + - + ========================= + TEST COMPILATION SECTION + ========================= + --> + - - + + + + + - + - + - + Must select some files in the IDE or set javac.includes - - - - - + + - + - + - + ======================= + TEST EXECUTION SECTION + ======================= + --> + - - + + - - Some tests failed; see details above. + + Some tests failed; see details above. - - - - + + + + - + Must select some files in the IDE or set test.includes - + + + + Some tests failed; see details above. - - Some tests failed; see details above. + + + Must select some files in the IDE or set test.class + Must select some method in the IDE or set test.method + - + + Some tests failed; see details above. + + - + ======================= + TEST DEBUGGING SECTION + ======================= + --> + Must select one file in the IDE or set test.class - - - - - + - - + + Must select one file in the IDE or set test.class + Must select some method in the IDE or set test.method + - - + + + + + + - + - + ========================= + APPLET EXECUTION SECTION + ========================= + --> + Must select one file in the IDE or set applet.url @@ -510,11 +1354,11 @@ is divided into following sections: - + ========================= + APPLET DEBUGGING SECTION + ========================= + --> + Must select one file in the IDE or set applet.url @@ -522,20 +1366,54 @@ is divided into following sections: - + - - + =============== + CLEANUP SECTION + =============== + --> + + + + + + + + + + + + + + + + + - + - + + + + + + + + + + + + + + + + + + + +