From a94f92acd0944785efdbdd868f0da44e98cebf97 Mon Sep 17 00:00:00 2001 From: Jan Materne Date: Tue, 14 Jun 2005 21:15:22 +0000 Subject: [PATCH] Bug 35345: s/The syntax is filters is/The syntax for filters is/ git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278426 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/OptionalTasks/jpcoverage.html | 60 +++++++++++------------ 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/docs/manual/OptionalTasks/jpcoverage.html b/docs/manual/OptionalTasks/jpcoverage.html index 958c694df..a63f7efc4 100644 --- a/docs/manual/OptionalTasks/jpcoverage.html +++ b/docs/manual/OptionalTasks/jpcoverage.html @@ -58,12 +58,12 @@ Perform code covering functions by comparing source code line execution to the p Required - home + home The directory where JProbe is installed. Yes - vm + vm Indicates which virtual machine to run. Must be one of "jdk117", "jdk118" or "java2".If "java2" is specified, the user is @@ -73,13 +73,13 @@ Perform code covering functions by comparing source code line execution to the p No, default to embedded VM if 1.2+ - javaexe + javaexe The path to the java executable. No, use only for java2 vm. - + - applet + applet Run an applet. The default is false, unless the file under analysis ends with htm or html. No, default is "false". @@ -90,19 +90,19 @@ Perform code covering functions by comparing source code line execution to the p seed.jpc, seed1.jpc, seed2.jpc, ...) No, default to "snapshot" - + - exitprompt + exitprompt Toggles display of the console prompt: "Press Enter to close this window." "always": Always displays the prompt. "never": Never displays the prompt. "error": Only displays prompt after an error. No, default is "never" - + - finalsnapshot + finalsnapshot Type of snapshot to send at program termination. Must be one - of "none","coverage","all" + of "none","coverage","all" No, default to "coverage" @@ -128,13 +128,13 @@ Perform code covering functions by comparing source code line execution to the p workingdir The physical path to the working directory for the VM. No, default is current directory. - + tracknatives Test native methods. Note that testing native methods with Java 2 disables the JIT No, default to "false". - + classname the name of the class to analyze. @@ -175,7 +175,7 @@ attributes, as described in Command line arguments

socket

-

Define a host and port to connect to if you want to do remote viewing. +

Define a host and port to connect to if you want to do remote viewing.

@@ -184,15 +184,15 @@ attributes, as described in Command line argumentsRequired - + - + - +
hosthost the host name/ip of the machine on which the Viewer is running No, default to localhost
portport The port number on which you will connect to the Viewer No, default to 4444
@@ -200,7 +200,7 @@ attributes, as described in Command line argumentsfilters

Defines class/method filters based on pattern matching. -The syntax is filters is similar to a fileset. +The syntax for filters is similar to a fileset.

@@ -210,14 +210,14 @@ The syntax is filters is similar to a filese - + @@ -234,17 +234,17 @@ with a name attribute. - + - + - + @@ -281,22 +281,22 @@ on method) and it has the following attributes: - + - + - + @@ -307,7 +307,7 @@ on method) and it has the following attributes:
<triggers>
   <method name="ClassName.*()" event="enter" action="snapshot"/>
-  <method name="ClassName.MethodName()" event="exit" action="exit"/>  
+  <method name="ClassName.MethodName()" event="exit" action="exit"/>
 </triggers>
 
@@ -476,12 +476,12 @@ with a class and  method attribute.
- + - + @@ -542,4 +542,4 @@ one for JUnit. It needs either Xalan 1.2.2 or Xalan 2.x.

Copyright © 2001-2002,2004-2005 The Apache Software Foundation. All rights Reserved.

- + \ No newline at end of file
Required
defaultexcludedefaultexclude As a default, the coverage excludes all classes and methods. Default filters are equivalent to
   <filters>
     <exclude class="*" method="*"/>
   </filters>
-
+
No, default to "true"
Required
classclass The class mask as a simple regular expression No, defaults to "*"
methodmethod The method mask as a simple regular expression No, defaults to "*"
enabledenabled is the filter enabled? No, defaults to true
Required
namename The name of the method(s) as a regular expression. The name is the fully qualified name on the form package.classname.method Yes
eventevent the event on the method that will trigger the action. Must be "enter" or "exit". Yes
actionaction the action to execute. Must be one of "clear", "pause", "resume", "snapshot", "suspend", - or "exit". They respectively clear recording, pause recording, + or "exit". They respectively clear recording, pause recording, resume recording, take a snapshot, suspend the recording and exit the program. YesRequired
classclass The class mask as a simple regular expression No, default to *
methodmethod The method mask as a simple regular expression No, default to *