From c92c5c3633edab05307b7f61efbdc9b65e3d0639 Mon Sep 17 00:00:00 2001
From: Stefan Bodewig
Date: Tue, 6 Apr 2004 14:09:25 +0000
Subject: [PATCH] Document build.clonevm
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276282 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/CoreTasks/java.html | 9 ++++++++
docs/manual/OptionalTasks/junit.html | 9 ++++++++
docs/manual/clonevm.html | 34 ++++++++++++++++++++++++++++
docs/manual/conceptstypeslist.html | 1 +
4 files changed, 53 insertions(+)
create mode 100644 docs/manual/clonevm.html
diff --git a/docs/manual/CoreTasks/java.html b/docs/manual/CoreTasks/java.html
index 879a7d220..fb9c2650c 100644
--- a/docs/manual/CoreTasks/java.html
+++ b/docs/manual/CoreTasks/java.html
@@ -178,6 +178,15 @@ EOF (-1). This is a change from Ant 1.5, where such an attempt would block.
recommended to use this feature only if fork is enabled.
No |
+
+ clonevm |
+ If set to true true, then all system properties
+ and the bootclasspath of the forked Java Virtual Machine will be
+ the same as those of the Java VM running Ant. Default is
+ "false" (ignored if fork is disabled).
+ since Ant 1.7 |
+ No |
+
Parameters specified as nested elements
arg and jvmarg
diff --git a/docs/manual/OptionalTasks/junit.html b/docs/manual/OptionalTasks/junit.html
index 39b4b903b..9569b9c68 100644
--- a/docs/manual/OptionalTasks/junit.html
+++ b/docs/manual/OptionalTasks/junit.html
@@ -156,6 +156,15 @@ elements).
Since Ant 1.6.
No; default is true . |
+
+ clonevm |
+ If set to true true, then all system properties
+ and the bootclasspath of the forked Java Virtual Machine will be
+ the same as those of the Java VM running Ant. Default is
+ "false" (ignored if fork is disabled).
+ since Ant 1.7 |
+ No |
+
By using the errorproperty
and failureproperty
diff --git a/docs/manual/clonevm.html b/docs/manual/clonevm.html
new file mode 100644
index 000000000..bbd9d9743
--- /dev/null
+++ b/docs/manual/clonevm.html
@@ -0,0 +1,34 @@
+
+
+
+
+build.clonevm
+
+
+
+
+
+
+Since Ant 1.7
+
+The value of the build.clonevm system property controls how Ant
+instruments forked Java Virtual Machines. The java and junit tasks support clonevm
+attributes to control the VMs on a task-by-task basis while the system
+property applies to all forked Java VMs.
+
+If the value of the property is true, then all system properties
+and the bootclasspath of the forked Java Virtual Machine will be the
+same as those of the Java VM running Ant.
+
+Note that this has to be a system property, so it cannot be
+specified on the Ant command line. Use the ANT_OPTS environment
+variable instead.
+
+
+Copyright © 2004 The Apache Software Foundation. All rights
+Reserved.
+
+
+
diff --git a/docs/manual/conceptstypeslist.html b/docs/manual/conceptstypeslist.html
index 2aaf57215..41cc73f14 100644
--- a/docs/manual/conceptstypeslist.html
+++ b/docs/manual/conceptstypeslist.html
@@ -11,6 +11,7 @@
Concepts
+build.clonevm
build.sysclasspath
Common Attributes