Community
Participate
Working Groups
Build ID: M20080221-1800 Steps To Reproduce: 1. Use ExecuteCSVReport.zip and CSV emitter from (http://www.actuate.com/products/products-resources.asp?ArticleId=11719) 2. Modify ExecuteReport.java to use a separate RunTask and RenderTask 3. Run against sample report and observe empty CSV file is created More information: I checked the BIRT code out from CVS and I've been tracing through it to find out what could be different from the RunAndRender Task approach and the separate RunTask and RenderTask. The short answer is that the first way pagination defaults to true, but the second way pagination is processed only for 3 specific values. The problem is the value is null, so processing doesn't happen. To correct this you need to set a value for pagination in the CSV emitters plugin.xml, e.g. like so: <plugin> <extension name="Engine CSV Emitters" point="org.eclipse.birt.report.engine.emitters"> <emitter class="org.eclipse.birt.report.engine.emitter.csv.CSVReportEmitter" format="csv" pagination="no-pagination" id="org.eclipse.birt.report.engine.emitter.csv" mimeType="text/csv"/> </extension> </plugin> Now rebuild the plugin jar and that should do it. A default value should probably be assigned to pagination if the attribute isn't specified in plugin.xml