| Generates
the report specified in the specified format.
Syntax : -p[:printer|pdf|html|rtf]
reportname
The output format can be one of :
printer
- Generates the report and sends it to the default printer
(register in the machine). This is the default option. If the
format is not specified the report is sent to the printer. If you
are running in JStyle in batch mode without user intervention,
make sure that you have a default printer registered in your
machine before using this option.
pdf
- Generates the report in PDF format. The output file name is ReportName.pdf.
html
- Generates the report in HTML format. The output file name is ReportName.html.
rtf
- Generates the report in RTF format. The output file name is ReportName.rtf.
The report is generated in the
output directory specified using –o
option, except in case of printer format where it is not
applicable.
Note: JStyle ships with predefined
set of reports. You can also extend it by writing your own
reports. The report name you specify with this option is the name
of the report specified using the JStyle user interface.
Example:
jscc –r .\src\java\lang –p:pdf
"All Comments"
This command generates the report
with name All Comments in pdf
format in the output directory. The output file name would be All
Comments.pdf.
If the report name has spaces in
between, make sure that you enclose it within quotes.
|