You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

clonevm.html 1.9 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. -->
  15. <html>
  16. <head>
  17. <meta http-equiv="Content-Language" content="en-us">
  18. <link rel="stylesheet" type="text/css" href="stylesheets/style.css">
  19. <title>ant.build.clonevm</title>
  20. </head>
  21. <body>
  22. <h2 id="clonevm">ant.build.clonevm</h2>
  23. <p><em>Since Apache Ant 1.7</em></p>
  24. <p>The value of the <code>ant.build.clonevm</code> system property
  25. controls how Ant instruments forked JVMs. The <a href="Tasks/java.html">java</a>
  26. and <a href="Tasks/junit.html">junit</a> tasks support <var>clonevm</var>
  27. attributes to control JVMs on a task-by-task basis while the system
  28. property applies to all forked JVMs.</p>
  29. <p>If the value of the property is <q>true</q>, then all system properties of
  30. the forked JVM will be the same as those of the JVM running Ant. In
  31. addition, if you set <code>ant.build.clonevm</code> to <q>true</q>
  32. and <a href="sysclasspath.html">build.sysclasspath</a> has not been
  33. set, the <var>bootclasspath</var> of forked JVMs gets constructed as
  34. if <code>build.sysclasspath</code> had the value <q>last</q>.</p>
  35. <p>Note that this has to be a system property, so it cannot be
  36. specified on the Ant command line. Use the <code>ANT_OPTS</code>
  37. environment variable instead.</p>
  38. </body>
  39. </html>