The application will:<br />
<br />
1) Fully configurable paths and database selection<br />
2) Make charts (pie, line and 3d bars)<br />
3) Save it to design, report and html<br />
4) View the html in a JEditorPane<br />
<br />
The application will use the test database to retrieve data with some restrictions. Only the two first columns from the sql-selection will be used, and the first one must be in string-format.<br />
<br />
You need to include the follwing jar-files (included in birt engine, model and chart api):<br />
engineapi.jar<br />
coreapi.jar<br />
com.ibm.icu...jar<br />
modelapi.jar<br />
js.jar<br />
org.apache.commons.codec...jar<br />
org.eclipse.birt.chart.engine...jar<br />
org.eclipse.birt.chart.reportitem.source...jar<br />
org.eclipse.emf.ecore...jar<br />
org.eclipse.emf.common...jar<br />
org.eclipse.emf.ecore.xmi...jar<br />
scriptapi.jar<br />
<br />
If you need to write a report, change the IRunAndRenderTask to one IRunTask and one IRenderTask.<br />
<br />
Get the jars from the Report Engine. Here's for Birt 2.5.2:<br />
<br />
http://download.eclipse.org/birt/downloads/build.php?build=R -R1-2_5_2-201002221500<br />
<br />
If you want to try the sample database provided in the Report Engine and is setup in the sample include the following jars:<br />
<br />
[report engine folder]\ReportEngine\plugins\org.eclipse.birt.report.data.od a.jdbc...\odajdbc.jar<br />
<br />
[report engine folder]\ReportEngine\plugins\org.eclipse.birt.report.data.od a.sampledb...\sampledb.jar<br />
<br />
Remember to have valid folders or create them!<br />
<br />
More information here:<br />
<br />
http://www.eclipse.org/forums/index.php?t=msg&th=163679&start=0&<br />
<br />
GL