| Parameter |
Required? |
Description |
Default Value |
| datafile |
No |
Specify the name of the file to use for storing the metadata about your classes. This is a single file containing serialized Java classes. It contains information about the names of classes in your project, their method names, line numbers, etc. It will then be used to merge with your runtime coverage data and generate the coverage report. |
cobertura-instr.ser in current directory |
| keepdata |
No |
Indicates whether the datafile should be overwritten if it already exists. If set to true the metadata of new classes to intrument will be appended to the existing file. |
false |
| todir |
No |
Specify the output directory for the instrumented classes. Note: If you do not specify a todir attribute, be careful to make sure to delete any instrumented class files whenever you delete your cobertura-instr.ser file. |
If no destination directory is specified, then the uninstrumented classes will be overwritten with their instrumented counterparts. |
| devicepath |
No |
Specify the path on the device/emulator where the runtime coverage
data file is generated. Note that the path must already exist on the device. |
root1/ (maps to the default directory structure of Sun's Wireless Toolkit.) |