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.2 KiB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <link rel="stylesheet" type="text/css" href="stylesheets/style.css"/>
  5. <title>ant.build.clonevm</title>
  6. </head>
  7. <body>
  8. <h2><a name="clonevm">ant.build.clonevm</a></h2>
  9. <p><em>Since Ant 1.7</em></p>
  10. <p>The value of the ant.build.clonevm system property controls how Ant
  11. instruments forked Java Virtual Machines. The <a
  12. href="CoreTasks/java.html">java</a> and <a
  13. href="OptionalTasks/junit.html">junit</a> tasks support clonevm
  14. attributes to control the VMs on a task-by-task basis while the system
  15. property applies to all forked Java VMs.</p>
  16. <p>If the value of the property is true, then all system properties of
  17. the forked Java Virtual Machine will be the same as those of the Java
  18. VM running Ant. In addition, if you set ant.build.clonevm to true and <a
  19. href="sysclasspath.html">build.sysclasspath</a> has not been set, the
  20. bootclasspath of forked Java VMs gets constructed as if
  21. build.sysclasspath had the value "last".</p>
  22. <p>Note that this has to be a system property, so it cannot be
  23. specified on the Ant command line. Use the ANT_OPTS environment
  24. variable instead.</p>
  25. <hr>
  26. <p align="center">Copyright &copy; 2004-2005 The Apache Software Foundation. All rights
  27. Reserved.</p>
  28. </body>
  29. </html>