bodewig 2005/01/18 00:37:12 Modified: docs/manual clonevm.html conceptstypeslist.html src/main/org/apache/tools/ant/types CommandlineJava.java src/testcases/org/apache/tools/ant/types CommandlineJavaTest.java Log: build.clonevm -> ant.build.clonevm Revision Changes Path 1.3 +4 -4 ant/docs/manual/clonevm.html Index: clonevm.html =================================================================== RCS file: /home/cvs/ant/docs/manual/clonevm.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- clonevm.html 14 Jan 2005 09:45:54 -0000 1.2 +++ clonevm.html 18 Jan 2005 08:37:12 -0000 1.3 @@ -2,16 +2,16 @@ <head> <meta http-equiv="Content-Language" content="en-us"> -<title>build.clonevm</title> +<title>ant.build.clonevm</title> </head> <body> -<h2><a name="clonevm">build.clonevm</a></h2> +<h2><a name="clonevm">ant.build.clonevm</a></h2> <p><em>Since Ant 1.7</em></p> -<p>The value of the build.clonevm system property controls how Ant +<p>The value of the ant.build.clonevm system property controls how Ant instruments forked Java Virtual Machines. The <a href="CoreTasks/java.html">java</a> and <a href="OptionalTasks/junit.html">junit</a> tasks support clonevm @@ -20,7 +20,7 @@ <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 build.clonevm to true and <a +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> 1.18 +1 -1 ant/docs/manual/conceptstypeslist.html Index: conceptstypeslist.html =================================================================== RCS file: /home/cvs/ant/docs/manual/conceptstypeslist.html,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- conceptstypeslist.html 6 Apr 2004 14:09:25 -0000 1.17 +++ conceptstypeslist.html 18 Jan 2005 08:37:12 -0000 1.18 @@ -11,7 +11,7 @@ <h2><a href="toc.html" target="navFrame">Table of Contents</a></h2> <h3>Concepts</h3> -<a href="clonevm.html">build.clonevm</a><br> +<a href="clonevm.html">ant.build.clonevm</a><br> <a href="sysclasspath.html">build.sysclasspath</a><br> <a href="CoreTasks/common.html">Common Attributes</a><br> 1.64 +5 -3 ant/src/main/org/apache/tools/ant/types/CommandlineJava.java Index: CommandlineJava.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/CommandlineJava.java,v retrieving revision 1.63 retrieving revision 1.64 diff -u -r1.63 -r1.64 --- CommandlineJava.java 13 Jan 2005 10:10:05 -0000 1.63 +++ CommandlineJava.java 18 Jan 2005 08:37:12 -0000 1.64 @@ -640,7 +640,7 @@ /** * Calculate the bootclasspath based on the bootclasspath - * specified, the build.sysclasspath and build.clonevm magic + * specified, the build.sysclasspath and ant.build.clonevm magic * properties as well as the cloneVm attribute. * * @since Ant 1.7 @@ -664,11 +664,13 @@ } /** - * Has the cloneVm attribute or the magic property build.clonevm been set? + * Has the cloneVm attribute or the magic property + * ant.build.clonevm been set? * * @since 1.7 */ private boolean isCloneVm() { - return cloneVm || "true".equals(System.getProperty("build.clonevm")); + return cloneVm + || "true".equals(System.getProperty("ant.build.clonevm")); } } 1.27 +4 -4 ant/src/testcases/org/apache/tools/ant/types/CommandlineJavaTest.java Index: CommandlineJavaTest.java =================================================================== RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/types/CommandlineJavaTest.java,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- CommandlineJavaTest.java 7 Dec 2004 09:10:38 -0000 1.26 +++ CommandlineJavaTest.java 18 Jan 2005 08:37:12 -0000 1.27 @@ -1,5 +1,5 @@ /* - * Copyright 2000-2004 The Apache Software Foundation + * Copyright 2000-2005 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,15 +39,15 @@ project = new Project(); project.setBasedir(System.getProperty("root")); project.setProperty("build.sysclasspath", "ignore"); - cloneVm = System.getProperty("build.clonevm"); + cloneVm = System.getProperty("ant.build.clonevm"); if (cloneVm != null) { - System.setProperty("build.clonevm", "false"); + System.setProperty("ant.build.clonevm", "false"); } } public void tearDown() { if (cloneVm != null) { - System.setProperty("build.clonevm", cloneVm); + System.setProperty("ant.build.clonevm", cloneVm); } }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]