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 + + + + +

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 @@

Table of Contents

Concepts

+build.clonevm
build.sysclasspath
Common Attributes