blob: b0a53420944e949b102c95e54f2b9fa5403eabef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<link rel="stylesheet" type="text/css" href="stylesheets/style.css">
<title>ant.build.clonevm</title>
</head>
<body>
<h2><a name="clonevm">ant.build.clonevm</a></h2>
<p><em>Since Apache Ant 1.7</em></p>
<p>The value of the ant.build.clonevm system property controls how Ant
instruments forked Java Virtual Machines. The <a
href="Tasks/java.html">java</a> and <a
href="Tasks/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 of
the forked Java Virtual Machine will be the same as those of the Java
VM running Ant. In addition, if you set ant.build.clonevm to true and <a
href="sysclasspath.html">build.sysclasspath</a> has not been set, the
bootclasspath of forked Java VMs gets constructed as if
build.sysclasspath had the value "last".</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>
</body>
</html>
|