Generating files for and running a report

You must have the following files in the specified locations:
To create and fill a report for an EGL project, follow these steps:
  1. Build the EGL project by selecting Project > Build All or Project > Clean. EGL automatically generates Java code from any EGL source files that have changed since the last build and compiles any changed design document source files.
  2. Run the Java program that has the report invocation code. One way to do this in the Package Explorer is to navigate to and right-click the .java file that contains the code. Then select Run > Java Application from the popup menu.

When you create a report, the JasperReports engine first creates an intermediate destination file (extension jrprint), from which it can create multiple export files in different formats (.pdf, .html, .xml, .txt, or .csv). You specify locations for all of these files in the report driver.

Related conceptsEGL report creation process overview
EGL reports overview
Generation in the workbench

Related tasks
Creating an EGL report handler
Creating the report design file
Exporting reports
Writing code to drive a report

Related reference
EGL library ReportLib
EGL report handler

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.