Browse Source

Document build.clonevm

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276282 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 21 years ago
parent
commit
c92c5c3633
4 changed files with 53 additions and 0 deletions
  1. +9
    -0
      docs/manual/CoreTasks/java.html
  2. +9
    -0
      docs/manual/OptionalTasks/junit.html
  3. +34
    -0
      docs/manual/clonevm.html
  4. +1
    -0
      docs/manual/conceptstypeslist.html

+ 9
- 0
docs/manual/CoreTasks/java.html View File

@@ -178,6 +178,15 @@ EOF (-1). This is a change from Ant 1.5, where such an attempt would block.</p>
recommended to use this feature only if fork is enabled.</strong></td>
<td align="center" valign="top">No</td>
</tr>
<tr>
<td valign="top">clonevm</td>
<td valign="top">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
&quot;false&quot; (ignored if fork is disabled).
<em>since Ant 1.7</em></td>
<td align="center" valign="top">No</td>
</tr>
</table>
<h3>Parameters specified as nested elements</h3>
<h4>arg and jvmarg</h4>


+ 9
- 0
docs/manual/OptionalTasks/junit.html View File

@@ -156,6 +156,15 @@ elements</a>).</p>
<em>Since Ant 1.6</em>.</td>
<td align="center" valign="top">No; default is <code>true</code>.</td>
</tr>
<tr>
<td valign="top">clonevm</td>
<td valign="top">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
&quot;false&quot; (ignored if fork is disabled).
<em>since Ant 1.7</em></td>
<td align="center" valign="top">No</td>
</tr>
</table>

<p>By using the <code>errorproperty</code> and <code>failureproperty</code>


+ 34
- 0
docs/manual/clonevm.html View File

@@ -0,0 +1,34 @@
<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<title>build.clonevm</title>
</head>

<body>

<h2><a name="clonevm">build.clonevm</a></h2>

<p><em>Since Ant 1.7</em></p>

<p>The value of the build.clonevm system property controls how Ant
instruments forked Java Virtual Machines. The <a
href="CoreTasks/java.html">java</a> and <a
href="OptionalTasks/junit.html">junit</a> tasks support clonevm
attributes to control the VMs on a task-by-task basis while the system
property applies to all forked Java VMs.</p>

<p>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.</p>

<p>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.</p>

<hr>
<p align="center">Copyright &copy; 2004 The Apache Software Foundation. All rights
Reserved.</p>
</body>
</html>


+ 1
- 0
docs/manual/conceptstypeslist.html View File

@@ -11,6 +11,7 @@
<h2><a href="toc.html" target="navFrame">Table of Contents</a></h2>

<h3>Concepts</h3>
<a href="clonevm.html">build.clonevm</a><br>
<a href="sysclasspath.html">build.sysclasspath</a><br>
<a href="CoreTasks/common.html">Common Attributes</a><br>



Loading…
Cancel
Save