Running a report of type JasperReport

To run a report of type JasperReport, 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 clicking Project > Build 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 contains the generated report driver program. One way to do this in the Package Explorer view is to navigate to and right-click the .java file that contains the code. Then select Run As > Java Application from the 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.


Feedback