[ANN] JasperReports service 1.2

Aleksandar Vidakovic <[email protected]> Tue, 26 Jul 2005 15:44:35 +0200
Newsgroups gmane.comp.java.keel.devel
Message-ID <1122385475.19024.9.camel@popper>
Salut all,

after quite a long time it's here ;-)

Almost all sample reports from JasperReports can be build. Only a few
modifications were necessary: the data driven reports contained an SQL
statement (which I removed); instead the unit tests run now a database
query (with svc-query-jdbc) in order to populate the reports.

I added some sample data, too. These samples come from JasperReports'
HSQLDB sample database. These datas are available as a xconf file; the
database is populated during svc-report-jasperreports' unit test setup.

You can use compiled (*.jasper) or uncompiled (*.jrxml) reports. The
service starts compilation if necessary (no compilation if the compiled
reports already exist).

The unit test generates reports as HTML, PDF, CSV, EXCEL and XML

This service is based on JasperReports version 1.0.0.

You can use (almost) all features from JasperReports in your reports
(charts, beanshell, pdf encryption etc.). Exceptions are only Groovy
language inside reports, subreports and virtualizer (avoiding memory
problems for long reports; not tested yet). But I'm working on these,
too...

Requirements:
- keel-maven-plugin 1.2.18 from CVS (inclusion of report templates in
uberjar)
- svc-query-jdbc-1.2 (changes in another mail)

If you want to try it copy "default-report" from
keel-build/example-projects to another location and run:

maven keel:maven
maven keel:uberjar
maven -Dtest=ReportJasperReportsTests keel:test

You can find the compiled reports in your temp directory (System
property "java.io.tmpdir") in the directory "reports".

Note: the example projects were recently updated. There might be
dependencies which are not already uploaded to the repository. You can
easily change these to older version (app-crud, svc-persist-default
etc.) as long as you use tool-maven-plugin-1.2.18,
svc-report-jasperreports-1.2 and svc-query-jdbc-1.2 (build them
locally).

Cheers,

Aleks

P.S.: Next steps: get svc-report-jfreereport up and running and add an
eclipse BIRT implementation ;-)

http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com