Mozilla Skin

RunJasperReports Development

From GTwM

Back to main page

GPL3 source + compiled version can be downloaded from RunJasperReports Download

Contents

Setup

The first thing to do is make an ant build script that works on your system. build.xml may work out of the box but if it doesn't copy it and modify to suit your system.

The application is very small and simple. There's only one main class. If you have any questions, please contact me at oliver@agilebase.co.uk

For general product information, see the main page

Tasks

Some development ideas...

Adding database types

Currently RunJasperReports works with postgresql, mysql or firebird. Adding support for another database should be a very simple matter:

  • drop a driver JAR in the lib folder
  • edit OptionValues.java and add a new entry into the DatabaseType enumeration

XML Configuration

Allow XML configuration rather than command line parameters. Implemented by a third party, needs documenting and integrating

Done: Working with remote databases

'localhost' is currently hardcoded as the database host. Adding the ability to specify a specific host on the command line should be a simple matter

Done: JasperReport parameters

Allow the user to pass parameters to JasperReports on the command line. The syntax may be a bit complex as it would have to deal with different types - strings, integers etc.