summaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorJaikiran Pai <jaikiran@apache.org>2023-03-02 13:05:24 +0530
committerJaikiran Pai <jaikiran@apache.org>2023-03-02 13:05:24 +0530
commit59e456372f96b85a7f1a012f607edfc6b8f459bc (patch)
treec63ecf300286b646125e7d34d922fd644e77f530 /manual
parent4dbe7a2a600fde2cf4cc525f4985a81f9616fab8 (diff)
downloadant-59e456372f96b85a7f1a012f607edfc6b8f459bc.tar.gz
66464: junitlauncher task's fork element now has a new optional "java" attribute to allow specifying a different Java installation to run the forked tests
Diffstat (limited to 'manual')
-rw-r--r--manual/Tasks/junitlauncher.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/manual/Tasks/junitlauncher.html b/manual/Tasks/junitlauncher.html
index 0f20648e4..acecdddd5 100644
--- a/manual/Tasks/junitlauncher.html
+++ b/manual/Tasks/junitlauncher.html
@@ -631,6 +631,15 @@ the new JVM instance that will be created to launch the tests.
JVM, is expected to contain the Ant runtime jars</td>
<td>No. Value defaults to <code>true</code>.</td>
</tr>
+ <tr>
+ <td>java</td>
+ <td>The command used to launch the forked <code>java</code> process. This attribute can be set
+ to point to a different installation of Java than the one that is currently being used to
+ run the Ant build
+ <p><em>Since Ant 1.10.14</em></p>
+ </td>
+ <td>No</td>
+ </tr>
</table>
The <code>fork</code> element allows the following nested elements: