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