Differences
This shows you the differences between two versions of the page.
Last revisionBoth sides next revision | |||
72:custom_report_tipsandtricks_debug1 [2019/02/07 13:45] – created ext-bkkr | 72:custom_report_tipsandtricks_debug1 [2019/03/06 20:21] – ext-bkkr | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Debugging of BIRT Scripts (File Based) ====== | ====== Debugging of BIRT Scripts (File Based) ====== | ||
+ | |||
+ | This kind of debugging works under the following conditions: | ||
+ | |||
+ | ^System^Limitations| | ||
+ | |Report preview in the BIRT Designer|The debugging results/ | ||
+ | |Report runs on Stages Server|The debugging results/ | ||
+ | |||
+ | // | ||
+ | |||
+ | 1. For BIRT Designer Script debugging add importPackage(Package.java.io) ; at the beginning of your BIRT Designer script. | ||
+ | |||
+ | 2. Add the following lines to your BIRT Designer script, Stages Data Set script or Stages Data collector script. | ||
+ | |||
+ | Change the filename and path to your needs. | ||
+ | |||
+ | < | ||
+ | out = new PrintWriter( new FileWriter( " | ||
+ | true ) ); | ||
+ | out.println(" | ||
+ | out.close(); | ||
+ | </ | ||
+ | |||
+ | \\ | ||