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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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><a name="clonevm">ant.build.clonevm</a></h2>
  23. <p><em>Since Ant 1.7</em></p>
  24. <p>The value of the ant.build.clonevm system property controls how Ant
  25. instruments forked Java Virtual Machines. The <a
  26. href="CoreTasks/java.html">java</a> and <a
  27. href="OptionalTasks/junit.html">junit</a> tasks support clonevm
  28. attributes to control the VMs on a task-by-task basis while the system
  29. property applies to all forked Java VMs.</p>
  30. <p>If the value of the property is true, then all system properties of
  31. the forked Java Virtual Machine will be the same as those of the Java
  32. VM running Ant. In addition, if you set ant.build.clonevm to true and <a
  33. href="sysclasspath.html">build.sysclasspath</a> has not been set, the
  34. bootclasspath of forked Java VMs gets constructed as if
  35. build.sysclasspath had the value "last".</p>
  36. <p>Note that this has to be a system property, so it cannot be
  37. specified on the Ant command line. Use the ANT_OPTS environment
  38. variable instead.</p>
  39. </body>
  40. </html>