diff --git a/WHATSNEW b/WHATSNEW index 9229d4825..d07846d90 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -8,6 +8,13 @@ Changes that could break older environments: supporting Java Advanced Imaging are removed; imageio task (based on ImageIO and AWT) is provided as a replacement. + * junitlauncher task has changed the class names and package names of + the task as well as some of the supporting classes of that task. If + any code depended on these class or package names, they will have to + be updated to reference these newly named classes. This however, + doesn't impact build scripts if their reference to junitlauncher task + was merely through the use of the element. + Fixed bugs: ----------- @@ -46,8 +53,8 @@ Other changes: * the selector has a new built-in algorithm 'lastmodified' which computes a value based upon the lastmodified time of the file. - * junitlauncher task now supports forking and can be used with JaCoCo - (see https://github.com/jacoco/jacoco/issues/673). + * junitlauncher task now supports running tests in a forked JVM. More + details available in the junitlauncher task manual. * signjar and verifyjar now support the -providerName, -providerClass and -providerArg command line options of keytool via new attributes. diff --git a/manual/Tasks/junitlauncher.html b/manual/Tasks/junitlauncher.html index 1eb8b6b0e..18d563e96 100644 --- a/manual/Tasks/junitlauncher.html +++ b/manual/Tasks/junitlauncher.html @@ -576,6 +576,24 @@ the new JVM instance that will be created to launch the tests. than this configured value, then the JVM is killed No + + includeJUnitPlatformLibraries + If set to true, then the jar files that make up the + JUnit platform, will be included in the runtime classpath of the forked + JVM. If set to false, then the configured classpath + of this task, which will be made available to the runtime classpath of the forked + JVM, is expected to contain the JUnit platform library jars + No. Value defaults to true. + + + includeAntRuntimeLibraries + If set to true, then the jar files that make up the + Ant runtime, will be included in the runtime classpath of the forked + JVM. If set to false, then the configured classpath + of this task, which will be made available to the runtime classpath of the forked + JVM, is expected to contain the Ant runtime jars + No. Value defaults to true. + The fork element allows the following nested elements: