Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
/ JasperReport Public archive

This is an ILIAS wrapper for the JasperReport library. It allows ILIAS to print pretty PDF reports.

Notifications You must be signed in to change notification settings

fluxapps/JasperReport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jasper Report

This is an ILIAS wrapper for the JasperReport library. It allows ILIAS to print pretty PDF reports.

Dependencies:

  • Java 8 or higher must be installed. It must be accessible by the webservice user under /usr/bin/java. You can change this in the class.JasperReport.php file on Line 189.
  • For older Java versions or for non Composer version, use the follow commit: https://github.com/studer-raimann/JasperReport/commit/dc9476fcad0f8e4955ea9300581d9f6dc04ab6d6
  • Make sure that the webservice user has assigned a shell (e.g. at your own risk: $ sudo chsh -s '/bin/sh' www-data). Otherwise all PDF generation responses will come back empty.

Usage

Composer

First add the following to your composer.json file:

"require": {
  "srag/jasperreport": ">=0.1.0"
},

And run a composer install.

If you deliver your plugin, the plugin has it's own copy of this library and the user doesn't need to install the library.

You can now remove the global installed Customizing/global/libraries/JasperReport on productive usages

Tip: Because of multiple autoloaders of plugins, it could be, that different versions of this library exists and suddenly your plugin use an older or a newer version of an other plugin!

So I recommand to use srag/librariesnamespacechanger

Generate Jasper xml template files

iReport Designer

Dependencies

Please use it for further development!

Adjustment suggestions

About

This is an ILIAS wrapper for the JasperReport library. It allows ILIAS to print pretty PDF reports.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages