diff --git a/.gitignore b/.gitignore
old mode 100644
new mode 100755
diff --git a/examples/CancelAck.jrxml b/examples/CancelAck.jrxml
old mode 100644
new mode 100755
diff --git a/examples/CancelAck.xml b/examples/CancelAck.xml
old mode 100644
new mode 100755
diff --git a/examples/example.php b/examples/example.php
old mode 100644
new mode 100755
diff --git a/src/JasperStarter/CHANGES b/src/JasperStarter/CHANGES
index 18c521b..bc6b829 100755
--- a/src/JasperStarter/CHANGES
+++ b/src/JasperStarter/CHANGES
@@ -1,298 +1,298 @@
-
-JasperStarter - Running JasperReports from command line
-========================================================
-
-Release Notes - JasperStarter - Version 3.0.0
----------------------------------------------
-
-This Release works with Java8.
-
-** Bug
- * [JAS-69] - Calls of assertEquals have the arguments actual and
- expected interchanged
- * [JAS-70] - Example report csv.jrxml truncates data
- * [JAS-80] - jasperstarter by default is missing some important
- jasper studio builtin libraries
- * [JAS-81] - Eclipse compiler error when running using Java 8
-
-** Improvement
- * [JAS-68] - Expand documentation with calls of running the
- example reports
-
-** New Feature
- * [JAS-67] - Ability to produce CSV Metadata reports
- * [JAS-72] - Ability to produce XLS Metadata reports
-
-** Task
- * [JAS-57] - Switching from Mercurial to Git
- * [JAS-59] - Include JasperReports 6.0.0
- * [JAS-61] - update dependencies
- * [JAS-65] - Include JasperReports 6.0.2
- * [JAS-66] - Include JasperReports 6.0.3
- * [JAS-76] - Git version and revision information in manifest file
- * [JAS-79] - Include JasperReports 6.0.4
-
-
-Release Notes - JasperStarter - Version 2.2.2
-----------------------------------------------
-
-** Bug
- * [JAS-63] - Version 2.2 WindowsSetup replace the path variable
-
-
-Release Notes - JasperStarter - Version 2.2.1
-----------------------------------------------
-
-** Bug
- * [JAS-58] - DB type generic should not require a username
- * [JAS-62] - Linux startup script does not work if called via symlink
-
-** Task
- * [JAS-57] - Switching from Mercurial to Git (Branch Jasperstarter-2.2)
-
-
-Release Notes - JasperStarter - Version 2.2.0
-----------------------------------------------
-
-** Bug
- * [JAS-54] - Eclipse complains: Plugin execution not covered by
- lifecycle configuration
-
-** New Feature
- * [JAS-56] - Support for XML data sources
-
-** Task
- * [JAS-48] - Rewrite api calls deprecated since JasperReports 5.6.0
- * [JAS-49] - Rewrite code reported by -Xlint:unchecked
-
-
-Release Notes - JasperStarter - Version 2.1.2
----------------------------------------------
-
-** Bug
- * [JAS-53] - Property net.sf.jasperreports.export.xls.one.page.per.sheet was overrided
-
-
-Release Notes - JasperStarter - Version 2.1.1
-----------------------------------------------
-
-** Task
- * [JAS-52] - Include JasperReports 5.6.1
-
-
-Release Notes - JasperStarter - Version 2.1.0
-----------------------------------------------
-
-** Bug
- * [JAS-40] - No page title is set in index.html
-
-** New Feature
- * [JAS-50] - Accept number of copies when printing
-
-** Task
- * [JAS-47] - Include JasperReports 5.6.0
-
-
-Release Notes - JasperStarter - Version 2.0.0
-----------------------------------------------
-
-The command line syntax has changed in this release!
- is now an argument and the format of report parameters has changed.
-Specifying the parameter type is no longer necessary. The type is determined
-from the report and it is no longer possible to provide a non existent
-parameter.
-The major new feature is support for csv files as a datasource.
-
-** Bug
- * [JAS-37] - The artifact org.apache.commons:commons-io:jar:1.3.2 has been
- relocated to commons-io:commons-io:jar:1.3.2
- * [JAS-41] - Command "jasperstarter params" gives no useful result if param
- has no description
-
-** Improvement
- * [JAS-15] - Report parameters should be handled in a more generic way
- * [JAS-42] - Accept as positional argument instead of an option
-
-** New Feature
- * [JAS-30] - CSV as a datasource for Jasperstarter
-
-** Task
- * [JAS-23] - create unit test
- * [JAS-24] - create example reports
- * [JAS-34] - site translation de for release 2.0
- * [JAS-35] - site translation cz for release 2.0
- * [JAS-38] - Update build dependencies
- * [JAS-39] - Include JasperReports 5.2.0
-
-
-Release Notes - JasperStarter - Version 1.4.2
-----------------------------------------------
-
-** Bug
- * [JAS-41] - Command "jasperstarter params" gives no useful result
- if param has no description
-
-
-Release Notes - JasperStarter - Version 1.4.1
-----------------------------------------------
-
-** Bug
- * [JAS-33] - Report parameter with space produces error on Unix
- like systems
-
-
-Release Notes - JasperStarter - Version 1.4.0
-----------------------------------------------
-
-** Bug
- * [JAS-29] - Documentation typo java.awt.image
-
-** Task
- * [JAS-31] - Include JasperReports 5.1.2
- * [JAS-32] - Include argparse4j 0.4.1
-
-
-Release Notes - JasperStarter - Version 1.3.0
-----------------------------------------------
-
-This release is mainly due to the new JasperReports library version 5.1.0.
-
-** Improvement
- * [JAS-28] - Include argparse4j 0.4.0 which introduces some features to the
- user
- - Argument abbreviations
- - Subcommand abbreviations
-
-** Task
- * [JAS-27] - Include JasperReports 5.1.0
-
-
-Release Notes - JasperStarter - Version 1.2.0
-----------------------------------------------
-
-This release is mainly due to the new JasperReports library version 5.0.4.
-
-** Improvement
- * [JAS-25] - Implement command aliases
-
-** Task
- * [JAS-19] - create an independent configuration bean as replacement for the
- parser dependend namspace object
- * [JAS-20] - move any call of System.exit() to App.main()
- * [JAS-21] - remove obsolete option --keep
- * [JAS-26] - Use jasperreports library 5.0.4
-
-
-Release Notes - JasperStarter - Version 1.1.0
-----------------------------------------------
-
-JasperStarter is now able to prompt for report parameters.
-
-** Bug
- * [JAS-5] - Maven site does not create index.html if called directly
- * [JAS-6] - Maven site does not generate translation if called directly
- * [JAS-11] - Maven site does not create index.html if called via package
- * [JAS-16] - Selection of the report locale yields unexpected results in
- some cases
-
-** Improvement
- * [JAS-13] - new parameter type locale to specify report locale independent
- from gui locale
-
-** New Feature
- * [JAS-12] - new option to specify report resources like resource bundles or
- icons
- * [JAS-14] - New option: prompt for report parameters
- * [JAS-17] - New Command: List report parameters
-
-** Task
- * [JAS-7] - Site translation cs
- * [JAS-22] - site translation de
-
-
---------
-
- 1.0.1 [JAS-18] - Unable to save output into Excel format
-
- 1.0.0
- JasperStarter now has commands: pr - process, lp - list printers.
- New command: cp - compile, can compile one file or all .jrxml in a
- directory.
- New input file types for command pr allowed:
- jrxml - compiles implicit
- jrprint - print, view or export previously filled reports.
- New output type: jrprint. This makes --keep obsolete.
- New parameter -w writes compiled file to imput dir if jrxml is
- processed.
- Parameter -t defaults to "none" and can therefore be omited if no
- database is needed.
- Input file is read once. No temporary files needed anymore.
- Setup checks for previous versions and creates menuitems for uninstall
- and help.
- Setup is available in English, Chinese (Simplified), Czech, French,
- Hungarian, German, Polish, Romanian, Thai, Ukrainian.
- [JAS-2] - runtime parameter value cannot contain equal sign
- Contains JasperReports 5.0.1
- German translation for Site/docs
- [JAS-4] - java.lang.Integer cannot be cast to java.lang.String
- [JAS-8] - java.lang.String cannot be cast to java.lang.Integer
- [JAS-9] - Exception in thread "main" java.lang.IllegalArgumentException:
- URI has an authority component
-
- 0.10.0 New report parameter types: double, image (see usage).
- New supported export formats: xls, xlsx, csv, ods, pptx, xhtml, xml.
- Windows setup available.
- --version shows included JasperReports version.
- Fixed some minor bugs.
-
-V 0.9.1 Bugfix release fixed problems with --jdbc-dir option.
-
-V 0.9.0 First public release
- Switched from Commons CLI to argparse4j.
- Project documentation in generated site.
- README uses markdown syntay, renamed to README.md.
- Applied Apache License 2.0 to the software.
- JasperStarter now starts via executable files in ./bin.
- Windows binary jasperstarter.exe is generated with launch4j.
-
-V 0.8.0 Switched to maven.
-
-V 0.7.1 Fixed issue: duplicated option -n
-
-V 0.7.0 new option --set-report-name to temporary change the reportname when
- printing. This is useful if you want to change the printjob name for
- printing to a pdf printer like cups-pfd which uses the document name as
- part of the pdf name by default.
-
-V 0.6.0 new options --printer-name --with-print-dialog --list-printers
- printername matches .toLowercase().startWith() and spaces can be escaped
- by the underline character _.
- print dialog and viewer appear in system look an feel.
-
-V 0.5.0 support for postgres, oracle and generic jdbc
- password is no longer a required option except for oracle
- jrprint file is stored in system temp dir and deleted after processing
- new options --jdbc-dir, --debug, --keep-jrprint
- file extension .jasper is added to input if omitted
- output can be omitted or can be file or directory
-
-V 0.4.0 jdbc drivers are loaded from jdbc dir
- new parameter: db-type: none, mysql (none provides JREmptyDataSource()
- for a non database report)
- support for barcode4j
-
-V 0.3.1 Bugfix: removed jasperreports-javaflow
- added barbecue barcode lib
-
-V 0.3.0 Print preview
- nicer help message
- package renamed
-
-V 0.2.0 Print support added
- Added exportformats html, odt
- Added report parameter type date.
- New parameter db-name - database name
-
-V 0.1.0 First working version
- Supports export to PDF, DOCX, RTF.
- Simple report parameters of type string and int.
+
+JasperStarter - Running JasperReports from command line
+========================================================
+
+Release Notes - JasperStarter - Version 3.0.0
+---------------------------------------------
+
+This Release works with Java8.
+
+** Bug
+ * [JAS-69] - Calls of assertEquals have the arguments actual and
+ expected interchanged
+ * [JAS-70] - Example report csv.jrxml truncates data
+ * [JAS-80] - jasperstarter by default is missing some important
+ jasper studio builtin libraries
+ * [JAS-81] - Eclipse compiler error when running using Java 8
+
+** Improvement
+ * [JAS-68] - Expand documentation with calls of running the
+ example reports
+
+** New Feature
+ * [JAS-67] - Ability to produce CSV Metadata reports
+ * [JAS-72] - Ability to produce XLS Metadata reports
+
+** Task
+ * [JAS-57] - Switching from Mercurial to Git
+ * [JAS-59] - Include JasperReports 6.0.0
+ * [JAS-61] - update dependencies
+ * [JAS-65] - Include JasperReports 6.0.2
+ * [JAS-66] - Include JasperReports 6.0.3
+ * [JAS-76] - Git version and revision information in manifest file
+ * [JAS-79] - Include JasperReports 6.0.4
+
+
+Release Notes - JasperStarter - Version 2.2.2
+----------------------------------------------
+
+** Bug
+ * [JAS-63] - Version 2.2 WindowsSetup replace the path variable
+
+
+Release Notes - JasperStarter - Version 2.2.1
+----------------------------------------------
+
+** Bug
+ * [JAS-58] - DB type generic should not require a username
+ * [JAS-62] - Linux startup script does not work if called via symlink
+
+** Task
+ * [JAS-57] - Switching from Mercurial to Git (Branch Jasperstarter-2.2)
+
+
+Release Notes - JasperStarter - Version 2.2.0
+----------------------------------------------
+
+** Bug
+ * [JAS-54] - Eclipse complains: Plugin execution not covered by
+ lifecycle configuration
+
+** New Feature
+ * [JAS-56] - Support for XML data sources
+
+** Task
+ * [JAS-48] - Rewrite api calls deprecated since JasperReports 5.6.0
+ * [JAS-49] - Rewrite code reported by -Xlint:unchecked
+
+
+Release Notes - JasperStarter - Version 2.1.2
+---------------------------------------------
+
+** Bug
+ * [JAS-53] - Property net.sf.jasperreports.export.xls.one.page.per.sheet was overrided
+
+
+Release Notes - JasperStarter - Version 2.1.1
+----------------------------------------------
+
+** Task
+ * [JAS-52] - Include JasperReports 5.6.1
+
+
+Release Notes - JasperStarter - Version 2.1.0
+----------------------------------------------
+
+** Bug
+ * [JAS-40] - No page title is set in index.html
+
+** New Feature
+ * [JAS-50] - Accept number of copies when printing
+
+** Task
+ * [JAS-47] - Include JasperReports 5.6.0
+
+
+Release Notes - JasperStarter - Version 2.0.0
+----------------------------------------------
+
+The command line syntax has changed in this release!
+ is now an argument and the format of report parameters has changed.
+Specifying the parameter type is no longer necessary. The type is determined
+from the report and it is no longer possible to provide a non existent
+parameter.
+The major new feature is support for csv files as a datasource.
+
+** Bug
+ * [JAS-37] - The artifact org.apache.commons:commons-io:jar:1.3.2 has been
+ relocated to commons-io:commons-io:jar:1.3.2
+ * [JAS-41] - Command "jasperstarter params" gives no useful result if param
+ has no description
+
+** Improvement
+ * [JAS-15] - Report parameters should be handled in a more generic way
+ * [JAS-42] - Accept as positional argument instead of an option
+
+** New Feature
+ * [JAS-30] - CSV as a datasource for Jasperstarter
+
+** Task
+ * [JAS-23] - create unit test
+ * [JAS-24] - create example reports
+ * [JAS-34] - site translation de for release 2.0
+ * [JAS-35] - site translation cz for release 2.0
+ * [JAS-38] - Update build dependencies
+ * [JAS-39] - Include JasperReports 5.2.0
+
+
+Release Notes - JasperStarter - Version 1.4.2
+----------------------------------------------
+
+** Bug
+ * [JAS-41] - Command "jasperstarter params" gives no useful result
+ if param has no description
+
+
+Release Notes - JasperStarter - Version 1.4.1
+----------------------------------------------
+
+** Bug
+ * [JAS-33] - Report parameter with space produces error on Unix
+ like systems
+
+
+Release Notes - JasperStarter - Version 1.4.0
+----------------------------------------------
+
+** Bug
+ * [JAS-29] - Documentation typo java.awt.image
+
+** Task
+ * [JAS-31] - Include JasperReports 5.1.2
+ * [JAS-32] - Include argparse4j 0.4.1
+
+
+Release Notes - JasperStarter - Version 1.3.0
+----------------------------------------------
+
+This release is mainly due to the new JasperReports library version 5.1.0.
+
+** Improvement
+ * [JAS-28] - Include argparse4j 0.4.0 which introduces some features to the
+ user
+ - Argument abbreviations
+ - Subcommand abbreviations
+
+** Task
+ * [JAS-27] - Include JasperReports 5.1.0
+
+
+Release Notes - JasperStarter - Version 1.2.0
+----------------------------------------------
+
+This release is mainly due to the new JasperReports library version 5.0.4.
+
+** Improvement
+ * [JAS-25] - Implement command aliases
+
+** Task
+ * [JAS-19] - create an independent configuration bean as replacement for the
+ parser dependend namspace object
+ * [JAS-20] - move any call of System.exit() to App.main()
+ * [JAS-21] - remove obsolete option --keep
+ * [JAS-26] - Use jasperreports library 5.0.4
+
+
+Release Notes - JasperStarter - Version 1.1.0
+----------------------------------------------
+
+JasperStarter is now able to prompt for report parameters.
+
+** Bug
+ * [JAS-5] - Maven site does not create index.html if called directly
+ * [JAS-6] - Maven site does not generate translation if called directly
+ * [JAS-11] - Maven site does not create index.html if called via package
+ * [JAS-16] - Selection of the report locale yields unexpected results in
+ some cases
+
+** Improvement
+ * [JAS-13] - new parameter type locale to specify report locale independent
+ from gui locale
+
+** New Feature
+ * [JAS-12] - new option to specify report resources like resource bundles or
+ icons
+ * [JAS-14] - New option: prompt for report parameters
+ * [JAS-17] - New Command: List report parameters
+
+** Task
+ * [JAS-7] - Site translation cs
+ * [JAS-22] - site translation de
+
+
+--------
+
+ 1.0.1 [JAS-18] - Unable to save output into Excel format
+
+ 1.0.0
+ JasperStarter now has commands: pr - process, lp - list printers.
+ New command: cp - compile, can compile one file or all .jrxml in a
+ directory.
+ New input file types for command pr allowed:
+ jrxml - compiles implicit
+ jrprint - print, view or export previously filled reports.
+ New output type: jrprint. This makes --keep obsolete.
+ New parameter -w writes compiled file to imput dir if jrxml is
+ processed.
+ Parameter -t defaults to "none" and can therefore be omited if no
+ database is needed.
+ Input file is read once. No temporary files needed anymore.
+ Setup checks for previous versions and creates menuitems for uninstall
+ and help.
+ Setup is available in English, Chinese (Simplified), Czech, French,
+ Hungarian, German, Polish, Romanian, Thai, Ukrainian.
+ [JAS-2] - runtime parameter value cannot contain equal sign
+ Contains JasperReports 5.0.1
+ German translation for Site/docs
+ [JAS-4] - java.lang.Integer cannot be cast to java.lang.String
+ [JAS-8] - java.lang.String cannot be cast to java.lang.Integer
+ [JAS-9] - Exception in thread "main" java.lang.IllegalArgumentException:
+ URI has an authority component
+
+ 0.10.0 New report parameter types: double, image (see usage).
+ New supported export formats: xls, xlsx, csv, ods, pptx, xhtml, xml.
+ Windows setup available.
+ --version shows included JasperReports version.
+ Fixed some minor bugs.
+
+V 0.9.1 Bugfix release fixed problems with --jdbc-dir option.
+
+V 0.9.0 First public release
+ Switched from Commons CLI to argparse4j.
+ Project documentation in generated site.
+ README uses markdown syntay, renamed to README.md.
+ Applied Apache License 2.0 to the software.
+ JasperStarter now starts via executable files in ./bin.
+ Windows binary jasperstarter.exe is generated with launch4j.
+
+V 0.8.0 Switched to maven.
+
+V 0.7.1 Fixed issue: duplicated option -n
+
+V 0.7.0 new option --set-report-name to temporary change the reportname when
+ printing. This is useful if you want to change the printjob name for
+ printing to a pdf printer like cups-pfd which uses the document name as
+ part of the pdf name by default.
+
+V 0.6.0 new options --printer-name --with-print-dialog --list-printers
+ printername matches .toLowercase().startWith() and spaces can be escaped
+ by the underline character _.
+ print dialog and viewer appear in system look an feel.
+
+V 0.5.0 support for postgres, oracle and generic jdbc
+ password is no longer a required option except for oracle
+ jrprint file is stored in system temp dir and deleted after processing
+ new options --jdbc-dir, --debug, --keep-jrprint
+ file extension .jasper is added to input if omitted
+ output can be omitted or can be file or directory
+
+V 0.4.0 jdbc drivers are loaded from jdbc dir
+ new parameter: db-type: none, mysql (none provides JREmptyDataSource()
+ for a non database report)
+ support for barcode4j
+
+V 0.3.1 Bugfix: removed jasperreports-javaflow
+ added barbecue barcode lib
+
+V 0.3.0 Print preview
+ nicer help message
+ package renamed
+
+V 0.2.0 Print support added
+ Added exportformats html, odt
+ Added report parameter type date.
+ New parameter db-name - database name
+
+V 0.1.0 First working version
+ Supports export to PDF, DOCX, RTF.
+ Simple report parameters of type string and int.
diff --git a/src/JasperStarter/LICENSE b/src/JasperStarter/LICENSE
index 261eeb9..29f81d8 100755
--- a/src/JasperStarter/LICENSE
+++ b/src/JasperStarter/LICENSE
@@ -1,201 +1,201 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/src/JasperStarter/NOTICE b/src/JasperStarter/NOTICE
index 2fd4fc6..dad8ef4 100755
--- a/src/JasperStarter/NOTICE
+++ b/src/JasperStarter/NOTICE
@@ -1,11 +1,11 @@
-
- JasperStarter - Running JasperReports from command line
- Copyright 2012, 2013, 2014, 2015 Cenote GmbH
-
- This product includes software developed at:
-
- https://sourceforge.net/projects/jasperreports/
- https://github.com/tatsuhiro-t/argparse4j
- The Apache Software Foundation (http://www.apache.org/)
-
- For a detailed view please see dependency report in the documentation.
+
+ JasperStarter - Running JasperReports from command line
+ Copyright 2012, 2013, 2014, 2015 Cenote GmbH
+
+ This product includes software developed at:
+
+ https://sourceforge.net/projects/jasperreports/
+ https://github.com/tatsuhiro-t/argparse4j
+ The Apache Software Foundation (http://www.apache.org/)
+
+ For a detailed view please see dependency report in the documentation.
diff --git a/src/JasperStarter/README.md b/src/JasperStarter/README.md
index 8c62ffa..556fbc7 100755
--- a/src/JasperStarter/README.md
+++ b/src/JasperStarter/README.md
@@ -1,204 +1,204 @@
-
-JasperStarter - Running JasperReports from command line
---------------------------------------------------------
-
-JasperStarter is an opensource command line launcher and batch compiler for
-[JasperReports][].
-
-The official homepage is [jasperstater.cenote.de][].
-
-It has the following features:
-
- * Run any JasperReport that needs a jdbc, csv, xml, json or empty datasource
- * Use with any database for which a jdbc driver is available
- * Run reports with subreports
- * Execute reports that need runtime parameters. Any parameter whose class has
- a string constructor is accepted. Additionally the following types are
- supported or have special handlers:
- * date, image (see usage), locale
- * Optionally prompt for report parameters
- * Print directly to system default or given printer
- * Optionally show printer dialog to choose printer
- * Optionally show printpreview
- * Export to file in the following formats:
- * pdf, rtf, xls, xlsMeta, xlsx, docx, odt, ods, pptx, csv, csvMeta, html, xhtml, xml, jrprint
- * Export multiple formats in one commanding call
- * Compile, print and export in one commanding call
- * View, print or export previously filled reports (use jrprint file as input)
- * Can compile a whole directory of .jrxml files.
- * Integrate in non Java applications (for example PHP, Python)
- * Binary executable on Windows
- * Includes JasperReports so this is the only tool you need to install
-
-Requirements:
-
- * Java 1.6 or higher
- * A JDBC 2.1 driver for your database
-
-
-### Quickstart
-
- * Download JasperStarter from [Sourceforge][].
- * Extract the distribution archive to any directory on your system.
- * Add the _./bin_ directory of your installation to your searchpath (on
- Windows: invoke setup.exe).
- * Put your jdbc drivers in the _./jdbc_ directory of your installation or
- use _\--jdbc-dir_ to point to a different directory.
-
-Invoke JasperStarter with _\-h_ to get an overview:
-
- $ jasperstarter -h
-
-Invoke JasperStarter with _process \-h_ to get help on the process command:
-
- $ jasperstarter process -h
-
-Example with reportparameters:
-
- $ jasperstarter pr report.jasper -t mysql -u myuser -f pdf -H myhost \
- -n mydb -o report -p secret -P CustomerNo=10 StartFrom=2012-10-01
-
-Example with hsql using database type generic:
-
- $ jasperstarter pr report.jasper -t generic -f pdf -o report -u sa \
- --db-driver org.hsqldb.jdbcDriver \
- --db-url jdbc:hsqldb:hsql://localhost
-
-For more information take a look in the docs directory of the distibution
-archive or read the [Usage][] page online.
-
-
-### Release Notes
-
-See [Changes] for a history of changes.
-
-
-#### Known Bugs
-
-For upcoming issues see [Issues][]
-
-
-### Feedback
-
-Feedback is always welcome! If you have any questions or proposals, don't
-hesitate to write to our [discussion][] forum.
-If you found a bug or you are missing a feature, log into our [Issuetracker][]
-and create a bug or feature request.
-
-If you like the software you can write a [review][] :-)
-
-
-### Developement
-
-The sourcecode is available at [bitbucket.org/cenote/jasperstarter][], the
-project website is hosted at [Sourceforge][].
-
-JasperStarter is build with [Maven][].
-
-Unfortunately one dependency (jasperreports-functions) is not provided
-in a public maven repository so you must add it to your local maven
-repo:
-
- # Download jasperreports-functions-6.1.0.jar from
- # https://sourceforge.net/projects/jasperreports/files/jasperreports/
- $ jar xvf jasperreports-functions-6.1.0.jar META-INF/maven/net.sf.jasperreports/jasperreports-functions/pom.xml
- $ mvn install:install-file -Dfile=jasperreports-functions-6.1.0.jar -DpomFile=META-INF/maven/net.sf.jasperreports/jasperreports-functions/pom.xml
-
-See https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
-
-It is possible to compile JasperStarter without this dependency but users
-will run into errors if they use specific functions in their reports.
-So there is a test that fails if jasperreports-functions is not available.
-
-On Linux 64 bit the launch4j-maven-plugin may fail. You need the folloing libs in a 32 bit version:
-
- * z1
- * ncurses5
- * bz2-1.0
-
-On Ubuntu 14.04 for example use this command:
-
- $ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
-
-
-To get a distribution package run:
-
- $ mvn package -P release
-
-or if you build from the current default branch you better use:
-
- $ mvn package -P release,snapshot
-
-**Attention! You cannot execute** `target/jasperstarter.jar`
-**without having it\'s dependencies in** `../lib` ! See **dev** profile below!
-
-If you want to build the Windows setup.exe, you need to have _nsis_ in your
-search path (works on linux too, you can find a compiled release in the
-sourceforge download folder _build-tools_ for your convenience)
-an add the **windows-setup** profile to your build:
-
- $ mvn package -P release,windows-setup
-
-or
-
- $ mvn package -P release,windows-setup,snapshot
-
-While developing you may want to have a quicker build. The **dev** profile
-excludes some long running reports and the compressed archives. Instead it puts
-the build result into _target/jasperstarter-dev-bin_.
-
- $ mvn package -P dev
-
-Now you can execute JasperStarter without IDE:
-
- $ target/jasperstarter-dev-bin/bin/jasperstarter
-
-or
-
- $ java -jar target/jasperstarter-dev-bin/lib/jasperstarter.jar
-
-During development you might want not to be annoyed by tests. So the following
-options are useful:
-
- $ mvn package -P dev -D skipTests
-
-or
-
- $ mvn package -P dev -D maven.test.failure.ignore=true
-
-To run JasperStarter from within your IDE add _\--jdbc-dir jdbc_ to the argument
-list of your run configuration. Otherwise you will get an error:
-
- Error, (...)/JasperStarter/target/classes/jdbc is not a directory!
-
-Put your jdbc drivers in the _./jdbc_ directory of the project to invoke
-JasperStarter from within your IDE to call up a database based report.
-
-
-### License
-
-Copyright 2012-2015 Cenote GmbH.
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-[jasperstater.cenote.de]:http://jasperstarter.cenote.de/
-[JasperReports]:http://community.jaspersoft.com/project/jasperreports-library
-[Maven]:http://maven.apache.org/
-[Sourceforge]:http://sourceforge.net/projects/jasperstarter/
-[bitbucket.org/cenote/jasperstarter]:http://bitbucket.org/cenote/jasperstarter
-[review]:http://sourceforge.net/projects/jasperstarter/reviews
-[discussion]:http://sourceforge.net/p/jasperstarter/discussion/
-[Issuetracker]:https://cenote-issues.atlassian.net/browse/JAS
-[Usage]:http://jasperstarter.sourceforge.net/usage.html
-[Issues]:https://cenote-issues.atlassian.net/browse/JAS
-[Changes]:changes.html
+
+JasperStarter - Running JasperReports from command line
+--------------------------------------------------------
+
+JasperStarter is an opensource command line launcher and batch compiler for
+[JasperReports][].
+
+The official homepage is [jasperstater.cenote.de][].
+
+It has the following features:
+
+ * Run any JasperReport that needs a jdbc, csv, xml, json or empty datasource
+ * Use with any database for which a jdbc driver is available
+ * Run reports with subreports
+ * Execute reports that need runtime parameters. Any parameter whose class has
+ a string constructor is accepted. Additionally the following types are
+ supported or have special handlers:
+ * date, image (see usage), locale
+ * Optionally prompt for report parameters
+ * Print directly to system default or given printer
+ * Optionally show printer dialog to choose printer
+ * Optionally show printpreview
+ * Export to file in the following formats:
+ * pdf, rtf, xls, xlsMeta, xlsx, docx, odt, ods, pptx, csv, csvMeta, html, xhtml, xml, jrprint
+ * Export multiple formats in one commanding call
+ * Compile, print and export in one commanding call
+ * View, print or export previously filled reports (use jrprint file as input)
+ * Can compile a whole directory of .jrxml files.
+ * Integrate in non Java applications (for example PHP, Python)
+ * Binary executable on Windows
+ * Includes JasperReports so this is the only tool you need to install
+
+Requirements:
+
+ * Java 1.6 or higher
+ * A JDBC 2.1 driver for your database
+
+
+### Quickstart
+
+ * Download JasperStarter from [Sourceforge][].
+ * Extract the distribution archive to any directory on your system.
+ * Add the _./bin_ directory of your installation to your searchpath (on
+ Windows: invoke setup.exe).
+ * Put your jdbc drivers in the _./jdbc_ directory of your installation or
+ use _\--jdbc-dir_ to point to a different directory.
+
+Invoke JasperStarter with _\-h_ to get an overview:
+
+ $ jasperstarter -h
+
+Invoke JasperStarter with _process \-h_ to get help on the process command:
+
+ $ jasperstarter process -h
+
+Example with reportparameters:
+
+ $ jasperstarter pr report.jasper -t mysql -u myuser -f pdf -H myhost \
+ -n mydb -o report -p secret -P CustomerNo=10 StartFrom=2012-10-01
+
+Example with hsql using database type generic:
+
+ $ jasperstarter pr report.jasper -t generic -f pdf -o report -u sa \
+ --db-driver org.hsqldb.jdbcDriver \
+ --db-url jdbc:hsqldb:hsql://localhost
+
+For more information take a look in the docs directory of the distibution
+archive or read the [Usage][] page online.
+
+
+### Release Notes
+
+See [Changes] for a history of changes.
+
+
+#### Known Bugs
+
+For upcoming issues see [Issues][]
+
+
+### Feedback
+
+Feedback is always welcome! If you have any questions or proposals, don't
+hesitate to write to our [discussion][] forum.
+If you found a bug or you are missing a feature, log into our [Issuetracker][]
+and create a bug or feature request.
+
+If you like the software you can write a [review][] :-)
+
+
+### Developement
+
+The sourcecode is available at [bitbucket.org/cenote/jasperstarter][], the
+project website is hosted at [Sourceforge][].
+
+JasperStarter is build with [Maven][].
+
+Unfortunately one dependency (jasperreports-functions) is not provided
+in a public maven repository so you must add it to your local maven
+repo:
+
+ # Download jasperreports-functions-6.1.0.jar from
+ # https://sourceforge.net/projects/jasperreports/files/jasperreports/
+ $ jar xvf jasperreports-functions-6.1.0.jar META-INF/maven/net.sf.jasperreports/jasperreports-functions/pom.xml
+ $ mvn install:install-file -Dfile=jasperreports-functions-6.1.0.jar -DpomFile=META-INF/maven/net.sf.jasperreports/jasperreports-functions/pom.xml
+
+See https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
+
+It is possible to compile JasperStarter without this dependency but users
+will run into errors if they use specific functions in their reports.
+So there is a test that fails if jasperreports-functions is not available.
+
+On Linux 64 bit the launch4j-maven-plugin may fail. You need the folloing libs in a 32 bit version:
+
+ * z1
+ * ncurses5
+ * bz2-1.0
+
+On Ubuntu 14.04 for example use this command:
+
+ $ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
+
+
+To get a distribution package run:
+
+ $ mvn package -P release
+
+or if you build from the current default branch you better use:
+
+ $ mvn package -P release,snapshot
+
+**Attention! You cannot execute** `target/jasperstarter.jar`
+**without having it\'s dependencies in** `../lib` ! See **dev** profile below!
+
+If you want to build the Windows setup.exe, you need to have _nsis_ in your
+search path (works on linux too, you can find a compiled release in the
+sourceforge download folder _build-tools_ for your convenience)
+an add the **windows-setup** profile to your build:
+
+ $ mvn package -P release,windows-setup
+
+or
+
+ $ mvn package -P release,windows-setup,snapshot
+
+While developing you may want to have a quicker build. The **dev** profile
+excludes some long running reports and the compressed archives. Instead it puts
+the build result into _target/jasperstarter-dev-bin_.
+
+ $ mvn package -P dev
+
+Now you can execute JasperStarter without IDE:
+
+ $ target/jasperstarter-dev-bin/bin/jasperstarter
+
+or
+
+ $ java -jar target/jasperstarter-dev-bin/lib/jasperstarter.jar
+
+During development you might want not to be annoyed by tests. So the following
+options are useful:
+
+ $ mvn package -P dev -D skipTests
+
+or
+
+ $ mvn package -P dev -D maven.test.failure.ignore=true
+
+To run JasperStarter from within your IDE add _\--jdbc-dir jdbc_ to the argument
+list of your run configuration. Otherwise you will get an error:
+
+ Error, (...)/JasperStarter/target/classes/jdbc is not a directory!
+
+Put your jdbc drivers in the _./jdbc_ directory of the project to invoke
+JasperStarter from within your IDE to call up a database based report.
+
+
+### License
+
+Copyright 2012-2015 Cenote GmbH.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+[jasperstater.cenote.de]:http://jasperstarter.cenote.de/
+[JasperReports]:http://community.jaspersoft.com/project/jasperreports-library
+[Maven]:http://maven.apache.org/
+[Sourceforge]:http://sourceforge.net/projects/jasperstarter/
+[bitbucket.org/cenote/jasperstarter]:http://bitbucket.org/cenote/jasperstarter
+[review]:http://sourceforge.net/projects/jasperstarter/reviews
+[discussion]:http://sourceforge.net/p/jasperstarter/discussion/
+[Issuetracker]:https://cenote-issues.atlassian.net/browse/JAS
+[Usage]:http://jasperstarter.sourceforge.net/usage.html
+[Issues]:https://cenote-issues.atlassian.net/browse/JAS
+[Changes]:changes.html
diff --git a/src/JasperStarter/bin/jasperstarter b/src/JasperStarter/bin/jasperstarter
index 74978f3..f38aed1 100755
--- a/src/JasperStarter/bin/jasperstarter
+++ b/src/JasperStarter/bin/jasperstarter
@@ -23,4 +23,5 @@ else
fi
#SCRIPTPATH="$(dirname $0)"
+#java -jar "$HOME_FOLDER/lib/jasperstarter.jar" "$@"
java -jar -Djava.net.preferIPv4Stack=true -Xmx1024m "$HOME_FOLDER/lib/jasperstarter.jar" "$@"
\ No newline at end of file
diff --git a/src/JasperStarter/bin/jasperstarter.exe b/src/JasperStarter/bin/jasperstarter.exe
index a4709b2..40ee73c 100755
Binary files a/src/JasperStarter/bin/jasperstarter.exe and b/src/JasperStarter/bin/jasperstarter.exe differ
diff --git a/src/JasperStarter/docs/changes.html b/src/JasperStarter/docs/changes.html
deleted file mode 100755
index 2c4d1bf..0000000
--- a/src/JasperStarter/docs/changes.html
+++ /dev/null
@@ -1,457 +0,0 @@
-
-
-
-
-JasperStarter - Running JasperReports from command line
-========================================================
-
-Release Notes - JasperStarter - Version 3.0.0
----------------------------------------------
-
-This Release works with Java8.
-
-** Bug
- * [JAS-69] - Calls of assertEquals have the arguments actual and
- expected interchanged
- * [JAS-70] - Example report csv.jrxml truncates data
- * [JAS-80] - jasperstarter by default is missing some important
- jasper studio builtin libraries
- * [JAS-81] - Eclipse compiler error when running using Java 8
-
-** Improvement
- * [JAS-68] - Expand documentation with calls of running the
- example reports
-
-** New Feature
- * [JAS-67] - Ability to produce CSV Metadata reports
- * [JAS-72] - Ability to produce XLS Metadata reports
-
-** Task
- * [JAS-57] - Switching from Mercurial to Git
- * [JAS-59] - Include JasperReports 6.0.0
- * [JAS-61] - update dependencies
- * [JAS-65] - Include JasperReports 6.0.2
- * [JAS-66] - Include JasperReports 6.0.3
- * [JAS-76] - Git version and revision information in manifest file
- * [JAS-79] - Include JasperReports 6.0.4
-
-
-Release Notes - JasperStarter - Version 2.2.2
-----------------------------------------------
-
-** Bug
- * [JAS-63] - Version 2.2 WindowsSetup replace the path variable
-
-
-Release Notes - JasperStarter - Version 2.2.1
-----------------------------------------------
-
-** Bug
- * [JAS-58] - DB type generic should not require a username
- * [JAS-62] - Linux startup script does not work if called via symlink
-
-** Task
- * [JAS-57] - Switching from Mercurial to Git (Branch Jasperstarter-2.2)
-
-
-Release Notes - JasperStarter - Version 2.2.0
-----------------------------------------------
-
-** Bug
- * [JAS-54] - Eclipse complains: Plugin execution not covered by
- lifecycle configuration
-
-** New Feature
- * [JAS-56] - Support for XML data sources
-
-** Task
- * [JAS-48] - Rewrite api calls deprecated since JasperReports 5.6.0
- * [JAS-49] - Rewrite code reported by -Xlint:unchecked
-
-
-Release Notes - JasperStarter - Version 2.1.2
----------------------------------------------
-
-** Bug
- * [JAS-53] - Property net.sf.jasperreports.export.xls.one.page.per.sheet was overrided
-
-
-Release Notes - JasperStarter - Version 2.1.1
-----------------------------------------------
-
-** Task
- * [JAS-52] - Include JasperReports 5.6.1
-
-
-Release Notes - JasperStarter - Version 2.1.0
-----------------------------------------------
-
-** Bug
- * [JAS-40] - No page title is set in index.html
-
-** New Feature
- * [JAS-50] - Accept number of copies when printing
-
-** Task
- * [JAS-47] - Include JasperReports 5.6.0
-
-
-Release Notes - JasperStarter - Version 2.0.0
-----------------------------------------------
-
-The command line syntax has changed in this release!
-<input> is now an argument and the format of report parameters has changed.
-Specifying the parameter type is no longer necessary. The type is determined
-from the report and it is no longer possible to provide a non existent
-parameter.
-The major new feature is support for csv files as a datasource.
-
-** Bug
- * [JAS-37] - The artifact org.apache.commons:commons-io:jar:1.3.2 has been
- relocated to commons-io:commons-io:jar:1.3.2
- * [JAS-41] - Command "jasperstarter params" gives no useful result if param
- has no description
-
-** Improvement
- * [JAS-15] - Report parameters should be handled in a more generic way
- * [JAS-42] - Accept <input> as positional argument instead of an option
-
-** New Feature
- * [JAS-30] - CSV as a datasource for Jasperstarter
-
-** Task
- * [JAS-23] - create unit test
- * [JAS-24] - create example reports
- * [JAS-34] - site translation de for release 2.0
- * [JAS-35] - site translation cz for release 2.0
- * [JAS-38] - Update build dependencies
- * [JAS-39] - Include JasperReports 5.2.0
-
-
-Release Notes - JasperStarter - Version 1.4.2
-----------------------------------------------
-
-** Bug
- * [JAS-41] - Command "jasperstarter params" gives no useful result
- if param has no description
-
-
-Release Notes - JasperStarter - Version 1.4.1
-----------------------------------------------
-
-** Bug
- * [JAS-33] - Report parameter with space produces error on Unix
- like systems
-
-
-Release Notes - JasperStarter - Version 1.4.0
-----------------------------------------------
-
-** Bug
- * [JAS-29] - Documentation typo java.awt.image
-
-** Task
- * [JAS-31] - Include JasperReports 5.1.2
- * [JAS-32] - Include argparse4j 0.4.1
-
-
-Release Notes - JasperStarter - Version 1.3.0
-----------------------------------------------
-
-This release is mainly due to the new JasperReports library version 5.1.0.
-
-** Improvement
- * [JAS-28] - Include argparse4j 0.4.0 which introduces some features to the
- user
- - Argument abbreviations
- - Subcommand abbreviations
-
-** Task
- * [JAS-27] - Include JasperReports 5.1.0
-
-
-Release Notes - JasperStarter - Version 1.2.0
-----------------------------------------------
-
-This release is mainly due to the new JasperReports library version 5.0.4.
-
-** Improvement
- * [JAS-25] - Implement command aliases
-
-** Task
- * [JAS-19] - create an independent configuration bean as replacement for the
- parser dependend namspace object
- * [JAS-20] - move any call of System.exit() to App.main()
- * [JAS-21] - remove obsolete option --keep
- * [JAS-26] - Use jasperreports library 5.0.4
-
-
-Release Notes - JasperStarter - Version 1.1.0
-----------------------------------------------
-
-JasperStarter is now able to prompt for report parameters.
-
-** Bug
- * [JAS-5] - Maven site does not create index.html if called directly
- * [JAS-6] - Maven site does not generate translation if called directly
- * [JAS-11] - Maven site does not create index.html if called via package
- * [JAS-16] - Selection of the report locale yields unexpected results in
- some cases
-
-** Improvement
- * [JAS-13] - new parameter type locale to specify report locale independent
- from gui locale
-
-** New Feature
- * [JAS-12] - new option to specify report resources like resource bundles or
- icons
- * [JAS-14] - New option: prompt for report parameters
- * [JAS-17] - New Command: List report parameters
-
-** Task
- * [JAS-7] - Site translation cs
- * [JAS-22] - site translation de
-
-
---------
-
- 1.0.1 [JAS-18] - Unable to save output into Excel format
-
- 1.0.0
- JasperStarter now has commands: pr - process, lp - list printers.
- New command: cp - compile, can compile one file or all .jrxml in a
- directory.
- New input file types for command pr allowed:
- jrxml - compiles implicit
- jrprint - print, view or export previously filled reports.
- New output type: jrprint. This makes --keep obsolete.
- New parameter -w writes compiled file to imput dir if jrxml is
- processed.
- Parameter -t defaults to "none" and can therefore be omited if no
- database is needed.
- Input file is read once. No temporary files needed anymore.
- Setup checks for previous versions and creates menuitems for uninstall
- and help.
- Setup is available in English, Chinese (Simplified), Czech, French,
- Hungarian, German, Polish, Romanian, Thai, Ukrainian.
- [JAS-2] - runtime parameter value cannot contain equal sign
- Contains JasperReports 5.0.1
- German translation for Site/docs
- [JAS-4] - java.lang.Integer cannot be cast to java.lang.String
- [JAS-8] - java.lang.String cannot be cast to java.lang.Integer
- [JAS-9] - Exception in thread "main" java.lang.IllegalArgumentException:
- URI has an authority component
-
- 0.10.0 New report parameter types: double, image (see usage).
- New supported export formats: xls, xlsx, csv, ods, pptx, xhtml, xml.
- Windows setup available.
- --version shows included JasperReports version.
- Fixed some minor bugs.
-
-V 0.9.1 Bugfix release fixed problems with --jdbc-dir option.
-
-V 0.9.0 First public release
- Switched from Commons CLI to argparse4j.
- Project documentation in generated site.
- README uses markdown syntay, renamed to README.md.
- Applied Apache License 2.0 to the software.
- JasperStarter now starts via executable files in ./bin.
- Windows binary jasperstarter.exe is generated with launch4j.
-
-V 0.8.0 Switched to maven.
-
-V 0.7.1 Fixed issue: duplicated option -n
-
-V 0.7.0 new option --set-report-name to temporary change the reportname when
- printing. This is useful if you want to change the printjob name for
- printing to a pdf printer like cups-pfd which uses the document name as
- part of the pdf name by default.
-
-V 0.6.0 new options --printer-name --with-print-dialog --list-printers
- printername matches .toLowercase().startWith() and spaces can be escaped
- by the underline character _.
- print dialog and viewer appear in system look an feel.
-
-V 0.5.0 support for postgres, oracle and generic jdbc
- password is no longer a required option except for oracle
- jrprint file is stored in system temp dir and deleted after processing
- new options --jdbc-dir, --debug, --keep-jrprint
- file extension .jasper is added to input if omitted
- output can be omitted or can be file or directory
-
-V 0.4.0 jdbc drivers are loaded from jdbc dir
- new parameter: db-type: none, mysql (none provides JREmptyDataSource()
- for a non database report)
- support for barcode4j
-
-V 0.3.1 Bugfix: removed jasperreports-javaflow
- added barbecue barcode lib
-
-V 0.3.0 Print preview
- nicer help message
- package renamed
-
-V 0.2.0 Print support added
- Added exportformats html, odt
- Added report parameter type date.
- New parameter db-name - database name
-
-V 0.1.0 First working version
- Supports export to PDF, DOCX, RTF.
- Simple report parameters of type string and int.
-
-JasperStarter - Running JasperReports from command line
-========================================================
-
-Release Notes - JasperStarter - Version 3.0.0
----------------------------------------------
-
-This Release works with Java8.
-
-** Bug
- * [JAS-69] - Calls of assertEquals have the arguments actual and
- expected interchanged
- * [JAS-70] - Example report csv.jrxml truncates data
- * [JAS-80] - jasperstarter by default is missing some important
- jasper studio builtin libraries
- * [JAS-81] - Eclipse compiler error when running using Java 8
-
-** Improvement
- * [JAS-68] - Expand documentation with calls of running the
- example reports
-
-** New Feature
- * [JAS-67] - Ability to produce CSV Metadata reports
- * [JAS-72] - Ability to produce XLS Metadata reports
-
-** Task
- * [JAS-57] - Switching from Mercurial to Git
- * [JAS-59] - Include JasperReports 6.0.0
- * [JAS-61] - update dependencies
- * [JAS-65] - Include JasperReports 6.0.2
- * [JAS-66] - Include JasperReports 6.0.3
- * [JAS-76] - Git version and revision information in manifest file
- * [JAS-79] - Include JasperReports 6.0.4
-
-
-Release Notes - JasperStarter - Version 2.2.2
-----------------------------------------------
-
-** Bug
- * [JAS-63] - Version 2.2 WindowsSetup replace the path variable
-
-
-Release Notes - JasperStarter - Version 2.2.1
-----------------------------------------------
-
-** Bug
- * [JAS-58] - DB type generic should not require a username
- * [JAS-62] - Linux startup script does not work if called via symlink
-
-** Task
- * [JAS-57] - Switching from Mercurial to Git (Branch Jasperstarter-2.2)
-
-
-Release Notes - JasperStarter - Version 2.2.0
-----------------------------------------------
-
-** Bug
- * [JAS-54] - Eclipse complains: Plugin execution not covered by
- lifecycle configuration
-
-** New Feature
- * [JAS-56] - Support for XML data sources
-
-** Task
- * [JAS-48] - Rewrite api calls deprecated since JasperReports 5.6.0
- * [JAS-49] - Rewrite code reported by -Xlint:unchecked
-
-
-Release Notes - JasperStarter - Version 2.1.2
----------------------------------------------
-
-** Bug
- * [JAS-53] - Property net.sf.jasperreports.export.xls.one.page.per.sheet was overrided
-
-
-Release Notes - JasperStarter - Version 2.1.1
-----------------------------------------------
-
-** Task
- * [JAS-52] - Include JasperReports 5.6.1
-
-
-Release Notes - JasperStarter - Version 2.1.0
-----------------------------------------------
-
-** Bug
- * [JAS-40] - No page title is set in index.html
-
-** New Feature
- * [JAS-50] - Accept number of copies when printing
-
-** Task
- * [JAS-47] - Include JasperReports 5.6.0
-
-
-Release Notes - JasperStarter - Version 2.0.0
-----------------------------------------------
-
-The command line syntax has changed in this release!
-<input> is now an argument and the format of report parameters has changed.
-Specifying the parameter type is no longer necessary. The type is determined
-from the report and it is no longer possible to provide a non existent
-parameter.
-The major new feature is support for csv files as a datasource.
-
-** Bug
- * [JAS-37] - The artifact org.apache.commons:commons-io:jar:1.3.2 has been
- relocated to commons-io:commons-io:jar:1.3.2
- * [JAS-41] - Command "jasperstarter params" gives no useful result if param
- has no description
-
-** Improvement
- * [JAS-15] - Report parameters should be handled in a more generic way
- * [JAS-42] - Accept <input> as positional argument instead of an option
-
-** New Feature
- * [JAS-30] - CSV as a datasource for Jasperstarter
-
-** Task
- * [JAS-23] - create unit test
- * [JAS-24] - create example reports
- * [JAS-34] - site translation de for release 2.0
- * [JAS-35] - site translation cz for release 2.0
- * [JAS-38] - Update build dependencies
- * [JAS-39] - Include JasperReports 5.2.0
-
-
-Release Notes - JasperStarter - Version 1.4.2
-----------------------------------------------
-
-** Bug
- * [JAS-41] - Command "jasperstarter params" gives no useful result
- if param has no description
-
-
-Release Notes - JasperStarter - Version 1.4.1
-----------------------------------------------
-
-** Bug
- * [JAS-33] - Report parameter with space produces error on Unix
- like systems
-
-
-Release Notes - JasperStarter - Version 1.4.0
-----------------------------------------------
-
-** Bug
- * [JAS-29] - Documentation typo java.awt.image
-
-** Task
- * [JAS-31] - Include JasperReports 5.1.2
- * [JAS-32] - Include argparse4j 0.4.1
-
-
-Release Notes - JasperStarter - Version 1.3.0
-----------------------------------------------
-
-This release is mainly due to the new JasperReports library version 5.1.0.
-
-** Improvement
- * [JAS-28] - Include argparse4j 0.4.0 which introduces some features to the
- user
- - Argument abbreviations
- - Subcommand abbreviations
-
-** Task
- * [JAS-27] - Include JasperReports 5.1.0
-
-
-Release Notes - JasperStarter - Version 1.2.0
-----------------------------------------------
-
-This release is mainly due to the new JasperReports library version 5.0.4.
-
-** Improvement
- * [JAS-25] - Implement command aliases
-
-** Task
- * [JAS-19] - create an independent configuration bean as replacement for the
- parser dependend namspace object
- * [JAS-20] - move any call of System.exit() to App.main()
- * [JAS-21] - remove obsolete option --keep
- * [JAS-26] - Use jasperreports library 5.0.4
-
-
-Release Notes - JasperStarter - Version 1.1.0
-----------------------------------------------
-
-JasperStarter is now able to prompt for report parameters.
-
-** Bug
- * [JAS-5] - Maven site does not create index.html if called directly
- * [JAS-6] - Maven site does not generate translation if called directly
- * [JAS-11] - Maven site does not create index.html if called via package
- * [JAS-16] - Selection of the report locale yields unexpected results in
- some cases
-
-** Improvement
- * [JAS-13] - new parameter type locale to specify report locale independent
- from gui locale
-
-** New Feature
- * [JAS-12] - new option to specify report resources like resource bundles or
- icons
- * [JAS-14] - New option: prompt for report parameters
- * [JAS-17] - New Command: List report parameters
-
-** Task
- * [JAS-7] - Site translation cs
- * [JAS-22] - site translation de
-
-
---------
-
- 1.0.1 [JAS-18] - Unable to save output into Excel format
-
- 1.0.0
- JasperStarter now has commands: pr - process, lp - list printers.
- New command: cp - compile, can compile one file or all .jrxml in a
- directory.
- New input file types for command pr allowed:
- jrxml - compiles implicit
- jrprint - print, view or export previously filled reports.
- New output type: jrprint. This makes --keep obsolete.
- New parameter -w writes compiled file to imput dir if jrxml is
- processed.
- Parameter -t defaults to "none" and can therefore be omited if no
- database is needed.
- Input file is read once. No temporary files needed anymore.
- Setup checks for previous versions and creates menuitems for uninstall
- and help.
- Setup is available in English, Chinese (Simplified), Czech, French,
- Hungarian, German, Polish, Romanian, Thai, Ukrainian.
- [JAS-2] - runtime parameter value cannot contain equal sign
- Contains JasperReports 5.0.1
- German translation for Site/docs
- [JAS-4] - java.lang.Integer cannot be cast to java.lang.String
- [JAS-8] - java.lang.String cannot be cast to java.lang.Integer
- [JAS-9] - Exception in thread "main" java.lang.IllegalArgumentException:
- URI has an authority component
-
- 0.10.0 New report parameter types: double, image (see usage).
- New supported export formats: xls, xlsx, csv, ods, pptx, xhtml, xml.
- Windows setup available.
- --version shows included JasperReports version.
- Fixed some minor bugs.
-
-V 0.9.1 Bugfix release fixed problems with --jdbc-dir option.
-
-V 0.9.0 First public release
- Switched from Commons CLI to argparse4j.
- Project documentation in generated site.
- README uses markdown syntay, renamed to README.md.
- Applied Apache License 2.0 to the software.
- JasperStarter now starts via executable files in ./bin.
- Windows binary jasperstarter.exe is generated with launch4j.
-
-V 0.8.0 Switched to maven.
-
-V 0.7.1 Fixed issue: duplicated option -n
-
-V 0.7.0 new option --set-report-name to temporary change the reportname when
- printing. This is useful if you want to change the printjob name for
- printing to a pdf printer like cups-pfd which uses the document name as
- part of the pdf name by default.
-
-V 0.6.0 new options --printer-name --with-print-dialog --list-printers
- printername matches .toLowercase().startWith() and spaces can be escaped
- by the underline character _.
- print dialog and viewer appear in system look an feel.
-
-V 0.5.0 support for postgres, oracle and generic jdbc
- password is no longer a required option except for oracle
- jrprint file is stored in system temp dir and deleted after processing
- new options --jdbc-dir, --debug, --keep-jrprint
- file extension .jasper is added to input if omitted
- output can be omitted or can be file or directory
-
-V 0.4.0 jdbc drivers are loaded from jdbc dir
- new parameter: db-type: none, mysql (none provides JREmptyDataSource()
- for a non database report)
- support for barcode4j
-
-V 0.3.1 Bugfix: removed jasperreports-javaflow
- added barbecue barcode lib
-
-V 0.3.0 Print preview
- nicer help message
- package renamed
-
-V 0.2.0 Print support added
- Added exportformats html, odt
- Added report parameter type date.
- New parameter db-name - database name
-
-V 0.1.0 First working version
- Supports export to PDF, DOCX, RTF.
- Simple report parameters of type string and int.
-
Popis: JCalendar is a Java date chooser bean for graphically picking a
- date. JCalendar is composed of several other Java beans, a
- JDayChooser, a JMonthChooser and a JYearChooser. All these beans
- have a locale property, provide several icons (Color 16x16, Color
- 32x32, Mono 16x16 and Mono 32x32) and their own locale property
- editor. So they can easily be used in GUI builders. Also part of the
- package is a JDateChooser, a bean composed of an IDateEditor (for
- direct date editing) and a button for opening a JCalendar for
- selecting the date.
Popis: The Digester package lets you configure an XML to Java object mapping module
- which triggers certain actions called rules whenever a particular
- pattern of nested XML elements is recognized.
Popis: Pro tento projekt není připojen žádný popis.
-
Licence projektu: Tento projekt nemá určenou svoji licenci.
-
-
bouncycastle:bcmail-jdk14:jar:138 (compile)
-
-
-
Legion of the Bouncy Castle Java Cryptography APIs
-
-
-
Popis: The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. The package is organised so that it contains a light-weight API suitable for use in any environment (including the newly released J2ME) with the additional infrastructure to conform the algorithms to the JCE framework.
Legion of the Bouncy Castle Java Cryptography APIs
-
-
-
Popis: The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. The package is organised so that it contains a light-weight API suitable for use in any environment (including the newly released J2ME) with the additional infrastructure to conform the algorithms to the JCE framework.
Popis: The Bouncy Castle Java API for handling the Time Stamp Protocol (TSP). This jar contains the TSP API for JDK 1.4. The APIs can be used in conjunction with a JCE/JCA provider such as the one provided with the Bouncy Castle Cryptography APIs.
Popis: The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.4.
Popis: The Bouncy Castle Java CMS and S/MIME APIs for handling the CMS and S/MIME protocols. This jar contains CMS and S/MIME APIs for JDK 1.4. The APIs can be used in conjunction with a JCE/JCA provider such as the one provided with the Bouncy Castle Cryptography APIs. If the S/MIME API is used, the JavaMail API and the Java activation framework will also be needed.
Popis: JCommon is a free general purpose Java class library that is used in
- several projects at www.jfree.org, including JFreeChart and
- JFreeReport.
Popis: JFreeChart is a class library, written in Java, for generating charts.
- Utilising the Java2D APIs, it currently supports bar charts, pie charts,
- line charts, XY-plots and time series plots.
Popis: The Apache Commons Codec package contains simple encoder and decoders for
- various formats such as Base64 and Hexadecimal. In addition to these
- widely used encoders and decoders, the codec package also maintains a
- collection of phonetic encoding utilities.
Popis: Pro tento projekt není připojen žádný popis.
-
Licence projektu: Tento projekt nemá určenou svoji licenci.
-
xml-apis:xml-apis:jar:1.3.04 (compile)
-
-
-
XML Commons External Components XML APIs
-
-
-
Popis: xml-commons provides an Apache-hosted set of DOM, SAX, and
- JAXP interfaces for use in other xml-based projects. Our hope is that we
- can standardize on both a common version and packaging scheme for these
- critical XML standards interfaces to make the lives of both our developers
- and users easier. The External Components portion of xml-commons contains
- interfaces that are defined by external standards organizations. For DOM,
- that's the W3C; for SAX it's David Megginson and sax.sourceforge.net; for
- JAXP it's Sun.
XML Commons External Components XML APIs Extensions
-
-
-
Popis: xml-commons provides an Apache-hosted set of DOM, SAX, and
- JAXP interfaces for use in other xml-based projects. Our hope is that we
- can standardize on both a common version and packaging scheme for these
- critical XML standards interfaces to make the lives of both our developers
- and users easier. The External Components portion of xml-commons contains
- interfaces that are defined by external standards organizations. For DOM,
- that's the W3C; for SAX it's David Megginson and sax.sourceforge.net; for
- JAXP it's Sun.
Popis: Commons Lang, a package of Java utility classes for the
- classes that are in java.lang's hierarchy, or are considered to be so
- standard as to justify existence in java.lang.
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0: Streaming API for XML
-
MIT: argparse4j
-
CDDL + GPLv2 with classpath exception: JavaServlet(TM) Specification
-
GNU Lesser General Public Licence: JCommon, JFreeChart
-
The Apache Software License, Version 2.0: Apache Ant Core, Apache Ant Launcher, Apache Commons BeanUtils, Apache Groovy, Apache Log4j, Apache POI, Barcode4J, Batik AWT utilities, Batik CSS engine, Batik DOM implementation, Batik GVT (Graphics Vector Tree), Batik Java2D SVG generator, Batik SVG DOM implementation, Batik SVG microsyntax parser library, Batik XML utility library, Batik animation engine, Batik bridge classes, Batik external code, Batik scripting language classes, Batik utility library, Commons Digester, Commons Lang, Commons Logging, JCommander, Jackson-annotations, Jackson-core, JasperStarter, StAX API, XML Commons External Components XML APIs, XML Commons External Components XML APIs Extensions, ZXing Core, jackson-databind, javax.inject
-
Bouncy Castle License: Legion of the Bouncy Castle Java Cryptography APIs
JasperStarter - Spouštění JasperReports z příkazového řádku
-
JasperStarter je open-source spouštěč pro příkazový řádek a batch kompilátor pro JasperReports.
-
Má následující vlastnosti:
-
-
-
-
spustí jakýkoliv JasperReport, který potřebuje jdbc, csv či prázdný datový zdroj
-
-
lze použít pro jakoukoliv databázi, pro kterou existuje jdbc driver
-
-
Provádí reporty, které vyžadují runtime parametery. Podporuje všechny parametry, jejichž class (volba) vyžaduje konstruktor typu String. Navíc podporuje následující druhy parametrů, nebo pro ně má speciální funkci:
-
-
-
-
date, image (see usage), locale
-
-
-
Umožňuje vybrat si z nabídky parametrů reportu
-
-
Umožňuje tisk na vybrané nebo na defaultní tiskárně
-
-
Nabízí možnost zobrazit tiskový dialog pro výběr tiskárny
$ jasperstarter pr report.jasper -t generic -f pdf -o report -u sa \
---db-driver org.hsqldb.jdbcDriver \
---db-url jdbc:hsqldb:hsql://localhost
-
-
Další informace naleznete v distribučním archivu v adresáři docs nebo online na stránce Použití. Usage
-
-
Release Notes
-
See the english version for the history of changes.
-
-
Feedback
-
Zpětná vazba je vítaná! Pokud máte dotazy či návrhy, neváhejte a napište nám do discussion fóra. Našli jste bug nebo postrádáte jistou funkci? Přihlašte se do našeho Issuetrackeru a vytvořte nový požadavek.
-
Jste se softwarem spokojení? Napište hodnocení review :-)
JasperStarter je vytvořen pomocí Maven. Distribuční balíček získáte vyvoláním:
-
-
-
$ mvn package -P release
-
-
nebo, pokud tvoříte z aktualní větve (default branch), raději:
-
-
-
$ mvn package -P release,snapshot
-
-
Pozor!target/jasperstarter.jarnelze přímo spustit, pokud v adresáři../libnemáte závislosti! Viz profil dev níže!
-
Pokud chcete vytvořit setup pro Windows, musíte mít v proměnné path nsis (funguje i v Linuxu, zkompilovanou verzi naleznete na soufceforge ve složce build-tools), k příkazu musíte přidat windows-setup profil:
-
-
-
$ mvn package -P release,windows-setup
-
-
nebo
-
-
-
$ mvn package -P release,windows-setup,snapshot
-
-
Během vývoje možná oceníte rychlejší build. Profil dev se obejde bez některých déle trvajících reportů a bez tvorby zabalených archivů. Místo toho je výsledek uložený do target/jasperstarter-dev-bin.
Pokud vás během vývoje omezují testy, zkuste následující užitečnou možnost:
-
-
-
$ package -P dev -D skipTests
-
-
nebo
-
-
-
$ package -P dev -D maven.test.failure.ignore=true
-
-
Pokud chcete sputit JasperStarter v rámci vašeho IDE, přidejte k seznamu příkazů v konfiguraci --jdbc-dir jdbc. Bez toho dostanete chybovou hlášku:
-
-
-
Error, (...)/JasperStarter/target/classes/jdbc is not a directory!
-
-
Zkopírujte vaše jdbc drivery do adresáře ./jdbc vašeho projektu, abyste mohli vyvolat JasperStarter v rámci vašeho IDE a získali report z databáze.
-
-
Licence
-
Copyright 2012, 2013, 2014 Cenote GmbH.
-
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
-
-
-
-
-
-
diff --git a/src/JasperStarter/docs/cs/js/apache-maven-fluido.min.js b/src/JasperStarter/docs/cs/js/apache-maven-fluido.min.js
deleted file mode 100755
index 2a9c152..0000000
--- a/src/JasperStarter/docs/cs/js/apache-maven-fluido.min.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/*!
- * jQuery JavaScript Library v1.7.1
- * http://jquery.com/
- *
- * Copyright 2011, John Resig
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * Includes Sizzle.js
- * http://sizzlejs.com/
- * Copyright 2011, The Dojo Foundation
- * Released under the MIT, BSD, and GPL Licenses.
- *
- * Date: Mon Nov 21 21:11:03 2011 -0500
- */
-(function(bc,M){var aw=bc.document,bv=bc.navigator,bm=bc.location;var b=(function(){var bG=function(b1,b2){return new bG.fn.init(b1,b2,bE)},bV=bc.jQuery,bI=bc.$,bE,bZ=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bN=/\S/,bJ=/^\s+/,bF=/\s+$/,bB=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bO=/^[\],:{}\s]*$/,bX=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bQ=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bK=/(?:^|:|,)(?:\s*\[)+/g,bz=/(webkit)[ \/]([\w.]+)/,bS=/(opera)(?:.*version)?[ \/]([\w.]+)/,bR=/(msie) ([\w.]+)/,bT=/(mozilla)(?:.*? rv:([\w.]+))?/,bC=/-([a-z]|[0-9])/ig,b0=/^-ms-/,bU=function(b1,b2){return(b2+"").toUpperCase()},bY=bv.userAgent,bW,bD,e,bM=Object.prototype.toString,bH=Object.prototype.hasOwnProperty,bA=Array.prototype.push,bL=Array.prototype.slice,bP=String.prototype.trim,bw=Array.prototype.indexOf,by={};bG.fn=bG.prototype={constructor:bG,init:function(b1,b5,b4){var b3,b6,b2,b7;if(!b1){return this}if(b1.nodeType){this.context=this[0]=b1;this.length=1;return this}if(b1==="body"&&!b5&&aw.body){this.context=aw;this[0]=aw.body;this.selector=b1;this.length=1;return this}if(typeof b1==="string"){if(b1.charAt(0)==="<"&&b1.charAt(b1.length-1)===">"&&b1.length>=3){b3=[null,b1,null]}else{b3=bZ.exec(b1)}if(b3&&(b3[1]||!b5)){if(b3[1]){b5=b5 instanceof bG?b5[0]:b5;b7=(b5?b5.ownerDocument||b5:aw);b2=bB.exec(b1);if(b2){if(bG.isPlainObject(b5)){b1=[aw.createElement(b2[1])];bG.fn.attr.call(b1,b5,true)}else{b1=[b7.createElement(b2[1])]}}else{b2=bG.buildFragment([b3[1]],[b7]);b1=(b2.cacheable?bG.clone(b2.fragment):b2.fragment).childNodes}return bG.merge(this,b1)}else{b6=aw.getElementById(b3[2]);if(b6&&b6.parentNode){if(b6.id!==b3[2]){return b4.find(b1)}this.length=1;this[0]=b6}this.context=aw;this.selector=b1;return this}}else{if(!b5||b5.jquery){return(b5||b4).find(b1)}else{return this.constructor(b5).find(b1)}}}else{if(bG.isFunction(b1)){return b4.ready(b1)}}if(b1.selector!==M){this.selector=b1.selector;this.context=b1.context}return bG.makeArray(b1,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bL.call(this,0)},get:function(b1){return b1==null?this.toArray():(b1<0?this[this.length+b1]:this[b1])},pushStack:function(b2,b4,b1){var b3=this.constructor();if(bG.isArray(b2)){bA.apply(b3,b2)}else{bG.merge(b3,b2)}b3.prevObject=this;b3.context=this.context;if(b4==="find"){b3.selector=this.selector+(this.selector?" ":"")+b1}else{if(b4){b3.selector=this.selector+"."+b4+"("+b1+")"}}return b3},each:function(b2,b1){return bG.each(this,b2,b1)},ready:function(b1){bG.bindReady();bD.add(b1);return this},eq:function(b1){b1=+b1;return b1===-1?this.slice(b1):this.slice(b1,b1+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bL.apply(this,arguments),"slice",bL.call(arguments).join(","))},map:function(b1){return this.pushStack(bG.map(this,function(b3,b2){return b1.call(b3,b2,b3)}))},end:function(){return this.prevObject||this.constructor(null)},push:bA,sort:[].sort,splice:[].splice};bG.fn.init.prototype=bG.fn;bG.extend=bG.fn.extend=function(){var ca,b3,b1,b2,b7,b8,b6=arguments[0]||{},b5=1,b4=arguments.length,b9=false;if(typeof b6==="boolean"){b9=b6;b6=arguments[1]||{};b5=2}if(typeof b6!=="object"&&!bG.isFunction(b6)){b6={}}if(b4===b5){b6=this;--b5}for(;b50){return}bD.fireWith(aw,[bG]);if(bG.fn.trigger){bG(aw).trigger("ready").off("ready")}}},bindReady:function(){if(bD){return}bD=bG.Callbacks("once memory");if(aw.readyState==="complete"){return setTimeout(bG.ready,1)}if(aw.addEventListener){aw.addEventListener("DOMContentLoaded",e,false);bc.addEventListener("load",bG.ready,false)}else{if(aw.attachEvent){aw.attachEvent("onreadystatechange",e);bc.attachEvent("onload",bG.ready);var b1=false;try{b1=bc.frameElement==null}catch(b2){}if(aw.documentElement.doScroll&&b1){bx()}}}},isFunction:function(b1){return bG.type(b1)==="function"},isArray:Array.isArray||function(b1){return bG.type(b1)==="array"},isWindow:function(b1){return b1&&typeof b1==="object"&&"setInterval" in b1},isNumeric:function(b1){return !isNaN(parseFloat(b1))&&isFinite(b1)},type:function(b1){return b1==null?String(b1):by[bM.call(b1)]||"object"},isPlainObject:function(b3){if(!b3||bG.type(b3)!=="object"||b3.nodeType||bG.isWindow(b3)){return false}try{if(b3.constructor&&!bH.call(b3,"constructor")&&!bH.call(b3.constructor.prototype,"isPrototypeOf")){return false}}catch(b2){return false}var b1;for(b1 in b3){}return b1===M||bH.call(b3,b1)},isEmptyObject:function(b2){for(var b1 in b2){return false}return true},error:function(b1){throw new Error(b1)},parseJSON:function(b1){if(typeof b1!=="string"||!b1){return null}b1=bG.trim(b1);if(bc.JSON&&bc.JSON.parse){return bc.JSON.parse(b1)}if(bO.test(b1.replace(bX,"@").replace(bQ,"]").replace(bK,""))){return(new Function("return "+b1))()}bG.error("Invalid JSON: "+b1)},parseXML:function(b3){var b1,b2;try{if(bc.DOMParser){b2=new DOMParser();b1=b2.parseFromString(b3,"text/xml")}else{b1=new ActiveXObject("Microsoft.XMLDOM");b1.async="false";b1.loadXML(b3)}}catch(b4){b1=M}if(!b1||!b1.documentElement||b1.getElementsByTagName("parsererror").length){bG.error("Invalid XML: "+b3)}return b1},noop:function(){},globalEval:function(b1){if(b1&&bN.test(b1)){(bc.execScript||function(b2){bc["eval"].call(bc,b2)})(b1)}},camelCase:function(b1){return b1.replace(b0,"ms-").replace(bC,bU)},nodeName:function(b2,b1){return b2.nodeName&&b2.nodeName.toUpperCase()===b1.toUpperCase()},each:function(b4,b7,b3){var b2,b5=0,b6=b4.length,b1=b6===M||bG.isFunction(b4);if(b3){if(b1){for(b2 in b4){if(b7.apply(b4[b2],b3)===false){break}}}else{for(;b50&&b1[0]&&b1[b2-1])||b2===0||bG.isArray(b1));if(b4){for(;b31?aK.call(arguments,0):bH;if(!(--bx)){bD.resolveWith(bD,by)}}}function bA(bG){return function(bH){bC[bG]=arguments.length>1?aK.call(arguments,0):bH;bD.notifyWith(bF,bC)}}if(e>1){for(;bw
a";bJ=bw.getElementsByTagName("*");bG=bw.getElementsByTagName("a")[0];if(!bJ||!bJ.length||!bG){return{}}bH=aw.createElement("select");by=bH.appendChild(aw.createElement("option"));bF=bw.getElementsByTagName("input")[0];bK={leadingWhitespace:(bw.firstChild.nodeType===3),tbody:!bw.getElementsByTagName("tbody").length,htmlSerialize:!!bw.getElementsByTagName("link").length,style:/top/.test(bG.getAttribute("style")),hrefNormalized:(bG.getAttribute("href")==="/a"),opacity:/^0.55/.test(bG.style.opacity),cssFloat:!!bG.style.cssFloat,checkOn:(bF.value==="on"),optSelected:by.selected,getSetAttribute:bw.className!=="t",enctype:!!aw.createElement("form").enctype,html5Clone:aw.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bF.checked=true;bK.noCloneChecked=bF.cloneNode(true).checked;bH.disabled=true;bK.optDisabled=!by.disabled;try{delete bw.test}catch(bD){bK.deleteExpando=false}if(!bw.addEventListener&&bw.attachEvent&&bw.fireEvent){bw.attachEvent("onclick",function(){bK.noCloneEvent=false});bw.cloneNode(true).fireEvent("onclick")}bF=aw.createElement("input");bF.value="t";bF.setAttribute("type","radio");bK.radioValue=bF.value==="t";bF.setAttribute("checked","checked");bw.appendChild(bF);bE=aw.createDocumentFragment();bE.appendChild(bw.lastChild);bK.checkClone=bE.cloneNode(true).cloneNode(true).lastChild.checked;bK.appendChecked=bF.checked;bE.removeChild(bF);bE.appendChild(bw);bw.innerHTML="";if(bc.getComputedStyle){bB=aw.createElement("div");bB.style.width="0";bB.style.marginRight="0";bw.style.width="2px";bw.appendChild(bB);bK.reliableMarginRight=(parseInt((bc.getComputedStyle(bB,null)||{marginRight:0}).marginRight,10)||0)===0}if(bw.attachEvent){for(bz in {submit:1,change:1,focusin:1}){bC="on"+bz;bx=(bC in bw);if(!bx){bw.setAttribute(bC,"return;");bx=(typeof bw[bC]==="function")}bK[bz+"Bubbles"]=bx}}bE.removeChild(bw);bE=bH=by=bB=bw=bF=null;b(function(){var bN,bV,bW,bU,bO,bP,bM,bT,bS,e,bQ,bR=aw.getElementsByTagName("body")[0];if(!bR){return}bM=1;bT="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bS="visibility:hidden;border:0;";e="style='"+bT+"border:5px solid #000;padding:0;'";bQ="
Obvykle jsou uvedené licence licencemi projektu samotného a nikoliv závislostí.
-
-
Licence projektu
-
-
The Apache Software License, Version 2.0
-
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
Tento dokument poskytuje souhrn různých dokumentů a odkazů, které jsou součástí všeobecných informací tohoto projektu. Veškerý obsah je automaticky vytvářen pomocí Maven ve prospěch projektu.
Toto je odkaz na systém sledování problémů tohoto projektu. Použitím tohoto odkazu můžete vytvářet a vyhledávat problémy (chyby, vlastnosti, požadavky na změnu).
Úspěšný projekt vyžaduje mnoho lidí, aby sehráli řadu rolí. Někteří členové píší kód nebo dokumentaci, zatímco jiní jsou cenní jako testeři, autoři oprav a námětů.
-
Tým je složený ze členů a přispěvatelů. Členové mají přímý přístup ke zdrojovým kódům projektu a aktivně vyvíjejí kód. Přispěvatelé vylepšují projekt prostřednictvím vkládání oprav a námětů členům. Počet přispěvatelů projektu není omezený. Zapojte se, všechny příspěvky projektu jsou velmi ceněny.
-
-
Členové
-
Seznam vývojářů s právy zápisu, kteří do projektu nějak přispěli.
Mnoho lidí, kteří používají JasperReports, unikód vůbec neřeší. Prostě zvolí vybraný font pro pole formuláře a statický text, vygenerují report a hotovo. Ale pokud váš report obsahuje znaky, které znaková sada vašeho defaultního neunikódového operačního systému neobsahuje, budete překvapení. Tiskový náhled a tisk budou v pořádku, ale pdf export nebude. Některé znaky budou chybět.
-
Tento problém jsem měl a to, co jsem našel na internetu, bylo matoucí. Od "je to bud itextové knihovny" až po komplikovaná řešení za pomoci zastaralých funkcí JasperReports.
-
Ale správné řešení je naštěstí docela jednoduché...
-
-
O krok blíž
-
Pro požadované pole zvolte font "DejaVu Sans". Podle toho, jaké znaky váš report obsahuje, nejspíš zjistíte, že se nyní zobrazují i v pdf.
-
(Skupina fontů DejaVu je sice trošku omezená, ale třeba azbuku se vám exportovat podaří. Více informací najdete na http://dejavu-fonts.org.)
-
-
Ještě pořád to nefunguje
-
Název písma pro dané pole je správně nastavený na "DejaVu Sans" a na výše uvedené webové stránce jste se ujistili, že font dané znaky opravdu obsahuje. Vaše pdf ale znaky nezobrazuje?
-
Vrtali jste se předtím v zastaralých volbách jako "PDF Font name" nebo "PDF Encoding"? Přesně to by mohlo způsobovat problém. I když tyto volby přepnete zpátky na jejich default hodnoty, může to být příčinou špatného zobrazování pdf. Musíte šablonu reportu přepnout do xml náhledu a zkontrolovat , že tyto volby vůbec nejsou obsaženy!
-
Takže například toto nefunguje:
-
-
<staticText>
- <reportElement x="14" y="63" width="521" height="24"/>
- <textElement>
- <font fontName="DejaVu Sans" size="15" pdfFontName="DejaVu Sans" pdfEncoding="Identity-H"/>
- </textElement>
- <text><![CDATA[Cyrillic: б в г д ж з и ь к л м н п ф ц ч ш шт э я ю я ы]]></text>
-</staticText>
-
-
Toto fungovat bude, protože se tu vlastnosti pdfFontName a pdfEncoding vůbec nevyskytují:
-
-
<staticText>
- <reportElement x="14" y="63" width="521" height="24"/>
- <textElement>
- <font fontName="DejaVu Sans" size="15"/>
- </textElement>
- <text><![CDATA[Cyrillic: б в г д ж з и ь к л м н п ф ц ч ш шт э я ю я ы]]></text>
-</staticText>
-
-
-
Používání unikódového fontu
-
Může se stát, že znaky, které potřebujete, font DejaVu nezobrazí nebo se vám prostě nelíbí. Což takhle použít Arial nebo jiný unikódový font?
-
Takový font musíte do JasperReports integrovat speciálním způsobem. Musíte je všechny uložit do souboru .jar, který musí obsahovat dodatečné informace v souboru s vlastnostmi a speciální xml soubor, který obsažené fonty popisuje. Tento jar soubor musí být v java classpath během generování reportu. Zní to moc komplikovaně? Žádnou paniku... ;-)
-
Takový fontový jar soubor můžete ve dvou krocích vytvořit pomocí grafického editoru reportů iReport který už možná dokonce používáte.
-
Když rozbalíte v iReports výběrové menu pro název fontu, všimněte si, že na začátku seznamu je jen několik položek, a pak následuje delší seznam fontů oddělených pomlčkou. Tento delší seznam pod pomlčkou jsou fonty, které jsou instalované ve vašem operačním systému, fonty nad pomlčku jsou instalované v iReports. A jenom ty lze v iReports použít pro export unikódových znaků do pdf. Takže prvním krokem bude nainstalování vašeho oblíbeného fontu do iReports.
-
-
Instalování fontu do iReports
-
-
Otevřete v iReports dialog volby.
-
Vyberte sekci iReport (pokud ještě není vybraná).
-
Klikněte na záložku fonty.
-
Nyní vidíte seznam všech již instalovaných fontů. Tři DejaVue fonty jsou instalovýny defaultně, ostatní jsou generické alias fontu.
-
-
Klikněte na tlačítko "Instalovat font".
-
Použijte tlačítko "Prohledat" a vyberte soubor fontu (použijte standardní verzi, ne bold nebo italic).
-
V dalším okně můžete přidat další typy fontů.
-
-
Vyberte "Identity-H (Unicode with horizontal writing)"
-
Pokud instalujete speciální font, který ostatní uživatelé obvykle nemají v systému k dispozici, měli byste zakliknout volbu "Embed this font in the PDF document".
-
Stiskněte "Next"
-
Seznam locales můžete ponechat prázdný. Stiskněte "Next"
-
Pro export reportu do formátů html, xhtm, rtf se používá font mapping (náhradní písmo). Pokud to nepotřebujete, ponechte prázdné.
-
Stiskněte "Finish"
-
Teď by měl export vašeho reportu do pdf v iReports fungovat - i s použitím nově instalovaného fontu a cizích znaků
-
Poznámka pro uživatele Windows 7:
-
Při pokusu instalovat nový font do iReport s největší pravděpodobností dostanete chybovou hlášku, protože nemáte práva pro zápis do souboru. Změňte nastavení adresáře
Vyberte již instalovaný font a stiskněte tlačítko "Export as extension".
-
Zvolte adresář a jméno souboru s koncovkou .jar
-
Právě jste získali fontový jar, který můžete použít v JasperReports. Stačí ho přidat do classpath vaší aplikace.
-
-
Použití fontu v JasperStarteru
-
Pokud chcete použít takto vytvořený fontový jar i v JasperStarteru, uložte ho do adresáře jdbc , který pro JasperStarter používáte. Všechny jar soubory, které se tam nacházejí, jsou přidány do classpath.
Jedná se o xml soubor, který definuje report. Můžete si je napsat ručně, ale spíš použijete jeden z těch hezkých dostupných GUI nástrojů.
-
Soubor zkompilovaného reportu myreport.jasper
-
Tento soubor je výsledkem kompilování souboru .jrxml.
-
Soubor reportu s daty myreport.jrprint
-
Tento soubor získáte po vyvolání reportu. Data získaná z požadovaného datového zdroje vyplní kompilovaný report a výsledek je možné uložit jako .jrprint soubor.
-
-
Stádia zpracování
-
Zpracování reportu probíhá ve třech fázích:
-
-
kompilování vytvoří soubor .jasper
-
vyplnění může být volitelně uloženo jako soubor .jrprint
-
náhled, tisk nebo export do jednoho nebo více podporovaných formátů
-
JasperStarter umí provést všechny najednou v jednom příkazu.
-
-
JasperStarter příkazy a volby
-
JasperStarter obsahuje několik globálních příkazů a voleb. Každý příkaz může mít vlastní volby.
-
Přehled získáte vyvoláním jasperstarter s -h, které vám ukáže všechny globální volby a příkazy, které máte k dispozici.
-
-
$ jasperstarter -h
-usage: jasperstarter [-h] [--locale <lang>] [-v] [-V] <cmd> ...
-
-optional arguments:
- -h, --help show this help message and exit
- --locale <lang> set locale with two-letter ISO-639 code or a
- combination of ISO-639 and ISO-3166 like de_DE
- -v, --verbose display additional messages
- -V, --version display version information and exit
-
-commands:
- <cmd> type <cmd> -h to get help on command
- compile (cp) compile reports
- process (pr) view, print or export an existing report
- list_printers (printers,lpr)
- lists available printers
- list_parameters (params,lpa)
- list parameters from a given report
-
-
Každý příkaz má také vlastní nápovědu, kterou lze vyvolat pomocí <command> -h.
-
-
Příkaz compile (cp)
-
Příkaz compile slouží ke kompilování jednoho nebo všech reportů v adresáři. cp je alias pro compile.
-
-
$ jasperstarter cp -h
-usage: jasperstarter compile [-h] [-o <output>] <input>
-
-optional arguments:
- -h, --help show this help message and exit
-
-options:
- <input> input file (.jrxml) or directory
- -o <output> directory or basename of outputfile(s)
-
-
-
Příkaz process (pr)
-
Příkaz process slouží ke zpracování jednoho reportu. Může to být náhled, tisk nebo export. pr je alias pro process.
-
-
$ jasperstarter pr -h
-usage: jasperstarter process [-h] -f <fmt> [<fmt> ...] [-o <output>] [-w]
- [-a [<filter>]] [-P <param> [<param> ...]]
- [-r [<resource>]] [-t <dstype>] [-H <dbhost>]
- [-u <dbuser>] [-p <dbpasswd>] [-n <dbname>]
- [--db-sid <sid>] [--db-port <port>]
- [--db-driver <name>] [--db-url <jdbcUrl>]
- [--jdbc-dir <dir>] [--data-file <file>]
- [--csv-first-row] [--csv-columns <list>]
- [--csv-record-del <delimiter>]
- [--csv-field-del <delimiter>]
- [--csv-charset <charset>] [--xml-xpath <xpath>]
- [--json-query <jsonquery>] [-N <printername>] [-d]
- [-s <reportname>] [-c <copies>]
- [--out-field-del <delimiter>]
- [--out-charset <charset>] <input>
-
-optional arguments:
- -h, --help show this help message and exit
-
-options:
- -f <fmt> [<fmt> ...] view, print, pdf, rtf, xls, xlsMeta, xlsx, docx,
- odt, ods, pptx, csv, csvMeta, html, xhtml, xml,
- jrprint
- <input> input file (.jrxml|.jasper|.jrprint)
- -o <output> directory or basename of outputfile(s)
-
-compile options:
- -w, --write-jasper write .jasper file to imput dir if jrxml is
- processed
-
-fill options:
- -a [<filter>] ask for report parameters. Filter: a, ae, u, ue,
- p, pe (see usage)
- -P <param> [<param> ...]
- report parameter: name=value [...]
- -r [<resource>] path to report resource dir or jar file. If
- <resource> is not given the input directory is
- used.
-
-datasource options:
- -t <dstype> datasource type: none, csv, xml, json, mysql,
- postgres, oracle, generic (jdbc)
- -H <dbhost> database host
- -u <dbuser> database user
- -p <dbpasswd> database password
- -n <dbname> database name
- --db-sid <sid> oracle sid
- --db-port <port> database port
- --db-driver <name> jdbc driver class name for use with type: generic
- --db-url <jdbcUrl> jdbc url without user, passwd with type:generic
- --jdbc-dir <dir> directory where jdbc driver jars are located.
- Defaults to ./jdbc
- --data-file <file> input file for file based datasource
- --csv-first-row first row contains column headers
- --csv-columns <list> Comma separated list of column names
- --csv-record-del <delimiter>
- CSV Record Delimiter - defaults to line.separator
- --csv-field-del <delimiter>
- CSV Field Delimiter - defaults to ","
- --csv-charset <charset>
- CSV charset - defaults to "utf-8"
- --xml-xpath <xpath> XPath for XML Datasource
- --json-query <jsonquery>
- JSON query string for JSON Datasource
-
-output options:
- -N <printername> name of printer
- -d show print dialog when printing
- -s <reportname> set internal report/document name when printing
- -c <copies> number of copies. Defaults to 1
- --out-field-del <delimiter>
- Export CSV (Metadata) Field Delimiter - defaults
- to ","
- --out-charset <charset>
- Export CSV (Metadata) Charset - defaults to "utf-
- 8"
-
-
-
Příkaz list_printers (printers,lpr)
-
Příkaz list_printers nemá žádné volby. Vypíše všechny tiskárny dostupné ve vašem systému, které můžete použít s volbou -N u příkazu process. printers, lpr je alias pro list_printers.
-
-
Příkaz list_parameters (params,lpa)
-
Příkaz list_parameterss nabídne seznam všech parametrů reportu definovaných uživatelem. params, lpa are aliases for list_parameters.
-
-
$ jasperstarter params -h
-usage: jasperstarter list_parameters [-h] <input>
-
-optional arguments:
- -h, --help show this help message and exit
-
-options:
- <input> input file (.jrxml) or (.jasper)
-
-
Sloupce mají následující význam:
-
-
P/N - Prompt flag ano či ne
-
Název parametru
-
Typ parametru (class name)
-
Nepovinný popis
-
Příklad výstupu:
-
-
$ jasperstarter params myreport.jasper
-P background java.awt.Image Background image
-P MyName java.lang.String Title of some component
-P MyDate java.util.Date
-
-
-
Příkazové soubory
-
Každý příkaz, volbu nebo argument, které JasperStarter akceptuje, můžete uložit do souboru, který pak po přidání @ můžete přidat k vyvolání.
-
Takový soubor by měl obsahovat na jednom řádku pouze jeden příkaz/volbu/argument.
-
Příklad (db.conf):
-
-
-t
-mysql
--H
-localhost
--n
-mydb
--u
-volker
-
-
Příklad vyvolání s příkazovým souborem:
-
-
$ jasperstarter pr myreport -f view @db.conf
-
-
Pozor! Příkazový soubor nesmí obsahovat žádné prázdné řádky a musí býtzakončen jedním zalomením řádku!
-
-
Zpracování reportů
-
Aby došlo ke zpracování reportu, zadejte příkaz pr, který potřebuje následující volby:
-
-
<input> vstupní soubor (definice reportu, kompilovaný report nebo vyplněný report).
-
-f seznam výstupních formátů oddělených mezerou.
-
-
view a print se navzájem vylučují, print bude ignorováno, pokud jste zadali i view.
-
-t typ databáze, pokud váš report vyžaduje spojení s databází. Default nastavení je none.
-
-
pokud typ databáze není none musíte specifikovat údaje potřebné pro spojení.
-
Všechny ostatní volby jsou nepovinné.
-
Pro výstup -o viz kapitola "Zacházení se soubory".
-
<input> je nyní pouze parametr. Na pořadí voleb a tohoto parametru nezáleží, ale parametr nelze umístit za volbu, která sama má jistý počet parametrů. Tyto volby jsou:
The easiest way to circumvent any problems regarding arguments is to always place <input> at the first position right behind the command as shown in the following examples.
-
-
Minimální report bez databáze
-
Pro zpracování reportu s prázdnou databází potřebujete minimálně následující volby:
-
-
$ jasperstarter pr myreport.jasper -f view
-
-
-
Minimální report s databází
-
Pro zpracování reportu, který potřebuje připojení k databázi, musíte zadat minimálně následující volby:
-
-
$ jasperstarter pr myreport.jasper -f pdf -t mysql -H localhost -n mydb -u appuser
-
-
-
Náhled, tisk nebo export již vyplněných reportů
-
Report je možné pouze vyplnit. Náhled, tisk a export je možný i později.
Znaková sada souborů CSV je defaultně UTF-8. Další často používané znakové sady jsou cp1252 (Windows), ISO-8859-1 or ISO-8859-15 (Linux). Znakovou sadu CSV souboru lze specifikovat parametrem --csv-charset.
-
Jednotlivé údaje jsou obvykle odděleny novým řádkem, nemusí tak tomu ale být. separátor je závislý na defaultním separátoru celého systému a ten se v každém operačním systému liší. Pokud používáte CSV soubory z jiného systému, musíte tedy zadat správný separátor pomocí parametru --csv-record-del:
-
-
Windows: \r\n
-
Linux/Mac: \n
-
Jednotlivá pole mohou být oddělena jakýmkoliv znakem a navíc být uzavřena do například uvozovkami. Separátor pole je defaultně ,
Parametry reportu se mohou skládat z více typů (classes). JasperStarter umí zacházet se všemi typy, které mají konstruktor typu String. Navíc má JasperStarter speciální funkce pro typy, které nemají konstruktor typu String nebo potřebují speciální zacházení. Jedná se o:
-
-
date, image, locale
-
Parametry s více hodnotami se oddělují mezerami. Parameter má následující formu:
-
-
<name>=<value>
-
Míso name dosaďte název parametru ve vašem reportu. U názvů parametrů dbejte na velká a malá písmena!
-
Datum je v ISO formátu a má tvar: YYYY-MM-DD Parametr typu date akceptuje datum v ISO formátu a ve tvaru YYYY-MM-DD
-
Parametr typu locale může mít dvě písmena - jazykový kód ISO-639 - nebo se skládat z kódu pro jazyk (ISO-639) a z kódu pro zemi (ISO-3166) spojených podtržítkem. Například de nebo de_DE.
Report lze snadno upravit přidáním loga či obrázku v pozadí jako parametr. V následujícím příkladu použijeme background jako název parametru pro obrázek:
-
-
Vytvořte ve svém reportu nový parametr a změňte jeho vlastnosti:
-
-
Name = background
-
Parameter Class = java.awt.Image
-
Přidejte do reportu obrázek a změňte jeho vlastnosti:
-
-
Image Expression = $P{background}
-
Expression Class = java.awt.Image
-
zkompilujte report
-
Nyní můžete report zpracovat pomocí JasperStarteru:
JasperStarter umí požádat o zadání parametrů volbou -a.
-
Lze zobrazit každý parametr, který je v reportu definovaný, ale zadat lze pouze takový, který má typ (class) s konstruktorem, který vyžaduje jeden string coby argumen nebo pro něj existuje extra funkce.
-
Je možné zúžit výběr zobrazených parametrů pomocí následujících nepovinných argumentů:
-
-
a - všechny parametry (včetně systémových parametrů)
-
ae - všechny prázdné parametry (parametry, pro které není na příkazovém řádku zadána žádná hodnota)
-
p - všechny parametry definované uživatelem, které byly vybrány pro zobrazení ve výběrovém dialogu (defaultní, pokud -a nemá žádné argumenty)
-
pe - všechny prázdné uživatelské parametry vybrané pro zobrazení
-
u - všechny parametry definované uživatelem
-
ue - všechny prázdné parametry definované uživatelem
-
V následujících příkladech se podíváme na report bez databáze, který má dva parametry:
-
-
MyDate (java.util.Date)
-
MyText (java.lang.String)
-
Uživatel bude vyzván, aby zadal tyto dva parametry:
-
-
$ jasperstarter pr myreport.jasper -f view -a
-
-
Uživatel bude vyzván, aby zadal dva parametry. Paramet MyDate již je vyplněný, lze ho ale změnit:
-
-
$ jasperstarter pr myreport.jasper -f view -P MyDate=2013-01-30 -a
-
-
Uživatel bude vyzván pouze k zadání prázdného parametru MyText. Parametr MyDate již je vyplněný a nezobrazí se:
-
-
$ jasperstarter pr myreport.jasper -f view -P MyDate=2013-01-30 -a pe
-
-
-
Reporty se zdroji
-
Reporty mohou používat několik různých zdrojů, jako třeba resource balíčky i18n, ikony či obrázky.
-
Pokud se zdroje nacházejí ve stejném adresáři jako report, specifikujte pouze -r bez argumentů:
-
-
$ jasperstarter pr myreport.jasper -f view -r
-
-
Pokud se zdroje nacházejí v jiném adresáři, nebo v souboru jar, můžete jako argument zadat cestu:
Pokud vstupní soubor (volba -i ) nebyl nalezen, je k názvu souboru přidáno nejdřív .jasper, pokud soubor opět nebyl nalezen, je k názvu souboru přidáno .jrxml. Koncovku souboru tedy můžete vynechat.
-
Pokud je použitý soubor .jrxml, zkompiluje se a uloží pro další zpracování. Pokud zadáte volbu -w, zkompilovaný soubor se zapíše do adresáře input.
-
Jako vstupní soubor můžete použít i soubor .jrprint, musíte však zadat celý název souboru.
-
Pokud není uveden výstupní soubor nebo adresář ( volba -o ), bude pro uložení výstupního souboru použit nadřazený adresář a základní název vstupního souboru:
-
-
(...) myreports/report1 -f pdf odt
-
-
nebo
-
-
(...) myreports/report1.jasper -f pdf odt
-
-
nebo
-
-
(...) myreports/report1.jrxml -f pdf odt
-
-
výsledek:
-
-
myreports/report1.odt
-myreports/report1.pdf
-
-
Pokud existuje adresář output, základní název input poslouží pro pojmenování souboru v adresáři:
-
-
(...) myreports/report1.jasper -f pdf odt -o month01/
-
-
výsledek:
-
-
month01/report1.odt
-month01/report1.pdf
-
-
Pokud adresář output neexistuje, jeho název poslouží pro pojmenování souborů:
-
-
(...) myreports/report1.jasper -f pdf odt -o month01/journal.xyz
-
-JasperStarter - Running JasperReports from command line
-========================================================
-
-Release Notes - JasperStarter - Version 3.0.0
----------------------------------------------
-
-This Release works with Java8.
-
-** Bug
- * [JAS-69] - Calls of assertEquals have the arguments actual and
- expected interchanged
- * [JAS-70] - Example report csv.jrxml truncates data
- * [JAS-80] - jasperstarter by default is missing some important
- jasper studio builtin libraries
- * [JAS-81] - Eclipse compiler error when running using Java 8
-
-** Improvement
- * [JAS-68] - Expand documentation with calls of running the
- example reports
-
-** New Feature
- * [JAS-67] - Ability to produce CSV Metadata reports
- * [JAS-72] - Ability to produce XLS Metadata reports
-
-** Task
- * [JAS-57] - Switching from Mercurial to Git
- * [JAS-59] - Include JasperReports 6.0.0
- * [JAS-61] - update dependencies
- * [JAS-65] - Include JasperReports 6.0.2
- * [JAS-66] - Include JasperReports 6.0.3
- * [JAS-76] - Git version and revision information in manifest file
- * [JAS-79] - Include JasperReports 6.0.4
-
-
-Release Notes - JasperStarter - Version 2.2.2
-----------------------------------------------
-
-** Bug
- * [JAS-63] - Version 2.2 WindowsSetup replace the path variable
-
-
-Release Notes - JasperStarter - Version 2.2.1
-----------------------------------------------
-
-** Bug
- * [JAS-58] - DB type generic should not require a username
- * [JAS-62] - Linux startup script does not work if called via symlink
-
-** Task
- * [JAS-57] - Switching from Mercurial to Git (Branch Jasperstarter-2.2)
-
-
-Release Notes - JasperStarter - Version 2.2.0
-----------------------------------------------
-
-** Bug
- * [JAS-54] - Eclipse complains: Plugin execution not covered by
- lifecycle configuration
-
-** New Feature
- * [JAS-56] - Support for XML data sources
-
-** Task
- * [JAS-48] - Rewrite api calls deprecated since JasperReports 5.6.0
- * [JAS-49] - Rewrite code reported by -Xlint:unchecked
-
-
-Release Notes - JasperStarter - Version 2.1.2
----------------------------------------------
-
-** Bug
- * [JAS-53] - Property net.sf.jasperreports.export.xls.one.page.per.sheet was overrided
-
-
-Release Notes - JasperStarter - Version 2.1.1
-----------------------------------------------
-
-** Task
- * [JAS-52] - Include JasperReports 5.6.1
-
-
-Release Notes - JasperStarter - Version 2.1.0
-----------------------------------------------
-
-** Bug
- * [JAS-40] - No page title is set in index.html
-
-** New Feature
- * [JAS-50] - Accept number of copies when printing
-
-** Task
- * [JAS-47] - Include JasperReports 5.6.0
-
-
-Release Notes - JasperStarter - Version 2.0.0
-----------------------------------------------
-
-The command line syntax has changed in this release!
-<input> is now an argument and the format of report parameters has changed.
-Specifying the parameter type is no longer necessary. The type is determined
-from the report and it is no longer possible to provide a non existent
-parameter.
-The major new feature is support for csv files as a datasource.
-
-** Bug
- * [JAS-37] - The artifact org.apache.commons:commons-io:jar:1.3.2 has been
- relocated to commons-io:commons-io:jar:1.3.2
- * [JAS-41] - Command "jasperstarter params" gives no useful result if param
- has no description
-
-** Improvement
- * [JAS-15] - Report parameters should be handled in a more generic way
- * [JAS-42] - Accept <input> as positional argument instead of an option
-
-** New Feature
- * [JAS-30] - CSV as a datasource for Jasperstarter
-
-** Task
- * [JAS-23] - create unit test
- * [JAS-24] - create example reports
- * [JAS-34] - site translation de for release 2.0
- * [JAS-35] - site translation cz for release 2.0
- * [JAS-38] - Update build dependencies
- * [JAS-39] - Include JasperReports 5.2.0
-
-
-Release Notes - JasperStarter - Version 1.4.2
-----------------------------------------------
-
-** Bug
- * [JAS-41] - Command "jasperstarter params" gives no useful result
- if param has no description
-
-
-Release Notes - JasperStarter - Version 1.4.1
-----------------------------------------------
-
-** Bug
- * [JAS-33] - Report parameter with space produces error on Unix
- like systems
-
-
-Release Notes - JasperStarter - Version 1.4.0
-----------------------------------------------
-
-** Bug
- * [JAS-29] - Documentation typo java.awt.image
-
-** Task
- * [JAS-31] - Include JasperReports 5.1.2
- * [JAS-32] - Include argparse4j 0.4.1
-
-
-Release Notes - JasperStarter - Version 1.3.0
-----------------------------------------------
-
-This release is mainly due to the new JasperReports library version 5.1.0.
-
-** Improvement
- * [JAS-28] - Include argparse4j 0.4.0 which introduces some features to the
- user
- - Argument abbreviations
- - Subcommand abbreviations
-
-** Task
- * [JAS-27] - Include JasperReports 5.1.0
-
-
-Release Notes - JasperStarter - Version 1.2.0
-----------------------------------------------
-
-This release is mainly due to the new JasperReports library version 5.0.4.
-
-** Improvement
- * [JAS-25] - Implement command aliases
-
-** Task
- * [JAS-19] - create an independent configuration bean as replacement for the
- parser dependend namspace object
- * [JAS-20] - move any call of System.exit() to App.main()
- * [JAS-21] - remove obsolete option --keep
- * [JAS-26] - Use jasperreports library 5.0.4
-
-
-Release Notes - JasperStarter - Version 1.1.0
-----------------------------------------------
-
-JasperStarter is now able to prompt for report parameters.
-
-** Bug
- * [JAS-5] - Maven site does not create index.html if called directly
- * [JAS-6] - Maven site does not generate translation if called directly
- * [JAS-11] - Maven site does not create index.html if called via package
- * [JAS-16] - Selection of the report locale yields unexpected results in
- some cases
-
-** Improvement
- * [JAS-13] - new parameter type locale to specify report locale independent
- from gui locale
-
-** New Feature
- * [JAS-12] - new option to specify report resources like resource bundles or
- icons
- * [JAS-14] - New option: prompt for report parameters
- * [JAS-17] - New Command: List report parameters
-
-** Task
- * [JAS-7] - Site translation cs
- * [JAS-22] - site translation de
-
-
---------
-
- 1.0.1 [JAS-18] - Unable to save output into Excel format
-
- 1.0.0
- JasperStarter now has commands: pr - process, lp - list printers.
- New command: cp - compile, can compile one file or all .jrxml in a
- directory.
- New input file types for command pr allowed:
- jrxml - compiles implicit
- jrprint - print, view or export previously filled reports.
- New output type: jrprint. This makes --keep obsolete.
- New parameter -w writes compiled file to imput dir if jrxml is
- processed.
- Parameter -t defaults to "none" and can therefore be omited if no
- database is needed.
- Input file is read once. No temporary files needed anymore.
- Setup checks for previous versions and creates menuitems for uninstall
- and help.
- Setup is available in English, Chinese (Simplified), Czech, French,
- Hungarian, German, Polish, Romanian, Thai, Ukrainian.
- [JAS-2] - runtime parameter value cannot contain equal sign
- Contains JasperReports 5.0.1
- German translation for Site/docs
- [JAS-4] - java.lang.Integer cannot be cast to java.lang.String
- [JAS-8] - java.lang.String cannot be cast to java.lang.Integer
- [JAS-9] - Exception in thread "main" java.lang.IllegalArgumentException:
- URI has an authority component
-
- 0.10.0 New report parameter types: double, image (see usage).
- New supported export formats: xls, xlsx, csv, ods, pptx, xhtml, xml.
- Windows setup available.
- --version shows included JasperReports version.
- Fixed some minor bugs.
-
-V 0.9.1 Bugfix release fixed problems with --jdbc-dir option.
-
-V 0.9.0 First public release
- Switched from Commons CLI to argparse4j.
- Project documentation in generated site.
- README uses markdown syntay, renamed to README.md.
- Applied Apache License 2.0 to the software.
- JasperStarter now starts via executable files in ./bin.
- Windows binary jasperstarter.exe is generated with launch4j.
-
-V 0.8.0 Switched to maven.
-
-V 0.7.1 Fixed issue: duplicated option -n
-
-V 0.7.0 new option --set-report-name to temporary change the reportname when
- printing. This is useful if you want to change the printjob name for
- printing to a pdf printer like cups-pfd which uses the document name as
- part of the pdf name by default.
-
-V 0.6.0 new options --printer-name --with-print-dialog --list-printers
- printername matches .toLowercase().startWith() and spaces can be escaped
- by the underline character _.
- print dialog and viewer appear in system look an feel.
-
-V 0.5.0 support for postgres, oracle and generic jdbc
- password is no longer a required option except for oracle
- jrprint file is stored in system temp dir and deleted after processing
- new options --jdbc-dir, --debug, --keep-jrprint
- file extension .jasper is added to input if omitted
- output can be omitted or can be file or directory
-
-V 0.4.0 jdbc drivers are loaded from jdbc dir
- new parameter: db-type: none, mysql (none provides JREmptyDataSource()
- for a non database report)
- support for barcode4j
-
-V 0.3.1 Bugfix: removed jasperreports-javaflow
- added barbecue barcode lib
-
-V 0.3.0 Print preview
- nicer help message
- package renamed
-
-V 0.2.0 Print support added
- Added exportformats html, odt
- Added report parameter type date.
- New parameter db-name - database name
-
-V 0.1.0 First working version
- Supports export to PDF, DOCX, RTF.
- Simple report parameters of type string and int.
-
Es folgt eine Liste der Kompilierabhängigkeiten dieses Projektes. Diese Abhängigkeiten werden zur Kompilierung und zur Ausführung des Projektes benötigt:
Es folgt eine Liste der Testabhängigkeiten dieses Projektes. Diese Abhängigkeiten werden ausschließlich zur Kompilierung und Ausführung von Tests des Projektes benötigt:
Es folgen die transitiven Abhängigkeiten dieses Projektes. Transitive Abhängigkeiten sind Abhängigkeiten der nicht transitiven Abhängigkeiten:
-
-
compile
-
Es folgt eine Liste der Kompilierabhängigkeiten dieses Projektes. Diese Abhängigkeiten werden zur Kompilierung und zur Ausführung des Projektes benötigt:
Es folgt eine Liste der Testabhängigkeiten dieses Projektes. Diese Abhängigkeiten werden ausschließlich zur Kompilierung und Ausführung von Tests des Projektes benötigt:
Beschreibung: JCalendar is a Java date chooser bean for graphically picking a
- date. JCalendar is composed of several other Java beans, a
- JDayChooser, a JMonthChooser and a JYearChooser. All these beans
- have a locale property, provide several icons (Color 16x16, Color
- 32x32, Mono 16x16 and Mono 32x32) and their own locale property
- editor. So they can easily be used in GUI builders. Also part of the
- package is a JDateChooser, a bean composed of an IDateEditor (for
- direct date editing) and a button for opening a JCalendar for
- selecting the date.
Beschreibung: The Digester package lets you configure an XML to Java object mapping module
- which triggers certain actions called rules whenever a particular
- pattern of nested XML elements is recognized.
Beschreibung: Derzeit existiert keine Beschreibung für dieses Projekt.
-
Projektlizenz: Es wurde keine Lizenz für dieses Projekt definiert.
-
-
bouncycastle:bcmail-jdk14:jar:138 (compile)
-
-
-
Legion of the Bouncy Castle Java Cryptography APIs
-
-
-
Beschreibung: The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. The package is organised so that it contains a light-weight API suitable for use in any environment (including the newly released J2ME) with the additional infrastructure to conform the algorithms to the JCE framework.
Legion of the Bouncy Castle Java Cryptography APIs
-
-
-
Beschreibung: The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. The package is organised so that it contains a light-weight API suitable for use in any environment (including the newly released J2ME) with the additional infrastructure to conform the algorithms to the JCE framework.
Beschreibung: The Bouncy Castle Java API for handling the Time Stamp Protocol (TSP). This jar contains the TSP API for JDK 1.4. The APIs can be used in conjunction with a JCE/JCA provider such as the one provided with the Bouncy Castle Cryptography APIs.
Beschreibung: The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.4.
Beschreibung: The Bouncy Castle Java CMS and S/MIME APIs for handling the CMS and S/MIME protocols. This jar contains CMS and S/MIME APIs for JDK 1.4. The APIs can be used in conjunction with a JCE/JCA provider such as the one provided with the Bouncy Castle Cryptography APIs. If the S/MIME API is used, the JavaMail API and the Java activation framework will also be needed.
Beschreibung: JCommon is a free general purpose Java class library that is used in
- several projects at www.jfree.org, including JFreeChart and
- JFreeReport.
Beschreibung: JFreeChart is a class library, written in Java, for generating charts.
- Utilising the Java2D APIs, it currently supports bar charts, pie charts,
- line charts, XY-plots and time series plots.
Beschreibung: The Apache Commons Codec package contains simple encoder and decoders for
- various formats such as Base64 and Hexadecimal. In addition to these
- widely used encoders and decoders, the codec package also maintains a
- collection of phonetic encoding utilities.
Beschreibung: Derzeit existiert keine Beschreibung für dieses Projekt.
-
Projektlizenz: Es wurde keine Lizenz für dieses Projekt definiert.
-
xml-apis:xml-apis:jar:1.3.04 (compile)
-
-
-
XML Commons External Components XML APIs
-
-
-
Beschreibung: xml-commons provides an Apache-hosted set of DOM, SAX, and
- JAXP interfaces for use in other xml-based projects. Our hope is that we
- can standardize on both a common version and packaging scheme for these
- critical XML standards interfaces to make the lives of both our developers
- and users easier. The External Components portion of xml-commons contains
- interfaces that are defined by external standards organizations. For DOM,
- that's the W3C; for SAX it's David Megginson and sax.sourceforge.net; for
- JAXP it's Sun.
XML Commons External Components XML APIs Extensions
-
-
-
Beschreibung: xml-commons provides an Apache-hosted set of DOM, SAX, and
- JAXP interfaces for use in other xml-based projects. Our hope is that we
- can standardize on both a common version and packaging scheme for these
- critical XML standards interfaces to make the lives of both our developers
- and users easier. The External Components portion of xml-commons contains
- interfaces that are defined by external standards organizations. For DOM,
- that's the W3C; for SAX it's David Megginson and sax.sourceforge.net; for
- JAXP it's Sun.
Beschreibung: Commons Lang, a package of Java utility classes for the
- classes that are in java.lang's hierarchy, or are considered to be so
- standard as to justify existence in java.lang.
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0: Streaming API for XML
-
MIT: argparse4j
-
CDDL + GPLv2 with classpath exception: JavaServlet(TM) Specification
-
GNU Lesser General Public Licence: JCommon, JFreeChart
-
The Apache Software License, Version 2.0: Apache Ant Core, Apache Ant Launcher, Apache Commons BeanUtils, Apache Groovy, Apache Log4j, Apache POI, Barcode4J, Batik AWT utilities, Batik CSS engine, Batik DOM implementation, Batik GVT (Graphics Vector Tree), Batik Java2D SVG generator, Batik SVG DOM implementation, Batik SVG microsyntax parser library, Batik XML utility library, Batik animation engine, Batik bridge classes, Batik external code, Batik scripting language classes, Batik utility library, Commons Digester, Commons Lang, Commons Logging, JCommander, Jackson-annotations, Jackson-core, JasperStarter, StAX API, XML Commons External Components XML APIs, XML Commons External Components XML APIs Extensions, ZXing Core, jackson-databind, javax.inject
-
Bouncy Castle License: Legion of the Bouncy Castle Java Cryptography APIs
JasperStarter Distributions-Dateien haben die folgenden Namenskonventionen:
-
-
-
JasperStarter-<version>-<type>.<archiveTye>
-
-
Versionsnummer für Produktionsreleases:
-
-
-
<major>.<minor>.<bugfix>
-
-
Versionsnummer für Release-Kandidaten - sollten für die Produktion reif sein, benötigen aber noch einige Test durch Sie ;-) :
-
-
-
<major>.<minor>-RC<N>
-
-
Versionsnummer für Testreleases - nicht für den produktiven Einsatz:
-
-
-
<major>.<minor>-SNAPSHOT-<git-short-commit-id>
-
-
Typen:
-
-
-
-
bin - bedeutet binäre Distribution
-
-
setup - Windows Installations Programm
-
-
Wählen Sie Ihren bevorzugten Archiv Typ. Der Inhalt ist gleich in jedem Archiv.
-
-
Manifest
-
Inhalt eines Distributions Archives:
-
-
-
bin/ - Ausführbare Dateien für Windows, Mac OSX, Linux, etc.
-docs/ - JasperStarter Dokumentation im html Format
-jdbc/ - Verzeichnis für Ihre JDBC Treiber (jar Dateien)
-lib/ - Benötigte Bibliotheken
-CHANGES
-LICENSE
-NOTICE
-README.md
-
-
Bitte ändern Sie nicht die Struktur der Verzeichnisse, JasperStarter wird sonst nicht funktionieren.
-
Für weitere Informationen siehe README.md im Distributions Archiv.
-
-
-
-
-
-
-
-
diff --git a/src/JasperStarter/docs/de/images/accessories-text-editor.png b/src/JasperStarter/docs/de/images/accessories-text-editor.png
deleted file mode 100755
index abc3366..0000000
Binary files a/src/JasperStarter/docs/de/images/accessories-text-editor.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/add.gif b/src/JasperStarter/docs/de/images/add.gif
deleted file mode 100755
index 1cb3dbf..0000000
Binary files a/src/JasperStarter/docs/de/images/add.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/apache-maven-project-2.png b/src/JasperStarter/docs/de/images/apache-maven-project-2.png
deleted file mode 100755
index 6c096ec..0000000
Binary files a/src/JasperStarter/docs/de/images/apache-maven-project-2.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/application-certificate.png b/src/JasperStarter/docs/de/images/application-certificate.png
deleted file mode 100755
index cc6aff6..0000000
Binary files a/src/JasperStarter/docs/de/images/application-certificate.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/close.gif b/src/JasperStarter/docs/de/images/close.gif
deleted file mode 100755
index 1c26bbc..0000000
Binary files a/src/JasperStarter/docs/de/images/close.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/collapsed.png b/src/JasperStarter/docs/de/images/collapsed.png
deleted file mode 100755
index 67f5b5e..0000000
Binary files a/src/JasperStarter/docs/de/images/collapsed.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/contact-new.png b/src/JasperStarter/docs/de/images/contact-new.png
deleted file mode 100755
index ebc4316..0000000
Binary files a/src/JasperStarter/docs/de/images/contact-new.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/document-properties.png b/src/JasperStarter/docs/de/images/document-properties.png
deleted file mode 100755
index 34c2409..0000000
Binary files a/src/JasperStarter/docs/de/images/document-properties.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/drive-harddisk.png b/src/JasperStarter/docs/de/images/drive-harddisk.png
deleted file mode 100755
index d7ce475..0000000
Binary files a/src/JasperStarter/docs/de/images/drive-harddisk.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/expanded.png b/src/JasperStarter/docs/de/images/expanded.png
deleted file mode 100755
index 83772c7..0000000
Binary files a/src/JasperStarter/docs/de/images/expanded.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/fix.gif b/src/JasperStarter/docs/de/images/fix.gif
deleted file mode 100755
index b7eb3dc..0000000
Binary files a/src/JasperStarter/docs/de/images/fix.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/icon_error_sml.gif b/src/JasperStarter/docs/de/images/icon_error_sml.gif
deleted file mode 100755
index 12e9a01..0000000
Binary files a/src/JasperStarter/docs/de/images/icon_error_sml.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/icon_help_sml.gif b/src/JasperStarter/docs/de/images/icon_help_sml.gif
deleted file mode 100755
index aaf20e6..0000000
Binary files a/src/JasperStarter/docs/de/images/icon_help_sml.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/icon_info_sml.gif b/src/JasperStarter/docs/de/images/icon_info_sml.gif
deleted file mode 100755
index b776326..0000000
Binary files a/src/JasperStarter/docs/de/images/icon_info_sml.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/icon_success_sml.gif b/src/JasperStarter/docs/de/images/icon_success_sml.gif
deleted file mode 100755
index 0a19527..0000000
Binary files a/src/JasperStarter/docs/de/images/icon_success_sml.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/icon_warning_sml.gif b/src/JasperStarter/docs/de/images/icon_warning_sml.gif
deleted file mode 100755
index ac6ad6a..0000000
Binary files a/src/JasperStarter/docs/de/images/icon_warning_sml.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/image-x-generic.png b/src/JasperStarter/docs/de/images/image-x-generic.png
deleted file mode 100755
index ab49efb..0000000
Binary files a/src/JasperStarter/docs/de/images/image-x-generic.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/internet-web-browser.png b/src/JasperStarter/docs/de/images/internet-web-browser.png
deleted file mode 100755
index 307d6ac..0000000
Binary files a/src/JasperStarter/docs/de/images/internet-web-browser.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/logos/build-by-maven-black.png b/src/JasperStarter/docs/de/images/logos/build-by-maven-black.png
deleted file mode 100755
index 919fd0f..0000000
Binary files a/src/JasperStarter/docs/de/images/logos/build-by-maven-black.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/logos/build-by-maven-white.png b/src/JasperStarter/docs/de/images/logos/build-by-maven-white.png
deleted file mode 100755
index 7d44c9c..0000000
Binary files a/src/JasperStarter/docs/de/images/logos/build-by-maven-white.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/logos/maven-feather.png b/src/JasperStarter/docs/de/images/logos/maven-feather.png
deleted file mode 100755
index b5ada83..0000000
Binary files a/src/JasperStarter/docs/de/images/logos/maven-feather.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/network-server.png b/src/JasperStarter/docs/de/images/network-server.png
deleted file mode 100755
index 1d12e19..0000000
Binary files a/src/JasperStarter/docs/de/images/network-server.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/package-x-generic.png b/src/JasperStarter/docs/de/images/package-x-generic.png
deleted file mode 100755
index 8b7e9e6..0000000
Binary files a/src/JasperStarter/docs/de/images/package-x-generic.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/profiles/pre-release.png b/src/JasperStarter/docs/de/images/profiles/pre-release.png
deleted file mode 100755
index d448e85..0000000
Binary files a/src/JasperStarter/docs/de/images/profiles/pre-release.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/profiles/retired.png b/src/JasperStarter/docs/de/images/profiles/retired.png
deleted file mode 100755
index f89f6a2..0000000
Binary files a/src/JasperStarter/docs/de/images/profiles/retired.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/profiles/sandbox.png b/src/JasperStarter/docs/de/images/profiles/sandbox.png
deleted file mode 100755
index f88b362..0000000
Binary files a/src/JasperStarter/docs/de/images/profiles/sandbox.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/remove.gif b/src/JasperStarter/docs/de/images/remove.gif
deleted file mode 100755
index fc65631..0000000
Binary files a/src/JasperStarter/docs/de/images/remove.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/rss.png b/src/JasperStarter/docs/de/images/rss.png
deleted file mode 100755
index a9850ee..0000000
Binary files a/src/JasperStarter/docs/de/images/rss.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/update.gif b/src/JasperStarter/docs/de/images/update.gif
deleted file mode 100755
index b2a6d0b..0000000
Binary files a/src/JasperStarter/docs/de/images/update.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/de/images/window-new.png b/src/JasperStarter/docs/de/images/window-new.png
deleted file mode 100755
index 0e12ef9..0000000
Binary files a/src/JasperStarter/docs/de/images/window-new.png and /dev/null differ
diff --git a/src/JasperStarter/docs/de/index.html b/src/JasperStarter/docs/de/index.html
deleted file mode 100755
index 83af4ad..0000000
--- a/src/JasperStarter/docs/de/index.html
+++ /dev/null
@@ -1,316 +0,0 @@
-
-
-
-
-
-
- JasperStarter - JasperStarter - Ausführen von JasperReports über die Befehlszeile
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
JasperStarter - Ausführen von JasperReports über die Befehlszeile
JasperStarter - Ausführen von JasperReports über die Befehlszeile
-
JasperStarter ist ein Opensource Befehlszeilen Starter und Batch Compiler für JasperReports.
-
Es hat die folgenden Eigenschaften:
-
-
-
-
Startet jeden JasperReport, der eine JDBC, CSV oder eine leere Datenquelle benötigt
-
-
Verwendbar mit jeder Datenbank, für die ein JDBC Treiber vorhanden ist
-
-
Führt Reports aus, die Laufzeitparameter benötigen. Jeder Parameter, dessen Klasse einen Konstruktor vom Typ String hat, wird akzeptiert. Zusätzlich werden die folgenden Parameter-typen unterstützt oder haben eine besondere Behandlung:
-
-
-
-
date, image (siehe Verwendung), locale
-
-
-
Optionale Eingabeaufforderung für Report-Parameter
-
-
Druckt direkt auf den Standarddrucker oder auf einen benannten Drucker
-
-
Zeigt optional einen Druckerdialog zur Auswal des Druckers
Beispiel mit hsql unter Verwendung des Datenbanktyps generic:
-
-
-
$ jasperstarter pr report.jasper -t generic -f pdf -o report -u sa \
---db-driver org.hsqldb.jdbcDriver \
---db-url jdbc:hsqldb:hsql://localhost
-
-
Für weitere Informationen werfen Sie einen Blick in das docs Verzeichnis des Distributionsarchives oder lesen Sie die Seite Verwendung online. Usage
-
-
Release Notes
-
Die Änderungen im Projekt können in der englischen Version der Änderungsdatei eingesehen werden.
-
-
Feedback
-
Rückmeldungen sind jederzeit wilkommen! Falls Sie irgendwelche Fragen oder Vorschläge haben, zögern Sie nicht in unser Forum discussion zu schreiben (möglichst in englisch). Falls Sie einen Fehler gefunden haben oder eine Funktion vermissen, melden Sie sich in unserem Issuetracker an und erzeugen Sie einen “Issue” vom Typ “Bug” oder “New Feature”.
-
Falls Ihnen die Software gefällt, können Sie auch hier review eine Bewertung abgeben. :-)
JasperStarter wird mit Hilfe von Maven erzeugt. Um ein Distributionsarchiv zu erhalten, rufen Sie den folgenden Befehl auf:
-
-
-
$ mvn package -P release
-
-
oder, falls Sie aus dem aktuellen Entwicklungszweig (default branch) erzeugen, verwenden Sie besser:
-
-
-
$ mvn package -P release,snapshot
-
-
Achtung! Sie könnentarget/jasperstarter.jarnicht direkt ausführen,ohne die Abhängigkeiten im Verzeichnis../libzu haben! Siehe dev Profil weiter unten!
-
Falls Sie das Windows Setup erzeugen wollen, benötigen Sie nsis in Ihrem Suchpfad (funktioniert auch unter Linux, eine kompilierte Version habe ich auf Sourceforge im Ordner build-tools bereit gestellt) und Sie müssen das Profil windows-setup zum Aufruf hinzufügen:
-
-
-
$ mvn package -P release,windows-setup
-
-
oder
-
-
-
$ mvn package -P release,windows-setup,snapshot
-
-
Während der Entwicklung möchten Sie vielleicht einen schnelleren Build. Das dev Profil spart einige lang laufende Reports und die Erzeugung der gepackten Archive aus. Stattdessen wird das Ergebnis in target/jasperstarter-dev-bin abgelegt.
Während der Entwicklung möchten Sie vielleicht nicht von Tests gestört werden. Daher sind die folgenden Optionen sinnvoll:
-
-
-
$ package -P dev -D skipTests
-
-
oder
-
-
-
$ package -P dev -D maven.test.failure.ignore=true
-
-
Um JasperStarter aus Ihrer IDE heraus auszuführen, fügen Sie --jdbc-dir jdbc zu den Argumenten Ihrer Startkonfiguration hinzu. Andernfalls erhalten Sie folgenden Fehler:
-
-
-
Error, (...)/JasperStarter/target/classes/jdbc is not a directory!
-
-
Kopieren Sie Ihre JDBC Treiber in das ./jdbc Verzeichnis Ihres Projektes, um aus der IDE heraus einen Datenbank Report zu starten.
-
-
Lizenz
-
Copyright 2012, 2013, 2014 Cenote GmbH.
-
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
-
-
-
-
-
-
diff --git a/src/JasperStarter/docs/de/js/apache-maven-fluido.min.js b/src/JasperStarter/docs/de/js/apache-maven-fluido.min.js
deleted file mode 100755
index 2a9c152..0000000
--- a/src/JasperStarter/docs/de/js/apache-maven-fluido.min.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/*!
- * jQuery JavaScript Library v1.7.1
- * http://jquery.com/
- *
- * Copyright 2011, John Resig
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * Includes Sizzle.js
- * http://sizzlejs.com/
- * Copyright 2011, The Dojo Foundation
- * Released under the MIT, BSD, and GPL Licenses.
- *
- * Date: Mon Nov 21 21:11:03 2011 -0500
- */
-(function(bc,M){var aw=bc.document,bv=bc.navigator,bm=bc.location;var b=(function(){var bG=function(b1,b2){return new bG.fn.init(b1,b2,bE)},bV=bc.jQuery,bI=bc.$,bE,bZ=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bN=/\S/,bJ=/^\s+/,bF=/\s+$/,bB=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bO=/^[\],:{}\s]*$/,bX=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bQ=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bK=/(?:^|:|,)(?:\s*\[)+/g,bz=/(webkit)[ \/]([\w.]+)/,bS=/(opera)(?:.*version)?[ \/]([\w.]+)/,bR=/(msie) ([\w.]+)/,bT=/(mozilla)(?:.*? rv:([\w.]+))?/,bC=/-([a-z]|[0-9])/ig,b0=/^-ms-/,bU=function(b1,b2){return(b2+"").toUpperCase()},bY=bv.userAgent,bW,bD,e,bM=Object.prototype.toString,bH=Object.prototype.hasOwnProperty,bA=Array.prototype.push,bL=Array.prototype.slice,bP=String.prototype.trim,bw=Array.prototype.indexOf,by={};bG.fn=bG.prototype={constructor:bG,init:function(b1,b5,b4){var b3,b6,b2,b7;if(!b1){return this}if(b1.nodeType){this.context=this[0]=b1;this.length=1;return this}if(b1==="body"&&!b5&&aw.body){this.context=aw;this[0]=aw.body;this.selector=b1;this.length=1;return this}if(typeof b1==="string"){if(b1.charAt(0)==="<"&&b1.charAt(b1.length-1)===">"&&b1.length>=3){b3=[null,b1,null]}else{b3=bZ.exec(b1)}if(b3&&(b3[1]||!b5)){if(b3[1]){b5=b5 instanceof bG?b5[0]:b5;b7=(b5?b5.ownerDocument||b5:aw);b2=bB.exec(b1);if(b2){if(bG.isPlainObject(b5)){b1=[aw.createElement(b2[1])];bG.fn.attr.call(b1,b5,true)}else{b1=[b7.createElement(b2[1])]}}else{b2=bG.buildFragment([b3[1]],[b7]);b1=(b2.cacheable?bG.clone(b2.fragment):b2.fragment).childNodes}return bG.merge(this,b1)}else{b6=aw.getElementById(b3[2]);if(b6&&b6.parentNode){if(b6.id!==b3[2]){return b4.find(b1)}this.length=1;this[0]=b6}this.context=aw;this.selector=b1;return this}}else{if(!b5||b5.jquery){return(b5||b4).find(b1)}else{return this.constructor(b5).find(b1)}}}else{if(bG.isFunction(b1)){return b4.ready(b1)}}if(b1.selector!==M){this.selector=b1.selector;this.context=b1.context}return bG.makeArray(b1,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bL.call(this,0)},get:function(b1){return b1==null?this.toArray():(b1<0?this[this.length+b1]:this[b1])},pushStack:function(b2,b4,b1){var b3=this.constructor();if(bG.isArray(b2)){bA.apply(b3,b2)}else{bG.merge(b3,b2)}b3.prevObject=this;b3.context=this.context;if(b4==="find"){b3.selector=this.selector+(this.selector?" ":"")+b1}else{if(b4){b3.selector=this.selector+"."+b4+"("+b1+")"}}return b3},each:function(b2,b1){return bG.each(this,b2,b1)},ready:function(b1){bG.bindReady();bD.add(b1);return this},eq:function(b1){b1=+b1;return b1===-1?this.slice(b1):this.slice(b1,b1+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bL.apply(this,arguments),"slice",bL.call(arguments).join(","))},map:function(b1){return this.pushStack(bG.map(this,function(b3,b2){return b1.call(b3,b2,b3)}))},end:function(){return this.prevObject||this.constructor(null)},push:bA,sort:[].sort,splice:[].splice};bG.fn.init.prototype=bG.fn;bG.extend=bG.fn.extend=function(){var ca,b3,b1,b2,b7,b8,b6=arguments[0]||{},b5=1,b4=arguments.length,b9=false;if(typeof b6==="boolean"){b9=b6;b6=arguments[1]||{};b5=2}if(typeof b6!=="object"&&!bG.isFunction(b6)){b6={}}if(b4===b5){b6=this;--b5}for(;b50){return}bD.fireWith(aw,[bG]);if(bG.fn.trigger){bG(aw).trigger("ready").off("ready")}}},bindReady:function(){if(bD){return}bD=bG.Callbacks("once memory");if(aw.readyState==="complete"){return setTimeout(bG.ready,1)}if(aw.addEventListener){aw.addEventListener("DOMContentLoaded",e,false);bc.addEventListener("load",bG.ready,false)}else{if(aw.attachEvent){aw.attachEvent("onreadystatechange",e);bc.attachEvent("onload",bG.ready);var b1=false;try{b1=bc.frameElement==null}catch(b2){}if(aw.documentElement.doScroll&&b1){bx()}}}},isFunction:function(b1){return bG.type(b1)==="function"},isArray:Array.isArray||function(b1){return bG.type(b1)==="array"},isWindow:function(b1){return b1&&typeof b1==="object"&&"setInterval" in b1},isNumeric:function(b1){return !isNaN(parseFloat(b1))&&isFinite(b1)},type:function(b1){return b1==null?String(b1):by[bM.call(b1)]||"object"},isPlainObject:function(b3){if(!b3||bG.type(b3)!=="object"||b3.nodeType||bG.isWindow(b3)){return false}try{if(b3.constructor&&!bH.call(b3,"constructor")&&!bH.call(b3.constructor.prototype,"isPrototypeOf")){return false}}catch(b2){return false}var b1;for(b1 in b3){}return b1===M||bH.call(b3,b1)},isEmptyObject:function(b2){for(var b1 in b2){return false}return true},error:function(b1){throw new Error(b1)},parseJSON:function(b1){if(typeof b1!=="string"||!b1){return null}b1=bG.trim(b1);if(bc.JSON&&bc.JSON.parse){return bc.JSON.parse(b1)}if(bO.test(b1.replace(bX,"@").replace(bQ,"]").replace(bK,""))){return(new Function("return "+b1))()}bG.error("Invalid JSON: "+b1)},parseXML:function(b3){var b1,b2;try{if(bc.DOMParser){b2=new DOMParser();b1=b2.parseFromString(b3,"text/xml")}else{b1=new ActiveXObject("Microsoft.XMLDOM");b1.async="false";b1.loadXML(b3)}}catch(b4){b1=M}if(!b1||!b1.documentElement||b1.getElementsByTagName("parsererror").length){bG.error("Invalid XML: "+b3)}return b1},noop:function(){},globalEval:function(b1){if(b1&&bN.test(b1)){(bc.execScript||function(b2){bc["eval"].call(bc,b2)})(b1)}},camelCase:function(b1){return b1.replace(b0,"ms-").replace(bC,bU)},nodeName:function(b2,b1){return b2.nodeName&&b2.nodeName.toUpperCase()===b1.toUpperCase()},each:function(b4,b7,b3){var b2,b5=0,b6=b4.length,b1=b6===M||bG.isFunction(b4);if(b3){if(b1){for(b2 in b4){if(b7.apply(b4[b2],b3)===false){break}}}else{for(;b50&&b1[0]&&b1[b2-1])||b2===0||bG.isArray(b1));if(b4){for(;b31?aK.call(arguments,0):bH;if(!(--bx)){bD.resolveWith(bD,by)}}}function bA(bG){return function(bH){bC[bG]=arguments.length>1?aK.call(arguments,0):bH;bD.notifyWith(bF,bC)}}if(e>1){for(;bw
a";bJ=bw.getElementsByTagName("*");bG=bw.getElementsByTagName("a")[0];if(!bJ||!bJ.length||!bG){return{}}bH=aw.createElement("select");by=bH.appendChild(aw.createElement("option"));bF=bw.getElementsByTagName("input")[0];bK={leadingWhitespace:(bw.firstChild.nodeType===3),tbody:!bw.getElementsByTagName("tbody").length,htmlSerialize:!!bw.getElementsByTagName("link").length,style:/top/.test(bG.getAttribute("style")),hrefNormalized:(bG.getAttribute("href")==="/a"),opacity:/^0.55/.test(bG.style.opacity),cssFloat:!!bG.style.cssFloat,checkOn:(bF.value==="on"),optSelected:by.selected,getSetAttribute:bw.className!=="t",enctype:!!aw.createElement("form").enctype,html5Clone:aw.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bF.checked=true;bK.noCloneChecked=bF.cloneNode(true).checked;bH.disabled=true;bK.optDisabled=!by.disabled;try{delete bw.test}catch(bD){bK.deleteExpando=false}if(!bw.addEventListener&&bw.attachEvent&&bw.fireEvent){bw.attachEvent("onclick",function(){bK.noCloneEvent=false});bw.cloneNode(true).fireEvent("onclick")}bF=aw.createElement("input");bF.value="t";bF.setAttribute("type","radio");bK.radioValue=bF.value==="t";bF.setAttribute("checked","checked");bw.appendChild(bF);bE=aw.createDocumentFragment();bE.appendChild(bw.lastChild);bK.checkClone=bE.cloneNode(true).cloneNode(true).lastChild.checked;bK.appendChecked=bF.checked;bE.removeChild(bF);bE.appendChild(bw);bw.innerHTML="";if(bc.getComputedStyle){bB=aw.createElement("div");bB.style.width="0";bB.style.marginRight="0";bw.style.width="2px";bw.appendChild(bB);bK.reliableMarginRight=(parseInt((bc.getComputedStyle(bB,null)||{marginRight:0}).marginRight,10)||0)===0}if(bw.attachEvent){for(bz in {submit:1,change:1,focusin:1}){bC="on"+bz;bx=(bC in bw);if(!bx){bw.setAttribute(bC,"return;");bx=(typeof bw[bC]==="function")}bK[bz+"Bubbles"]=bx}}bE.removeChild(bw);bE=bH=by=bB=bw=bF=null;b(function(){var bN,bV,bW,bU,bO,bP,bM,bT,bS,e,bQ,bR=aw.getElementsByTagName("body")[0];if(!bR){return}bM=1;bT="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bS="visibility:hidden;border:0;";e="style='"+bT+"border:5px solid #000;padding:0;'";bQ="
Die aufgelisteten Lizenzen beziehen sich typischerweise nur auf das Projekt selbst, nicht auf seine Abhängigkeiten.
-
-
Projektlizenz
-
-
The Apache Software License, Version 2.0
-
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
Ein erfolgreiches Projekt erfordert viele Personen, die verschiedene Rollen innerhalb des Teams wahrnehmen. Einige schreiben Quellcode, während andere ausprobieren, testen oder Verbesserungsvorschläge machen.
-
Das Team besteht aus Entwicklern und anderweitig Beteiligten. Entwickler haben direkten Zugriff auf den Quellcode des Projektes und entwickeln die Quellcode-Basis weiter. Anderweitig Beteiligte helfen das Projekt zu verbessern, indem sie Fehlerberichte, Änderungswünsche oder sogar Verbeserungsvorschläge einbringen und den Entwicklern melden. Die Anzahl der Beteiligten an diesem Projekt ist unbegrenzt. Beteiligen Sie sich noch heute! Jeder Beitrag ist von höchstem Wert.
-
-
Mitglieder
-
Es folgt eine Liste der Entwickler, die auf die eine oder andere Art und Weise zum Erfolg dieses Projektes beigetragen haben.
Es folgt eine Liste der Personen, die zum Erfolg dieses Projektes in Form von zum Beispiel Fehlerberichten, Änderungswünschen, Lösungsvorschlägen, Tests oder Dokumentation beigetragen haben.
Viele Menschen, die mit JasperReports arbeiten, machen sich wahrscheinlich gar keine Gedanken über Unicode. Sie wählen für die Formularfelder und den statischen Text ganz einfach eine Schriftart, die ihnen gefällt, führen den Report aus und das wars. Aber wenn Ihr Report Zeichen enthält, die in dem default non-unicode Zeichensatz Ihres Betriebssystems nicht enthalten sind, werden Sie eine Überraschung erleben. Die Druckvorschau und der Druck werden zwar ganz korrekt dargestellt, das exportierte PDF aber nicht. Manche Zeichen werden fehlen.
-
Ich hatte selber dieses Problem. Und das, was ich im Internet fand, war ziemlich verwirrend. Ich fand alles Mögliche von "dies ist ein Bug in der darunterliegenden itext Library" bis zu Lösungen mit überholten Funktionen von JasperReports, die sehr kompliziert aussahen.
-
Aber die richtige Lösung ist zum Glück sehr einfach...
-
-
Einen Schritt näher
-
Wählen Sie für das gewünschte Feld die Schrifart "DejaVu Sans". Je nach dem, welche Zeichen verwendet wurden, werden sie nun wahrscheinlich auch in der PDF Datei sichtbar.
-
(Die Fontfamilie DejaVu ist etwas begrenzt, aber Sie können zum Beispiel kyrillische Zeichen damit exportieren. Siehe http://dejavu-fonts.org für weitere Informationen.)
-
-
Es funktioniert noch immer nicht
-
Sie haben den Fontnamen für das gewünschte Feld richtig auf "DejaVu Sans" gestellt und Sie haben auf der Webseite nachgeschaut, dass der Font alle Zeichen beinhaltet, aber Sie haben in dem PDF noch immer keine Zeichen?
-
Kann es sein, dass Sie mal in der Vergangenheit mit den überholten Funktionen wie z.B. "PDF font name" oder "PDF Encoding" gespielt haben? Sogar dann, wenn Sie die Einstellungen auf Default zurücksetzen, könnte es der Grund sein, warum die Zeichen im PDF nicht angezeigt werden. Schalten Sie die Report Definition in die xml Ansicht und versichern Sie sich, dass diese Optionen GAR NICHT vorhanden sind!
-
Das folgende Beispiel funktioniert nicht:
-
-
<staticText>
- <reportElement x="14" y="63" width="521" height="24"/>
- <textElement>
- <font fontName="DejaVu Sans" size="15" pdfFontName="DejaVu Sans" pdfEncoding="Identity-H"/>
- </textElement>
- <text><![CDATA[Cyrillic: б в г д ж з и ь к л м н п ф ц ч ш шт э я ю я ы]]></text>
-</staticText>
-
-
Das wird funktionieren, denn die Attribute pdfFontName und pdfEncoding sind gar nicht vorhanden:
-
-
<staticText>
- <reportElement x="14" y="63" width="521" height="24"/>
- <textElement>
- <font fontName="DejaVu Sans" size="15"/>
- </textElement>
- <text><![CDATA[Cyrillic: б в г д ж з и ь к л м н п ф ц ч ш шт э я ю я ы]]></text>
-</staticText>
-
-
-
Benutzen von anderen Unicode Fonts
-
Vielleicht werden die von Ihnen gewünschten Zeichen mit der DejaVu Schriftart nicht angezeigt oder die Schriftart gefällt Ihnen einfach nicht. Wie wäre es mit Arial oder jeder anderen Unicode-Schriftart?
-
Um das zu erreichen, müssen Sie Ihre Schriftart auf eine besonderer Weise dem JasperReport bereitstellen. Das bedeutet, dass die Schriftarten in eine .jar Datei gepackt werden müssen, die zusätzliche Informationen in einer Property-Datei und einer speziellen xml Datei, die die beinhalteten Schriftarten beschreibt, beinhalten muss. Diese jar Datei muss sich im Java Classpath befinden, während Sie den Report ausführen. Klingt kompliziert? Keine Panik... ;-)
-
Solch eine jar Datei für Schriftarten können Sie mit Hilfe des grafischen Reporteditors, den Sie ohnehin vielleicht schon benutzen, in zwei Schritten erstellen. iReport
-
Wenn Sie in iReport das Auswahlmenu für Schrifteigenschaften öffnen, merken Sie vielleicht, dass es dort einige Einträge am Anfang der Liste gibt, und dann, getrennt mit einem Strich, folgt eine längere Liste von Schriftarten. In der längeren Liste unter dem Strich befinden sich Schriftarten, die in Ihrem Betriebssystem installiert sind. Die Einträge über dem Strich sind Schriftarten, die im iReport installiert sind. Nur die in iReport installierten Schriftarten können zum exportieren von Unicode-Zeichen als pdf in iReport benutzt werden. Der erste Schritt ist also Ihre Lieblingsschriftarten in iReport zu installieren.
-
-
Installieren einer Schriftart in iReport
-
-
Öffnen Sie in iReport den Dialog Optionen.
-
Wählen Sie die iReport Rubrik (falls sie noch nicht ausgewählt ist).
-
Klicken Sie auf den Tab "Fonts".
-
Jetzt sehen Sie eine Liste von allen bereits installierten Schriftarten. Die drei DejaVu Fonts sind per default installiert, die anderen drei sind allgemeine Schriftartennamen.
-
-
Klicken Sie auf den "Install Font" Button.
-
Benutzen Sie den "Browse" Button, um eine Fontdatei aus zu wählen (benutzen Sie die Standardform, nicht bold oder italic).
-
Im nächsten Fenster können Sie andere Fonttypen hinzufügen.
-
-
Wählen Sie "Identity-H (Unicode with horizontal writing)"
-
Wenn Sie einen speziellen Font installieren, der auf den Systemen anderer Nutzer üblicherweise nicht vorhanden ist, sollten Sie die Auswahl "Embed this font in the PDF document" markieren.
-
Klicken Sie "Next"
-
Die locales Liste kann leer bleiben. Klicken Sie "Next"
-
Wenn Sie Ihren Report in html, xhtml oder rtf exportieren, werden Font- mappings benutzt. Wenn Sie dies nicht brauchen, lassen Sie es leer.
-
Nun klicken Sie "Finish"
-
Jetzt sollte es Ihnen möglich sein in iReport Ihren Report mit fremden Zeichen mithilfe der von Ihnen installierten Schriftarten als pdf zu exportieren.
-
Eine Notiz für Windows 7 Benutzer:
-
Sie bekommen möglicherweise eine Fehlermeldung, wenn Sie versuchen in iReport eine Schriftart zu installieren, weil Sie keine Schreibrechte in dem Verzeichnis haben. Ändern Sie die Sicherheitseinstellungen von dem Verzeichnis
Wählen Sie die iReport Rubrik (wenn nicht schon ausgewählt).
-
Klicken Sie auf den Tab Fonts.
-
Wählen Sie einen vorher installierten Font und klicken Sie auf den Button "Export as extension".
-
Wählen Sie ein Verzeichnis und einen Dateinamen mit der Endung .jar
-
Jetzt haben Sie eine gebrauchsfertige Schriftarten-jar-Datei, die Sie mit JasperReports benutzen können. Fügen Sie sie dem classpath Ihrer Applikation zu.
-
-
Eine Schriftart in JasperStarter benutzen
-
Wenn Sie in JasperStarter eine bereits kreierte font-jar benutzen wollen, legen Sie sie einfach in das jdbc Verzeichnis, das Sie für JasperStarter benutzen. Alle jar-Dateien, die sich dort befinden, werden dem classpath hinzugefügt.
Entpacken Sie das Distributionsarchiv in ein Verzeichnis Ihrer Wahl, beispielsweise:
-
-
C:\App\jasperstarter
-
-
Fügen Sie das Verzeichnis
-
-
C:\App\jasperstarter\bin
-
-
zu Ihrem Benutzer- oder Systemsuchpfad hinzu.
-
oder verwenden Sie einfach setup.exe
-
-
Linux Benutzer
-
Entpacken Sie das Distributionsarchiv in ein Verzeichnis Ihrer Wahl, beispielsweise:
-
-
/opt/jasperstarter
-
-
Fügen Sie das Verzeichnis
-
-
/opt/jasperstarter/bin
-
-
zu Ihrem Benutzer- oder Systemsuchpfad hinzu.
-
-
JasperStarter aurufen
-
Falls Sie das bin Verzeichnis zum Suchpfad hinzugefügt haben, geben Sie einfach folgendes ein
-
-
$ jasperstarter
-
-
um das Programm aufzurufen.
-
Falls nicht, können Sie einen absoluten Pfad angeben. Unter Linux:
-
-
/opt/jasperstarter/bin/jasperstarter
-
-
und unter Windows:
-
-
C:\App\jasperstarter\bin\jasperstarter.exe
-
-
falls Sie dem Beispiel im Abschnitt Installation gefolgt sind.
-
Falls Sie Probleme mit der binären Datei oder dem Shell Script haben oder spezielle Optionen an die Java VM übergeben wollen, können Sie das Programm auch direkt starten:
Dies ist eine xml Datei, welche den Report definiert. Sie können Sie von Hand schreiben, aber üblicherweise werden Sie eines von den schönen GUI Tools verwenden, um sie zu erzeugen.
-
Die kompilierte Report Datei myreport.jasper
-
Diese Datei ist das Ergebnis, wenn Sie eine .jrxml Datei kompilieren.
-
Die gefüllte Report Datei myreport.jrprint
-
Diese Datei resultiert aus einem aufgerufenen Report. Die Daten, welche über die spezifizierte Datenquelle abgerufen werden, werden in den kompilierten Report eingefügt und das Ergebnis kann als .jrprint Datei gespeichert werden.
-
-
Stufen der Verarbeitung
-
Es gibt drei Stufen einen Report zu verarbeiten:
-
-
kompilieren erzeugt eine .jasper Datei
-
füllen kann optional in einer .jrprint Datei gespeichert werden
-
anzeigen, drucken oder exportieren in ein oder mehrere der unterstützten export Formate.
-
JasperStarter kann all diese Schritte in einem Aufruf durchführen.
-
-
JasperStarter Kommandos und Optionen
-
JasperStarter hat einige globale Optionen und Kommandos. Jedes Kommando kann eigene Optionen haben.
-
Sie erhalten einen Überblick, wenn Sie jasperstarter mit -h aufrufen, was Ihnen die globalen Optionen und die verfügbaren Kommandos anzeigt.
-
-
$ jasperstarter -h
-usage: jasperstarter [-h] [--locale <lang>] [-v] [-V] <cmd> ...
-
-optional arguments:
- -h, --help show this help message and exit
- --locale <lang> set locale with two-letter ISO-639 code or a
- combination of ISO-639 and ISO-3166 like de_DE
- -v, --verbose display additional messages
- -V, --version display version information and exit
-
-commands:
- <cmd> type <cmd> -h to get help on command
- compile (cp) compile reports
- process (pr) view, print or export an existing report
- list_printers (printers,lpr)
- lists available printers
- list_parameters (params,lpa)
- list parameters from a given report
-
-
Jedes Kommando hat seine eigene Hilfe, welche Sie durch den Aufruf von <command> -h erhalten.
-
-
Das Kommando compile (cp)
-
Mit dem Kommando compilep können Sie einen einzelnen Report oder alle Reports in einem Verzeichnis kompilieren. cp ist ein Alias für compile.
-
-
$ jasperstarter cp -h
-usage: jasperstarter compile [-h] [-o <output>] <input>
-
-optional arguments:
- -h, --help show this help message and exit
-
-options:
- <input> input file (.jrxml) or directory
- -o <output> directory or basename of outputfile(s)
-
-
-
Das Kommando process (pr)
-
Das Kommando pr (process) wird benötigt, um einen einzelnen Report zu verarbeiten. Damit kann kompilieren, anzeigen, drucken oder exportieren gemeint sein. pr ist ein Alias für process.
-
-
$ jasperstarter pr -h
-usage: jasperstarter process [-h] -f <fmt> [<fmt> ...] [-o <output>] [-w]
- [-a [<filter>]] [-P <param> [<param> ...]]
- [-r [<resource>]] [-t <dstype>] [-H <dbhost>]
- [-u <dbuser>] [-p <dbpasswd>] [-n <dbname>]
- [--db-sid <sid>] [--db-port <port>]
- [--db-driver <name>] [--db-url <jdbcUrl>]
- [--jdbc-dir <dir>] [--data-file <file>]
- [--csv-first-row] [--csv-columns <list>]
- [--csv-record-del <delimiter>]
- [--csv-field-del <delimiter>]
- [--csv-charset <charset>] [--xml-xpath <xpath>]
- [--json-query <jsonquery>] [-N <printername>] [-d]
- [-s <reportname>] [-c <copies>]
- [--out-field-del <delimiter>]
- [--out-charset <charset>] <input>
-
-optional arguments:
- -h, --help show this help message and exit
-
-options:
- -f <fmt> [<fmt> ...] view, print, pdf, rtf, xls, xlsMeta, xlsx, docx,
- odt, ods, pptx, csv, csvMeta, html, xhtml, xml,
- jrprint
- <input> input file (.jrxml|.jasper|.jrprint)
- -o <output> directory or basename of outputfile(s)
-
-compile options:
- -w, --write-jasper write .jasper file to imput dir if jrxml is
- processed
-
-fill options:
- -a [<filter>] ask for report parameters. Filter: a, ae, u, ue,
- p, pe (see usage)
- -P <param> [<param> ...]
- report parameter: name=value [...]
- -r [<resource>] path to report resource dir or jar file. If
- <resource> is not given the input directory is
- used.
-
-datasource options:
- -t <dstype> datasource type: none, csv, xml, json, mysql,
- postgres, oracle, generic (jdbc)
- -H <dbhost> database host
- -u <dbuser> database user
- -p <dbpasswd> database password
- -n <dbname> database name
- --db-sid <sid> oracle sid
- --db-port <port> database port
- --db-driver <name> jdbc driver class name for use with type: generic
- --db-url <jdbcUrl> jdbc url without user, passwd with type:generic
- --jdbc-dir <dir> directory where jdbc driver jars are located.
- Defaults to ./jdbc
- --data-file <file> input file for file based datasource
- --csv-first-row first row contains column headers
- --csv-columns <list> Comma separated list of column names
- --csv-record-del <delimiter>
- CSV Record Delimiter - defaults to line.separator
- --csv-field-del <delimiter>
- CSV Field Delimiter - defaults to ","
- --csv-charset <charset>
- CSV charset - defaults to "utf-8"
- --xml-xpath <xpath> XPath for XML Datasource
- --json-query <jsonquery>
- JSON query string for JSON Datasource
-
-output options:
- -N <printername> name of printer
- -d show print dialog when printing
- -s <reportname> set internal report/document name when printing
- -c <copies> number of copies. Defaults to 1
- --out-field-del <delimiter>
- Export CSV (Metadata) Field Delimiter - defaults
- to ","
- --out-charset <charset>
- Export CSV (Metadata) Charset - defaults to "utf-
- 8"
-
-
-
Das Kommando list_printers (printers,lpr)
-
Das Kommando list_printers hat keine Optionen. Es listet alle verfügbaren Drucker auf Ihrem System, welche Sie mit der Option -N des Kommandos process verwenden können. printers, lpr sind Aliases für list_printers.
-
-
Das Kommando list_parameters (params,lpa)
-
Das Kommando list_parameters listet alle benutzerdefinierten Parameter eines angegebenen Reports auf. params, lpa sind Aliases für list_parameters.
-
-
$ jasperstarter params -h
-usage: jasperstarter list_parameters [-h] <input>
-
-optional arguments:
- -h, --help show this help message and exit
-
-options:
- <input> input file (.jrxml) or (.jasper)
-
-
Die Spalten haben die folgende Bedeutung:
-
-
P/N - Prompt or no promt flag
-
Parameter Name
-
Parameter Type (Klassen Name)
-
Optionale Beschreibung
-
Beispiel Ausgabe:
-
-
$ jasperstarter params myreport.jasper
-P background java.awt.Image Background image
-P MyName java.lang.String Title of some component
-P MyDate java.util.Date
-
-
-
Befehlsdateien
-
Jedes Kommando, jede Option und jedes Argument, welches JasperStarter akzeptiert, kann auch in einer Datei gespeichert werden, die zusätzlich mit dem @ Zeichen zum Aufruf hinzugefügt werden kann.
-
Die Datei muss ein Kommando/Option/Argument je Zeile enthalten.
-
Beispiel Datei (db.conf):
-
-
-t
-mysql
--H
-localhost
--n
-mydb
--u
-volker
-
-
Beispiel Aufruf mit Befehlsdatei:
-
-
$ jasperstarter pr myreport -f view @db.conf
-
-
Achtung! Die Kommando-Datei darf keine Leerzeilen und nur einenZeilenumbruch ohne Leerzeichen am Ende der Datei haben!
-
-
Reports Verarbeiten
-
Um einen Report zu verarbeiten, muss das Kommando pr angegeben werden, welches die folgenden Optionen benötigt:
-
-
<input> Eingabedatei (report Definition, kompilierter Report oder gefüllter Report).
-
-f eine Leerzeichen separierte Liste von Ausgabeformaten.
-
-
view und print schließen sich gegenseitig aus, folglich wird print ignoriert, wenn view angegeben wurde.
-
-t einen Datenbanktyp, falls Ihr Report eine Datenbank-Verbindung benötigt. Default Wert ist none.
-
-
falls der Datenbanktyp nicht none ist, müssen die benötigten Verbindungsparameter angegeben werden.
-
Alle anderen Angaben sind optional.
-
Für die Option -o (output) siehe Abschnitt "Datei Behandlung".
-
<input> ist nun einfach ein Argument. Die Reihenfolge von Optionen und diesem Argument ist nicht von Bedeutung, allerdings kann ein Argument nicht hinter einer Option platziert werden, die selbst eine unbestimmte Anzahl an Argumenten erwartet. Diese Optionen sind:
Der einfachste Weg, Problemen mit Argumenten aus dem Weg zu gehen ist, <input> immer an der ersten Stelle gleich nach dem Kommando zu platzieren, so wie es in den folgenden Beispielen gezeigt wird.
-
-
Der Minimum Report ohne Datenbank
-
Die minimalen Optionen, welche benötigt werden, um einen Report ohne Datenbank aufzurufen, sind:
-
-
$ jasperstarter pr myreport.jasper -f view
-
-
-
Der Minimum Datenbank Report
-
Die minimalen Optionen, welche benötigt werden, um einen Report aufzurufen, der eine Datenbankverbindung benötigt, sind:
-
-
$ jasperstarter pr myreport.jasper -f pdf -t mysql -H localhost -n mydb -u appuser
-
-
-
Anzeigen, drucken oder exportieren eines zuvor gefüllten Reports
-
Sie können einen Report zu einem Zeitpunkt füllen und zu einem späteren Zeitpunkt anzeigen, drucken oder exportieren.
Der CSV Datei Zeichensatz ist auf UTF-8 voreingestellt. Andere übliche Zeichensätze sind cp1252 (Windows), ISO-8859-1 oder ISO-8859-15 (Linux). Sie können den CSV Zeichensatz mit dem Parameter --csv-charset angeben.
-
Datensätze werden üblicherweise mit einem Zeilenumbruch getrennt, aber dies muss nicht so sein. Das Datensatz-Trennzeichen ist auf den System Zeilenumbruch voreingestellt, welcher abhängig von Ihrem Betriebssystem unterschiedlich ist. Wenn Sie CSV Dateien von einem anderen System verwenden, müssen Sie den richtigen Zeilenumbruch mit dem Parameter --csv-record-del einstellen:
-
-
Windows: \r\n
-
Linux/Mac: \n
-
Felder können mit einem beliebigen Zeichen getrennt sein und optional in Anführungszeichen eingeschlossen sein. Das Feldtrennzeichen ist auf , voreingestellt.
Report-Parameter können aus verschiedenen Typen (Klassen) bestehen. JasperStarter kann generell alle Klassen behandlen, die einen Konstruktor vom Typ String haben. Zuätzlich hat JasperStarter spezielle Routinen für Klassen, die keinen Konstruktor vom Typ String haben oder anderweitig besonders behandelt werden müssen. Dies sind:
-
-
date, image, locale
-
Mehrere Parameter können durch Leerzeichen getrennt werden. Ein Parameter hat die folgende Form:
-
-
<name>=<wert>
-
Ersetzen Sie name mit dem Parameter-Namen ihres Reports. Parameter-Namen unterscheiden sich durch Groß-Klein-Schreibung !
-
Der Parameter Typ date akzeptiert ein Datum im folgenden ISO Format: YYYY-MM-DD
-
Der Parameter Typ locale kann entweder als ISO-639 Sprachcode mit zwei Buchstaben oder einer Kombination aus dem ISO-639 Sprachcode und dem ISO-3166 zwei Buchstaben Ländercode verbunden mit einem Unterstrich bestehen. Beispielsweise de oder de_DE.
Ein einfacher Weg, einen Report anzupassen, ist ein Logo oder ein Hintergrund Bild als Parameter zu übergeben. Im folgenden Beispiel wird background als Parameter-Name für das Bild verwendet:
-
-
Erzeugen Sie einen Parameter in Ihrem Report und ändern Sie seine Eigenschaften:
-
-
Name = background
-
Parameter Class = java.awt.Image
-
Fügen Sie ein Bild in den Report ein und ändern Sie dessen Eigenschaften:
-
-
Image Expression = $P{background}
-
Expression Class = java.awt.Image
-
kompilieren Sie ihren Report
-
Nun können Sie Ihren Report mit JasperStarter verarbeiten:
Besonders Windows Benutzer müssen möglicherweise Dateinamen angeben, die Leerzeichen enthalten. Es gibt zwei Wege, wie man dies tun kann. Setzten Sie nur den Wert in Anführungszeichen:
JasperStarter kann mit der Option -a nach Report-Parametern fragen.
-
Jeder Parameter, der in einem Report definiert wurde, kann angezeigt werden. Zur Eingabe werden aber nur diejenigen Parameter unterstüzt, dessen Typ (Klasse) einen Konstruktor für eine Zeichenkette (String) hat oder für die eine spezielle Routine vorhanden ist.
-
Mit den folgenden optionalen Argumenten können die angezeigten Parameter gefiltert werden:
-
-
a - alle Parameter (einschließlich System Parameter)
-
ae - alle leeren Parameter (Parameter, für die kein Wert auf der Befehlszeile angegeben wurde)
-
p - alle benutzerdefinierten Parameter, die für die Abfrage markiert wurden (dies ist die Voreinstellung falls -a kein Argument mitgegeben wurde)
-
pe - alle leeren benutzerdefinierten Parameter, die für die Abfrage markiert wurden
-
u - alle benutzerdefinierten Parameter
-
ue - alle leeren benutzerdefinierten Parameter
-
In den folgenden Beispielen gehen wir von einem Nicht-Datenbank-Report aus, in dem die folgenden zwei Parameter definiert sind:
-
-
MyDate (java.util.Date)
-
MyText (java.lang.String)
-
Der Benutzer wird nach beiden Parametern gefragt:
-
-
$ jasperstarter pr myreport.jasper -f view -a
-
-
Der Benutzer wird nach beiden Parametern gefragt. Der Parameter MyDate ist bereits gefüllt, kann aber vom Benutzer geändert werden:
-
-
$ jasperstarter pr myreport.jasper -f view -P MyDate=2013-01-30 -a
-
-
Der Benutzer wird nur nach dem leeren Parameter MyText gefragt. Der Parameter MyDate ist bereits gefüllt und wird nicht angezeigt:
-
-
$ jasperstarter pr myreport.jasper -f view -P MyDate=2013-01-30 -a pe
-
-
-
Reports mit Ressourcen
-
Reports können verschiedene Ressourcen wie i18n Ressourcenbündel, Icons oder Bilder verwenden.
-
Wenn eine Ressource im gleichen Verzeichnis wie der Report liegt, reicht es einfach die Option -r ohne Argumente anzugeben:
-
-
$ jasperstarter pr myreport.jasper -f view -r
-
-
Wenn eine Ressource in einem anderen Verzeichnis oder in einer jar Datei enthalten ist, kann der Pfad als Argument mitgegeben werden:
Falls die Eingabedatei (Option -i ) nicht gefunden wurde, wird zuerst .jasper angefügt. Falls die Datei immer noch nicht gefunden wurde, wird .jrxml zum Dateinamen hinzugefügt. Dadurch ist es möglich, die Dateiendung weg zu lassen.
-
Falls eine .jrxml verwendet wird, wird sie kompiliert und im Speicher weiter verwendet, außer Sie geben die Option -w an, wodurch der kompilierte Report als Datei in das Eingabe Verzeichnis geschrieben wird.
-
Eine .jrprint Datei kann als Eingabe verwendet werden, aber sie muss mit vollem Dateinamen angegeben werden.
-
Falls die Ausgabe Datei oder das Verzeichnis ( option -o ) weggelassen wurde, wird das übergeordnete Verzeichnis der Eingabedatei und der Basis Dateiname der Eingabedatei als Ausgabe Dateiname verwendet:
-
-
(...) myreports/report1 -f pdf odt
-
-
oder
-
-
(...) myreports/report1.jasper -f pdf odt
-
-
oder
-
-
(...) myreports/report1.jrxml -f pdf odt
-
-
resultieren in:
-
-
myreports/report1.odt
-myreports/report1.pdf
-
-
Falls output ein existierendes Verzeichnis ist, wird der Basisname von input als Dateiname in diesem Verzeichnis verwendet:
-
-
(...) myreports/report1.jasper -f pdf odt -o month01/
-
-
resultiert in:
-
-
month01/report1.odt
-month01/report1.pdf
-
-
Falls output KEIN existierendes Verzeichnis ist, wird der Basisname als Dateiname verwendet:
-
-
(...) myreports/report1.jasper -f pdf odt -o month01/journal.xyz
-
Description: JCalendar is a Java date chooser bean for graphically picking a
- date. JCalendar is composed of several other Java beans, a
- JDayChooser, a JMonthChooser and a JYearChooser. All these beans
- have a locale property, provide several icons (Color 16x16, Color
- 32x32, Mono 16x16 and Mono 32x32) and their own locale property
- editor. So they can easily be used in GUI builders. Also part of the
- package is a JDateChooser, a bean composed of an IDateEditor (for
- direct date editing) and a button for opening a JCalendar for
- selecting the date.
Description: The Digester package lets you configure an XML to Java object mapping module
- which triggers certain actions called rules whenever a particular
- pattern of nested XML elements is recognized.
Description: There is currently no description associated with this project.
-
Project License: No license is defined for this project.
-
-
bouncycastle:bcmail-jdk14:jar:138 (compile)
-
-
-
Legion of the Bouncy Castle Java Cryptography APIs
-
-
-
Description: The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. The package is organised so that it contains a light-weight API suitable for use in any environment (including the newly released J2ME) with the additional infrastructure to conform the algorithms to the JCE framework.
Legion of the Bouncy Castle Java Cryptography APIs
-
-
-
Description: The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. The package is organised so that it contains a light-weight API suitable for use in any environment (including the newly released J2ME) with the additional infrastructure to conform the algorithms to the JCE framework.
Description: The Bouncy Castle Java API for handling the Time Stamp Protocol (TSP). This jar contains the TSP API for JDK 1.4. The APIs can be used in conjunction with a JCE/JCA provider such as the one provided with the Bouncy Castle Cryptography APIs.
Description: The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.4.
Description: The Bouncy Castle Java CMS and S/MIME APIs for handling the CMS and S/MIME protocols. This jar contains CMS and S/MIME APIs for JDK 1.4. The APIs can be used in conjunction with a JCE/JCA provider such as the one provided with the Bouncy Castle Cryptography APIs. If the S/MIME API is used, the JavaMail API and the Java activation framework will also be needed.
Description: JCommon is a free general purpose Java class library that is used in
- several projects at www.jfree.org, including JFreeChart and
- JFreeReport.
Description: JFreeChart is a class library, written in Java, for generating charts.
- Utilising the Java2D APIs, it currently supports bar charts, pie charts,
- line charts, XY-plots and time series plots.
Description: The Apache Commons Codec package contains simple encoder and decoders for
- various formats such as Base64 and Hexadecimal. In addition to these
- widely used encoders and decoders, the codec package also maintains a
- collection of phonetic encoding utilities.
Description: There is currently no description associated with this project.
-
Project License: No license is defined for this project.
-
xml-apis:xml-apis:jar:1.3.04 (compile)
-
-
-
XML Commons External Components XML APIs
-
-
-
Description: xml-commons provides an Apache-hosted set of DOM, SAX, and
- JAXP interfaces for use in other xml-based projects. Our hope is that we
- can standardize on both a common version and packaging scheme for these
- critical XML standards interfaces to make the lives of both our developers
- and users easier. The External Components portion of xml-commons contains
- interfaces that are defined by external standards organizations. For DOM,
- that's the W3C; for SAX it's David Megginson and sax.sourceforge.net; for
- JAXP it's Sun.
XML Commons External Components XML APIs Extensions
-
-
-
Description: xml-commons provides an Apache-hosted set of DOM, SAX, and
- JAXP interfaces for use in other xml-based projects. Our hope is that we
- can standardize on both a common version and packaging scheme for these
- critical XML standards interfaces to make the lives of both our developers
- and users easier. The External Components portion of xml-commons contains
- interfaces that are defined by external standards organizations. For DOM,
- that's the W3C; for SAX it's David Megginson and sax.sourceforge.net; for
- JAXP it's Sun.
Description: Commons Lang, a package of Java utility classes for the
- classes that are in java.lang's hierarchy, or are considered to be so
- standard as to justify existence in java.lang.
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0: Streaming API for XML
-
MIT: argparse4j
-
CDDL + GPLv2 with classpath exception: JavaServlet(TM) Specification
-
GNU Lesser General Public Licence: JCommon, JFreeChart
-
The Apache Software License, Version 2.0: Apache Ant Core, Apache Ant Launcher, Apache Commons BeanUtils, Apache Groovy, Apache Log4j, Apache POI, Barcode4J, Batik AWT utilities, Batik CSS engine, Batik DOM implementation, Batik GVT (Graphics Vector Tree), Batik Java2D SVG generator, Batik SVG DOM implementation, Batik SVG microsyntax parser library, Batik XML utility library, Batik animation engine, Batik bridge classes, Batik external code, Batik scripting language classes, Batik utility library, Commons Digester, Commons Lang, Commons Logging, JCommander, Jackson-annotations, Jackson-core, JasperStarter, StAX API, XML Commons External Components XML APIs, XML Commons External Components XML APIs Extensions, ZXing Core, jackson-databind, javax.inject
-
Bouncy Castle License: Legion of the Bouncy Castle Java Cryptography APIs
JasperStarter distribution files have the following naming convention:
-
-
-
JasperStarter-<version>-<type>.<archiveTye>
-
-
Version number for production releases:
-
-
-
<major>.<minor>.<bugfix>
-
-
Version number for release candidates - should be ready for production but needs some testing from YOU ;-) :
-
-
-
<major>.<minor>-RC<N>
-
-
Version number for testing releases - not for production use:
-
-
-
<major>.<minor>-SNAPSHOT-<git-short-commit-id>
-
-
Types:
-
-
-
-
bin - means binary distribution
-
-
setup - Windows Installer
-
-
Choose your favorit archive type. The content is equal in each archive.
-
-
Manifest
-
Content of a distribution archive:
-
-
-
bin/ - executable binaries for Windows, Mac OSX, Linux, etc.
-docs/ - JasperStarter documentation in html format
-jdbc/ - place for your jdbc drivers (jar files)
-lib/ - needed libraries
-CHANGES
-LICENSE
-NOTICE
-README.md
-
-
Please don’t touch the structure of the directories or JasperStarter will not work.
-
For further information see README.md inside the distribution archive.
-
-
-
-
-
-
-
-
diff --git a/src/JasperStarter/docs/images/JasperStarter_screenshot-help.png b/src/JasperStarter/docs/images/JasperStarter_screenshot-help.png
deleted file mode 100755
index ca8216c..0000000
Binary files a/src/JasperStarter/docs/images/JasperStarter_screenshot-help.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/JasperStarter_screenshot-pr-help.png b/src/JasperStarter/docs/images/JasperStarter_screenshot-pr-help.png
deleted file mode 100755
index 3deff9b..0000000
Binary files a/src/JasperStarter/docs/images/JasperStarter_screenshot-pr-help.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/JasperStarter_screenshot_parameter-prompt.png b/src/JasperStarter/docs/images/JasperStarter_screenshot_parameter-prompt.png
deleted file mode 100755
index 1f5d91f..0000000
Binary files a/src/JasperStarter/docs/images/JasperStarter_screenshot_parameter-prompt.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/JasperStarter_screenshot_print_dialog.png b/src/JasperStarter/docs/images/JasperStarter_screenshot_print_dialog.png
deleted file mode 100755
index a0d2bd3..0000000
Binary files a/src/JasperStarter/docs/images/JasperStarter_screenshot_print_dialog.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/JasperStarter_screenshot_view.png b/src/JasperStarter/docs/images/JasperStarter_screenshot_view.png
deleted file mode 100755
index ed42b03..0000000
Binary files a/src/JasperStarter/docs/images/JasperStarter_screenshot_view.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/accessories-text-editor.png b/src/JasperStarter/docs/images/accessories-text-editor.png
deleted file mode 100755
index abc3366..0000000
Binary files a/src/JasperStarter/docs/images/accessories-text-editor.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/add.gif b/src/JasperStarter/docs/images/add.gif
deleted file mode 100755
index 1cb3dbf..0000000
Binary files a/src/JasperStarter/docs/images/add.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/images/apache-maven-project-2.png b/src/JasperStarter/docs/images/apache-maven-project-2.png
deleted file mode 100755
index 6c096ec..0000000
Binary files a/src/JasperStarter/docs/images/apache-maven-project-2.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/application-certificate.png b/src/JasperStarter/docs/images/application-certificate.png
deleted file mode 100755
index cc6aff6..0000000
Binary files a/src/JasperStarter/docs/images/application-certificate.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/close.gif b/src/JasperStarter/docs/images/close.gif
deleted file mode 100755
index 1c26bbc..0000000
Binary files a/src/JasperStarter/docs/images/close.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/images/collapsed.png b/src/JasperStarter/docs/images/collapsed.png
deleted file mode 100755
index 67f5b5e..0000000
Binary files a/src/JasperStarter/docs/images/collapsed.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/contact-new.png b/src/JasperStarter/docs/images/contact-new.png
deleted file mode 100755
index ebc4316..0000000
Binary files a/src/JasperStarter/docs/images/contact-new.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/document-properties.png b/src/JasperStarter/docs/images/document-properties.png
deleted file mode 100755
index 34c2409..0000000
Binary files a/src/JasperStarter/docs/images/document-properties.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/drive-harddisk.png b/src/JasperStarter/docs/images/drive-harddisk.png
deleted file mode 100755
index d7ce475..0000000
Binary files a/src/JasperStarter/docs/images/drive-harddisk.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/expanded.png b/src/JasperStarter/docs/images/expanded.png
deleted file mode 100755
index 83772c7..0000000
Binary files a/src/JasperStarter/docs/images/expanded.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/fix.gif b/src/JasperStarter/docs/images/fix.gif
deleted file mode 100755
index b7eb3dc..0000000
Binary files a/src/JasperStarter/docs/images/fix.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/images/icon_error_sml.gif b/src/JasperStarter/docs/images/icon_error_sml.gif
deleted file mode 100755
index 12e9a01..0000000
Binary files a/src/JasperStarter/docs/images/icon_error_sml.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/images/icon_help_sml.gif b/src/JasperStarter/docs/images/icon_help_sml.gif
deleted file mode 100755
index aaf20e6..0000000
Binary files a/src/JasperStarter/docs/images/icon_help_sml.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/images/icon_info_sml.gif b/src/JasperStarter/docs/images/icon_info_sml.gif
deleted file mode 100755
index b776326..0000000
Binary files a/src/JasperStarter/docs/images/icon_info_sml.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/images/icon_success_sml.gif b/src/JasperStarter/docs/images/icon_success_sml.gif
deleted file mode 100755
index 0a19527..0000000
Binary files a/src/JasperStarter/docs/images/icon_success_sml.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/images/icon_warning_sml.gif b/src/JasperStarter/docs/images/icon_warning_sml.gif
deleted file mode 100755
index ac6ad6a..0000000
Binary files a/src/JasperStarter/docs/images/icon_warning_sml.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/images/image-x-generic.png b/src/JasperStarter/docs/images/image-x-generic.png
deleted file mode 100755
index ab49efb..0000000
Binary files a/src/JasperStarter/docs/images/image-x-generic.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/internet-web-browser.png b/src/JasperStarter/docs/images/internet-web-browser.png
deleted file mode 100755
index 307d6ac..0000000
Binary files a/src/JasperStarter/docs/images/internet-web-browser.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/logos/build-by-maven-black.png b/src/JasperStarter/docs/images/logos/build-by-maven-black.png
deleted file mode 100755
index 919fd0f..0000000
Binary files a/src/JasperStarter/docs/images/logos/build-by-maven-black.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/logos/build-by-maven-white.png b/src/JasperStarter/docs/images/logos/build-by-maven-white.png
deleted file mode 100755
index 7d44c9c..0000000
Binary files a/src/JasperStarter/docs/images/logos/build-by-maven-white.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/logos/maven-feather.png b/src/JasperStarter/docs/images/logos/maven-feather.png
deleted file mode 100755
index b5ada83..0000000
Binary files a/src/JasperStarter/docs/images/logos/maven-feather.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/network-server.png b/src/JasperStarter/docs/images/network-server.png
deleted file mode 100755
index 1d12e19..0000000
Binary files a/src/JasperStarter/docs/images/network-server.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/package-x-generic.png b/src/JasperStarter/docs/images/package-x-generic.png
deleted file mode 100755
index 8b7e9e6..0000000
Binary files a/src/JasperStarter/docs/images/package-x-generic.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/profiles/pre-release.png b/src/JasperStarter/docs/images/profiles/pre-release.png
deleted file mode 100755
index d448e85..0000000
Binary files a/src/JasperStarter/docs/images/profiles/pre-release.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/profiles/retired.png b/src/JasperStarter/docs/images/profiles/retired.png
deleted file mode 100755
index f89f6a2..0000000
Binary files a/src/JasperStarter/docs/images/profiles/retired.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/profiles/sandbox.png b/src/JasperStarter/docs/images/profiles/sandbox.png
deleted file mode 100755
index f88b362..0000000
Binary files a/src/JasperStarter/docs/images/profiles/sandbox.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/remove.gif b/src/JasperStarter/docs/images/remove.gif
deleted file mode 100755
index fc65631..0000000
Binary files a/src/JasperStarter/docs/images/remove.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/images/rss.png b/src/JasperStarter/docs/images/rss.png
deleted file mode 100755
index a9850ee..0000000
Binary files a/src/JasperStarter/docs/images/rss.png and /dev/null differ
diff --git a/src/JasperStarter/docs/images/update.gif b/src/JasperStarter/docs/images/update.gif
deleted file mode 100755
index b2a6d0b..0000000
Binary files a/src/JasperStarter/docs/images/update.gif and /dev/null differ
diff --git a/src/JasperStarter/docs/images/window-new.png b/src/JasperStarter/docs/images/window-new.png
deleted file mode 100755
index 0e12ef9..0000000
Binary files a/src/JasperStarter/docs/images/window-new.png and /dev/null differ
diff --git a/src/JasperStarter/docs/index.html b/src/JasperStarter/docs/index.html
deleted file mode 100755
index a2be6cb..0000000
--- a/src/JasperStarter/docs/index.html
+++ /dev/null
@@ -1,347 +0,0 @@
-
-
-
-
-
-
- JasperStarter - JasperStarter - Running JasperReports from command line
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
JasperStarter - Running JasperReports from command line
Run any JasperReport that needs a jdbc, csv, xml, json or empty datasource
-
-
Use with any database for which a jdbc driver is available
-
-
Run reports with subreports
-
-
Execute reports that need runtime parameters. Any parameter whose class has a string constructor is accepted. Additionally the following types are supported or have special handlers:
-
-
Feedback is always welcome! If you have any questions or proposals, don’t hesitate to write to our discussion forum. If you found a bug or you are missing a feature, log into our Issuetracker and create a bug or feature request.
-
If you like the software you can write a review :-)
It is possible to compile JasperStarter without this dependency but users will run into errors if they use specific functions in their reports. So there is a test that fails if jasperreports-functions is not available.
-
On Linux 64 bit the launch4j-maven-plugin may fail. You need the folloing libs in a 32 bit version:
or if you build from the current default branch you better use:
-
-
-
$ mvn package -P release,snapshot
-
-
Attention! You cannot executetarget/jasperstarter.jarwithout having it's dependencies in../lib ! See dev profile below!
-
If you want to build the Windows setup.exe, you need to have nsis in your search path (works on linux too, you can find a compiled release in the sourceforge download folder build-tools for your convenience) an add the windows-setup profile to your build:
-
-
-
$ mvn package -P release,windows-setup
-
-
or
-
-
-
$ mvn package -P release,windows-setup,snapshot
-
-
While developing you may want to have a quicker build. The dev profile excludes some long running reports and the compressed archives. Instead it puts the build result into target/jasperstarter-dev-bin.
During development you might want not to be annoyed by tests. So the following options are useful:
-
-
-
$ mvn package -P dev -D skipTests
-
-
or
-
-
-
$ mvn package -P dev -D maven.test.failure.ignore=true
-
-
To run JasperStarter from within your IDE add --jdbc-dir jdbc to the argument list of your run configuration. Otherwise you will get an error:
-
-
-
Error, (...)/JasperStarter/target/classes/jdbc is not a directory!
-
-
Put your jdbc drivers in the ./jdbc directory of the project to invoke JasperStarter from within your IDE to call up a database based report.
-
-
License
-
Copyright 2012-2015 Cenote GmbH.
-
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
-
-
-
-
-
-
diff --git a/src/JasperStarter/docs/js/apache-maven-fluido.min.js b/src/JasperStarter/docs/js/apache-maven-fluido.min.js
deleted file mode 100755
index 2a9c152..0000000
--- a/src/JasperStarter/docs/js/apache-maven-fluido.min.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/*!
- * jQuery JavaScript Library v1.7.1
- * http://jquery.com/
- *
- * Copyright 2011, John Resig
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * Includes Sizzle.js
- * http://sizzlejs.com/
- * Copyright 2011, The Dojo Foundation
- * Released under the MIT, BSD, and GPL Licenses.
- *
- * Date: Mon Nov 21 21:11:03 2011 -0500
- */
-(function(bc,M){var aw=bc.document,bv=bc.navigator,bm=bc.location;var b=(function(){var bG=function(b1,b2){return new bG.fn.init(b1,b2,bE)},bV=bc.jQuery,bI=bc.$,bE,bZ=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bN=/\S/,bJ=/^\s+/,bF=/\s+$/,bB=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bO=/^[\],:{}\s]*$/,bX=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bQ=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bK=/(?:^|:|,)(?:\s*\[)+/g,bz=/(webkit)[ \/]([\w.]+)/,bS=/(opera)(?:.*version)?[ \/]([\w.]+)/,bR=/(msie) ([\w.]+)/,bT=/(mozilla)(?:.*? rv:([\w.]+))?/,bC=/-([a-z]|[0-9])/ig,b0=/^-ms-/,bU=function(b1,b2){return(b2+"").toUpperCase()},bY=bv.userAgent,bW,bD,e,bM=Object.prototype.toString,bH=Object.prototype.hasOwnProperty,bA=Array.prototype.push,bL=Array.prototype.slice,bP=String.prototype.trim,bw=Array.prototype.indexOf,by={};bG.fn=bG.prototype={constructor:bG,init:function(b1,b5,b4){var b3,b6,b2,b7;if(!b1){return this}if(b1.nodeType){this.context=this[0]=b1;this.length=1;return this}if(b1==="body"&&!b5&&aw.body){this.context=aw;this[0]=aw.body;this.selector=b1;this.length=1;return this}if(typeof b1==="string"){if(b1.charAt(0)==="<"&&b1.charAt(b1.length-1)===">"&&b1.length>=3){b3=[null,b1,null]}else{b3=bZ.exec(b1)}if(b3&&(b3[1]||!b5)){if(b3[1]){b5=b5 instanceof bG?b5[0]:b5;b7=(b5?b5.ownerDocument||b5:aw);b2=bB.exec(b1);if(b2){if(bG.isPlainObject(b5)){b1=[aw.createElement(b2[1])];bG.fn.attr.call(b1,b5,true)}else{b1=[b7.createElement(b2[1])]}}else{b2=bG.buildFragment([b3[1]],[b7]);b1=(b2.cacheable?bG.clone(b2.fragment):b2.fragment).childNodes}return bG.merge(this,b1)}else{b6=aw.getElementById(b3[2]);if(b6&&b6.parentNode){if(b6.id!==b3[2]){return b4.find(b1)}this.length=1;this[0]=b6}this.context=aw;this.selector=b1;return this}}else{if(!b5||b5.jquery){return(b5||b4).find(b1)}else{return this.constructor(b5).find(b1)}}}else{if(bG.isFunction(b1)){return b4.ready(b1)}}if(b1.selector!==M){this.selector=b1.selector;this.context=b1.context}return bG.makeArray(b1,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bL.call(this,0)},get:function(b1){return b1==null?this.toArray():(b1<0?this[this.length+b1]:this[b1])},pushStack:function(b2,b4,b1){var b3=this.constructor();if(bG.isArray(b2)){bA.apply(b3,b2)}else{bG.merge(b3,b2)}b3.prevObject=this;b3.context=this.context;if(b4==="find"){b3.selector=this.selector+(this.selector?" ":"")+b1}else{if(b4){b3.selector=this.selector+"."+b4+"("+b1+")"}}return b3},each:function(b2,b1){return bG.each(this,b2,b1)},ready:function(b1){bG.bindReady();bD.add(b1);return this},eq:function(b1){b1=+b1;return b1===-1?this.slice(b1):this.slice(b1,b1+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bL.apply(this,arguments),"slice",bL.call(arguments).join(","))},map:function(b1){return this.pushStack(bG.map(this,function(b3,b2){return b1.call(b3,b2,b3)}))},end:function(){return this.prevObject||this.constructor(null)},push:bA,sort:[].sort,splice:[].splice};bG.fn.init.prototype=bG.fn;bG.extend=bG.fn.extend=function(){var ca,b3,b1,b2,b7,b8,b6=arguments[0]||{},b5=1,b4=arguments.length,b9=false;if(typeof b6==="boolean"){b9=b6;b6=arguments[1]||{};b5=2}if(typeof b6!=="object"&&!bG.isFunction(b6)){b6={}}if(b4===b5){b6=this;--b5}for(;b50){return}bD.fireWith(aw,[bG]);if(bG.fn.trigger){bG(aw).trigger("ready").off("ready")}}},bindReady:function(){if(bD){return}bD=bG.Callbacks("once memory");if(aw.readyState==="complete"){return setTimeout(bG.ready,1)}if(aw.addEventListener){aw.addEventListener("DOMContentLoaded",e,false);bc.addEventListener("load",bG.ready,false)}else{if(aw.attachEvent){aw.attachEvent("onreadystatechange",e);bc.attachEvent("onload",bG.ready);var b1=false;try{b1=bc.frameElement==null}catch(b2){}if(aw.documentElement.doScroll&&b1){bx()}}}},isFunction:function(b1){return bG.type(b1)==="function"},isArray:Array.isArray||function(b1){return bG.type(b1)==="array"},isWindow:function(b1){return b1&&typeof b1==="object"&&"setInterval" in b1},isNumeric:function(b1){return !isNaN(parseFloat(b1))&&isFinite(b1)},type:function(b1){return b1==null?String(b1):by[bM.call(b1)]||"object"},isPlainObject:function(b3){if(!b3||bG.type(b3)!=="object"||b3.nodeType||bG.isWindow(b3)){return false}try{if(b3.constructor&&!bH.call(b3,"constructor")&&!bH.call(b3.constructor.prototype,"isPrototypeOf")){return false}}catch(b2){return false}var b1;for(b1 in b3){}return b1===M||bH.call(b3,b1)},isEmptyObject:function(b2){for(var b1 in b2){return false}return true},error:function(b1){throw new Error(b1)},parseJSON:function(b1){if(typeof b1!=="string"||!b1){return null}b1=bG.trim(b1);if(bc.JSON&&bc.JSON.parse){return bc.JSON.parse(b1)}if(bO.test(b1.replace(bX,"@").replace(bQ,"]").replace(bK,""))){return(new Function("return "+b1))()}bG.error("Invalid JSON: "+b1)},parseXML:function(b3){var b1,b2;try{if(bc.DOMParser){b2=new DOMParser();b1=b2.parseFromString(b3,"text/xml")}else{b1=new ActiveXObject("Microsoft.XMLDOM");b1.async="false";b1.loadXML(b3)}}catch(b4){b1=M}if(!b1||!b1.documentElement||b1.getElementsByTagName("parsererror").length){bG.error("Invalid XML: "+b3)}return b1},noop:function(){},globalEval:function(b1){if(b1&&bN.test(b1)){(bc.execScript||function(b2){bc["eval"].call(bc,b2)})(b1)}},camelCase:function(b1){return b1.replace(b0,"ms-").replace(bC,bU)},nodeName:function(b2,b1){return b2.nodeName&&b2.nodeName.toUpperCase()===b1.toUpperCase()},each:function(b4,b7,b3){var b2,b5=0,b6=b4.length,b1=b6===M||bG.isFunction(b4);if(b3){if(b1){for(b2 in b4){if(b7.apply(b4[b2],b3)===false){break}}}else{for(;b50&&b1[0]&&b1[b2-1])||b2===0||bG.isArray(b1));if(b4){for(;b31?aK.call(arguments,0):bH;if(!(--bx)){bD.resolveWith(bD,by)}}}function bA(bG){return function(bH){bC[bG]=arguments.length>1?aK.call(arguments,0):bH;bD.notifyWith(bF,bC)}}if(e>1){for(;bw
a";bJ=bw.getElementsByTagName("*");bG=bw.getElementsByTagName("a")[0];if(!bJ||!bJ.length||!bG){return{}}bH=aw.createElement("select");by=bH.appendChild(aw.createElement("option"));bF=bw.getElementsByTagName("input")[0];bK={leadingWhitespace:(bw.firstChild.nodeType===3),tbody:!bw.getElementsByTagName("tbody").length,htmlSerialize:!!bw.getElementsByTagName("link").length,style:/top/.test(bG.getAttribute("style")),hrefNormalized:(bG.getAttribute("href")==="/a"),opacity:/^0.55/.test(bG.style.opacity),cssFloat:!!bG.style.cssFloat,checkOn:(bF.value==="on"),optSelected:by.selected,getSetAttribute:bw.className!=="t",enctype:!!aw.createElement("form").enctype,html5Clone:aw.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bF.checked=true;bK.noCloneChecked=bF.cloneNode(true).checked;bH.disabled=true;bK.optDisabled=!by.disabled;try{delete bw.test}catch(bD){bK.deleteExpando=false}if(!bw.addEventListener&&bw.attachEvent&&bw.fireEvent){bw.attachEvent("onclick",function(){bK.noCloneEvent=false});bw.cloneNode(true).fireEvent("onclick")}bF=aw.createElement("input");bF.value="t";bF.setAttribute("type","radio");bK.radioValue=bF.value==="t";bF.setAttribute("checked","checked");bw.appendChild(bF);bE=aw.createDocumentFragment();bE.appendChild(bw.lastChild);bK.checkClone=bE.cloneNode(true).cloneNode(true).lastChild.checked;bK.appendChecked=bF.checked;bE.removeChild(bF);bE.appendChild(bw);bw.innerHTML="";if(bc.getComputedStyle){bB=aw.createElement("div");bB.style.width="0";bB.style.marginRight="0";bw.style.width="2px";bw.appendChild(bB);bK.reliableMarginRight=(parseInt((bc.getComputedStyle(bB,null)||{marginRight:0}).marginRight,10)||0)===0}if(bw.attachEvent){for(bz in {submit:1,change:1,focusin:1}){bC="on"+bz;bx=(bC in bw);if(!bx){bw.setAttribute(bC,"return;");bx=(typeof bw[bC]==="function")}bK[bz+"Bubbles"]=bx}}bE.removeChild(bw);bE=bH=by=bB=bw=bF=null;b(function(){var bN,bV,bW,bU,bO,bP,bM,bT,bS,e,bQ,bR=aw.getElementsByTagName("body")[0];if(!bR){return}bM=1;bT="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bS="visibility:hidden;border:0;";e="style='"+bT+"border:5px solid #000;padding:0;'";bQ="
Typically the licenses listed for the project are that of the project itself, and not of dependencies.
-
-
Project License
-
-
The Apache Software License, Version 2.0
-
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
This document provides an overview of the various documents and links that are part of this project's general information. All of this content is automatically generated by Maven on behalf of the project.
This document provides information on the members of this project. These are the individuals who have contributed to the project in one form or another.
A successful project requires many people to play many roles. Some members write code or documentation, while others are valuable as testers, submitting patches and suggestions.
-
The team is comprised of Members and Contributors. Members have direct access to the source of a project and actively evolve the code-base. Contributors improve the project through submission of patches and suggestions to the Members. The number of Contributors to the project is unbounded. Get involved today. All contributions to the project are greatly appreciated.
-
-
Members
-
The following is a list of developers with commit privileges that have directly contributed to the project in one way or another.
Many people may not care about unicode when using JasperReports. They just choose the font they like for their fields and static text, run the report and that´s it. But if your report contains characters, which are not contained in your default non unicode operating system characterset, you'll be surprised. You`ll get correct print preview and printout but no correct pdf export. Some characters will miss.
-
I had this problem and what I found on the internet was quite confusing. I found everythig from "this is a bug in the underlaying itext library" to complicated looking solutions using deprecated JasperReports functions.
-
But the real solution is fortunately quite simple...
-
-
One step closer
-
Just switch the font name of the desired field to "DejaVu Sans". Depending on the used characters you may notice that they are now visible in pdf too.
-
(The DejaVu font family is a bit limited but for example you will be able to export cyrillic characters with it. See http://dejavu-fonts.org for further information.)
-
-
It still does not work
-
You switched the font name property of the desired field to "DejaVu Sans" and you checked on the website that the characters are included in the font but you still got nothing in your PDF?
-
Did you previously play with the deprecated options like "PDF Font name" or "PDF Encoding"? Even if you switch back this options to their default values this may be the reason that you don't get it displayed in PDF. You have to switch to the xml view of your report definition and check that these options are NOT present at all!
-
For example this does not work:
-
-
<staticText>
- <reportElement x="14" y="63" width="521" height="24"/>
- <textElement>
- <font fontName="DejaVu Sans" size="15" pdfFontName="DejaVu Sans" pdfEncoding="Identity-H"/>
- </textElement>
- <text><![CDATA[Cyrillic: б в г д ж з и ь к л м н п ф ц ч ш шт э я ю я ы]]></text>
-</staticText>
-
-
This will work as the pdfFontName and pdfEncoding attributes are not present:
-
-
<staticText>
- <reportElement x="14" y="63" width="521" height="24"/>
- <textElement>
- <font fontName="DejaVu Sans" size="15"/>
- </textElement>
- <text><![CDATA[Cyrillic: б в г д ж з и ь к л м н п ф ц ч ш шт э я ю я ы]]></text>
-</staticText>
-
-
-
Using any unicode font
-
Maybe your characters are not displayed with the DejaVu fonts or you just don't like this font. What about using Arial or any other unicode font?
-
To achieve this you must provide your font in a special way to JasperReports. This means your fonts must be put in a .jar file which must contain additional information in a property file and a special xml file describing the contained fonts. This jar file must be on the java classpath while you execute your report. Sounds complicated? Don't panic... ;-)
-
You can create such a font jar file in two steps using the graphical report editor iReport which you may already be using.
-
If you open the selection list of the font name property in iReports, you may notice that there are a few entries at the top of the list and then, devided by a dash, a longer list of fonts. The longer list beneath the dash are the fonts installed in your operating system whilest the entries above are fonts that are installed into iReports. Only these installed fonts can be used to export unicode characters to pdf whithin iReports. So the first step is to install your favorite font to iReport.
-
-
Installing a font to iReport
-
-
Open the options dialog of iReport.
-
Select the iReport section (if not already selected).
-
Click on the fonts tab.
-
You now see a list of all already installed fonts. The three DejaVue fonts are installed by default and the other three are generic font aliases.
-
-
Click on the "Install Font" button.
-
Use the "Browse" button to select the font file (use the standard version here, not the bold or italic).
-
In the next window you can add the other font types.
-
-
Choose "Identity-H (Unicode with horizontal writing)"
-
If you install a special font, which is usually not available on other users systems, you should also check the "Embed this font in the PDF document" option.
-
Click "Next"
-
The locales list can be left empty. Just click "Next"
-
The font mappings are used if you export your report to html, xhtml or rtf. If you don't need this, leave it empty.
-
Now click "Finish"
-
Now you shoud be able to export your report to pdf from within iReport using your installed font and foreign characters.
-
A note to Windows 7 users:
-
You may get an error if you try to install a font into iReport because you have no right to write into the directory. Change the security property of the
Select the iReport section (if not already selected).
-
Click on the fonts tab.
-
Select the previously installed font and click on the button "Export as extension".
-
Chose a folder and filename ending with .jar
-
Now you have a ready to use font jar which can be used with JasperReports. Just add it to the classpath of your application.
-
-
Using a font with JasperStarter
-
If you want to use the previously created font jar with JasperStarter just put it into the jdbc directory you are using with JasperStarter. All jar files there are added to the classpath.
If you put the bin dir on the seach path, just type
-
-
$ jasperstarter
-
-
to invoke the program.
-
If not, you can use an absolute path. On Linux:
-
-
/opt/jasperstarter/bin/jasperstarter
-
-
and on Windows:
-
-
C:\App\jasperstarter\bin\jasperstarter.exe
-
-
if you followed the example in the install section.
-
If you have any problem with the binary or shell script or you need to specify some extra options to your java vm, you can invoke the program directly:
This file is an xml file that defines the report, You can create it by hand but usually you will use one of the nice available GUI tools.
-
The compiled report file myreport.jasper
-
This file is the result of compiling an .jrxml file.
-
The filled report file myreport.jrprint
-
This file is the result of running a report. The data which is retrieved from the defined datasource is filled in the compiled report and can be stored in a .jrprint file.
-
-
Stages of processing
-
There are three stages of processing a JasperReport:
-
-
compiling results in a .jasper file
-
filling can optionally be stored in a .jrprint file
-
viewing, printing or exporting to one or more of the supported formats
-
JasperStarter can carry out all of them in one commanding call.
-
-
JasperStarter commands and options
-
JasperStarter has some global options and commands. Every command can have it's own options.
-
You can get an overview if you invoke jasperstarter with -h which shows you the global options and the available commands.
-
-
$ jasperstarter -h
-usage: jasperstarter [-h] [--locale <lang>] [-v] [-V] <cmd> ...
-
-optional arguments:
- -h, --help show this help message and exit
- --locale <lang> set locale with two-letter ISO-639 code or a
- combination of ISO-639 and ISO-3166 like de_DE
- -v, --verbose display additional messages
- -V, --version display version information and exit
-
-commands:
- <cmd> type <cmd> -h to get help on command
- compile (cp) compile reports
- process (pr) view, print or export an existing report
- list_printers (printers,lpr)
- lists available printers
- list_parameters (params,lpa)
- list parameters from a given report
-
-
Every command has it's own help which can be invoked with <command> -h.
-
-
The command compile (cp)
-
The command compile is for compiling one report or all reports in a directory. cp is an alias for compile.
-
-
$ jasperstarter cp -h
-usage: jasperstarter compile [-h] [-o <output>] <input>
-
-optional arguments:
- -h, --help show this help message and exit
-
-options:
- <input> input file (.jrxml) or directory
- -o <output> directory or basename of outputfile(s)
-
-
-
The command process (pr)
-
The command process is for processing a report. Thant means viewing, printing or exporting. pr is an alias for process.
-
-
$ jasperstarter pr -h
-usage: jasperstarter process [-h] -f <fmt> [<fmt> ...] [-o <output>] [-w]
- [-a [<filter>]] [-P <param> [<param> ...]]
- [-r [<resource>]] [-t <dstype>] [-H <dbhost>]
- [-u <dbuser>] [-p <dbpasswd>] [-n <dbname>]
- [--db-sid <sid>] [--db-port <port>]
- [--db-driver <name>] [--db-url <jdbcUrl>]
- [--jdbc-dir <dir>] [--data-file <file>]
- [--csv-first-row] [--csv-columns <list>]
- [--csv-record-del <delimiter>]
- [--csv-field-del <delimiter>]
- [--csv-charset <charset>] [--xml-xpath <xpath>]
- [--json-query <jsonquery>] [-N <printername>] [-d]
- [-s <reportname>] [-c <copies>]
- [--out-field-del <delimiter>]
- [--out-charset <charset>] <input>
-
-optional arguments:
- -h, --help show this help message and exit
-
-options:
- -f <fmt> [<fmt> ...] view, print, pdf, rtf, xls, xlsMeta, xlsx, docx,
- odt, ods, pptx, csv, csvMeta, html, xhtml, xml,
- jrprint
- <input> input file (.jrxml|.jasper|.jrprint)
- -o <output> directory or basename of outputfile(s)
-
-compile options:
- -w, --write-jasper write .jasper file to imput dir if jrxml is
- processed
-
-fill options:
- -a [<filter>] ask for report parameters. Filter: a, ae, u, ue,
- p, pe (see usage)
- -P <param> [<param> ...]
- report parameter: name=value [...]
- -r [<resource>] path to report resource dir or jar file. If
- <resource> is not given the input directory is
- used.
-
-datasource options:
- -t <dstype> datasource type: none, csv, xml, json, mysql,
- postgres, oracle, generic (jdbc)
- -H <dbhost> database host
- -u <dbuser> database user
- -p <dbpasswd> database password
- -n <dbname> database name
- --db-sid <sid> oracle sid
- --db-port <port> database port
- --db-driver <name> jdbc driver class name for use with type: generic
- --db-url <jdbcUrl> jdbc url without user, passwd with type:generic
- --jdbc-dir <dir> directory where jdbc driver jars are located.
- Defaults to ./jdbc
- --data-file <file> input file for file based datasource
- --csv-first-row first row contains column headers
- --csv-columns <list> Comma separated list of column names
- --csv-record-del <delimiter>
- CSV Record Delimiter - defaults to line.separator
- --csv-field-del <delimiter>
- CSV Field Delimiter - defaults to ","
- --csv-charset <charset>
- CSV charset - defaults to "utf-8"
- --xml-xpath <xpath> XPath for XML Datasource
- --json-query <jsonquery>
- JSON query string for JSON Datasource
-
-output options:
- -N <printername> name of printer
- -d show print dialog when printing
- -s <reportname> set internal report/document name when printing
- -c <copies> number of copies. Defaults to 1
- --out-field-del <delimiter>
- Export CSV (Metadata) Field Delimiter - defaults
- to ","
- --out-charset <charset>
- Export CSV (Metadata) Charset - defaults to "utf-
- 8"
-
-
-
The command list_printers (printers,lpr)
-
The command list_printers has no options. It lists the available printers on your system which can be used with optin -N of the command process. printers, lpr are aliases for list_printers.
-
-
The command list_parameters (params,lpa)
-
The command list_parameters lists all user defined parameters of a given report. params, lpa are aliases for list_parameters.
-
-
$ jasperstarter params -h
-usage: jasperstarter list_parameters [-h] <input>
-
-optional arguments:
- -h, --help show this help message and exit
-
-options:
- <input> input file (.jrxml) or (.jasper)
-
-
The columns have the following meaning:
-
-
P/N - Prompt or no promt flag
-
Parameter name
-
Parameter type (class name)
-
Optional description
-
Example output:
-
-
$ jasperstarter params myreport.jasper
-P background java.awt.Image Background image
-P MyName java.lang.String Title of some component
-P MyDate java.util.Date
-
-
-
Command files
-
Every command, option or argument JasperStarter accepts can be stored in a file that can be additionally provided with the @ sign.
-
The file should contain one command/option/argument per line.
-
Example file (db.conf):
-
-
-t
-mysql
--H
-localhost
--n
-mydb
--u
-volker
-
-
Example invocation with command file:
-
-
$ jasperstarter pr myreport -f view @db.conf
-
-
Attention! The command file should not contain any empty lines and justone linebreak with no spaces at the end of the file!
-
-
Processing reports
-
To process a report you must provide the process command pr which needs the following options:
-
-
<input> input file (report definition, compiled report or filled report).
-
-f a space separated list of output formats.
-
-
view and print are mutually exclusive thus print is ignored if view is given.
-
-t a datasource type if your report needs one. Defaults to none.
-
-
if datasource type is not none you must specify other options depending
-
on the type of the datasource.
-
All other options are optional.
-
For output -o see section "File Handling".
-
<input> is now just an argument. The order of options and this argument does not matter but an argument cannot be placed behind an option that takes a vague number of arguments by itself. These options are:
The easiest way to circumvent any problems regarding arguments is to always place <input> at the first position right behind the command as shown in the following examples.
-
-
The minimum non datasource report
-
The minimum options needed, to process a report with an empty datasource:
-
-
$ jasperstarter pr myreport.jasper -f view
-
-
-
The minimum database report
-
The minimum options required to process a report that needs a database connection:
-
-
$ jasperstarter pr myreport.jasper -f pdf -t mysql -H localhost -n mydb -u appuser
-
-
-
View, print or export previously filled reports
-
You can fill a report at one time and view, print or export it at a later time.
The CSV file charset defaults to UTF-8. Other common used charsets are cp1252 (Windows), ISO-8859-1 or ISO-8859-15 (Linux). You can specify the csv file charset with the --csv-charset parameter.
-
Records are usually delimited by a newline but this is not a must. The record delimiter defaults to the system line separator which is different depending on your operating system. If you use CSV files from other systems you must provide the correct line ending with the --csv-record-del parameter:
-
-
Windows: \r\n
-
Linux/Mac: \n
-
Fields can be delimited by any char and optionally be enclosed by quotation marks. The field delimiter defaults to ,
Report parameters can consist of several types (classes). JasperStarter can generally handle all classes that have a constructor of type String. Additionally JasperStarter has special handlers for some classes that have no constructor of type String or otherwiese need special handling. These are:
-
-
date, image, locale
-
Multiple parameters can be separated by spaces. A parameter has the following form:
-
-
<name>=<value>
-
Replace name with the parameter name in your report. Parameter names are case sensitive !
-
The parameter type date accepts a date in ISO format in the form: YYYY-MM-DD
-
The parameter type locale may consist just of the two-letter ISO-639 language code or a combination of the two-letter ISO-639 language code and the two-letter ISO-3166 country code connected by an underscore. For example de or de_DE.
A simple way of customizing a report is to provide a logo or background image as parameter. In the following example we use background as parameter name for the image:
-
-
Create a parameter in your report and change it's properties:
-
-
Name = background
-
Parameter Class = java.awt.Image
-
Place an image in your report and change it's properties:
-
-
Image Expression = $P{background}
-
Expression Class = java.awt.Image
-
compile your report
-
Now you can process your report with JasperStarter:
JasperStarter can ask for parameter input with option -a.
-
Every parameter defined in the report can be displayed but only those are supported for input, that have a type (class) with a constructor that takes one string as an argument or there is a special handler implemented for it.
-
It is possible to filter the displayed parameters with the following optional arguments:
-
-
a - all parameters (including system parameters)
-
ae - all empty parameters (parameters for which no value is provided on command line)
-
p - all user defined parameters marked for prompting (this is the default if -a has no argument)
-
pe - all empty user defined parameters marked for prompting
-
u - all user defined parameters
-
ue - all empty user defined parameters
-
In the following examples we assume a non database report which has two parameters:
-
-
MyDate (java.util.Date)
-
MyText (java.lang.String)
-
The user will be prompted for the two parameters:
-
-
$ jasperstarter pr myreport.jasper -f view -a
-
-
The user will be prompted for the two parameters. The MyDate parameter is already filled but the user can change it:
-
-
$ jasperstarter pr myreport.jasper -f view -P MyDate=2013-01-30 -a
-
-
The user will be prompted only for the empty MyText parameter. The MyDate parameter is already filled and not displayed:
-
-
$ jasperstarter pr myreport.jasper -f view -P MyDate=2013-01-30 -a pe
-
-
-
Reports with resources
-
Reports can use several resources like i18n resource bundles, icons, images or (compiled) subreports.
-
If a resource exists in the same directory as the report file just specify -r without any arguments:
-
-
$ jasperstarter pr myreport.jasper -f view -r
-
-
If the resource is located in another directory or in a jar file the path can be given as an argument:
The standard export to csv (xls, xlsx, ods) depends on layout and produces unexpected results most time. The solution to this is, at least for csv and xls, using metadata which clearly define which data is exported and how. This metadata must be added to the report definition jrxml.
Additionaly use the format -f csvMeta instead of -f csv or -f xlsMeta instead of -f xls with JasperStarter. Have a look at the example section at the end of this file.
-
-
Reports with Subreports
-
Using subreports with JasperStarter can be a bit tricky and has some limitations. You have to use the datasource form the main report in the subreport which can be referenced with $P{REPORT_DATA_SOURCE}. It could be also a good idea to clone the datasource.
-
The subreport must be compiled before you can use it. It must be referenced with file ending .jasper. The path to the subreport must be provided as a resource with option -r.
This is a complete example subreport element using clone and a relative path to the subreport. Keep in mind to replace the data source class with the one you are using.
If the input file (option -i ) is not found, .jasper is added to the filename first, if the file is still not found .jrxml is added to the filename. So you can omit the file extension.
-
If the .jrxml file is used, it will be compiled in memory and used for further processing except you provide option -w which causes the compiled report to be written to the input directory.
-
A .jrprint file can be used as input but must specified with full filename.
-
If the output file or directory ( option -o ) is omitted, parent of the input file is used as output directory and the basename of the input file is used for as output filename:
-
-
(...) myreports/report1 -f pdf odt
-
-
or
-
-
(...) myreports/report1.jasper -f pdf odt
-
-
or
-
-
(...) myreports/report1.jrxml -f pdf odt
-
-
results in:
-
-
myreports/report1.odt
-myreports/report1.pdf
-
-
If output is an existing directory, basename of input is used as filename in that directory:
-
-
(...) myreports/report1.jasper -f pdf odt -o month01/
-
-
results in:
-
-
month01/report1.odt
-month01/report1.pdf
-
-
If output is NOT an existing directory, its name is used as basename for filenames:
-
-
(...) myreports/report1.jasper -f pdf odt -o month01/journal.xyz
-
The results are probably not what you expect. The csv data depends on the layout of the report and may be not row by row. See csv.csv. The xls export tries to mimic the print layout which is not useful if you want to post process the data in Excel.
-
-
csvMeta.jrxml
-
This is an example report for exporting csv or xls with the help of metadata. Don't get confused by the fact that the report uses a csv file as datasource. The output of the export should result in a file named csvMeta.csv or csvMeta.xls depending on -f.
To have an idea on how to add metadata to your report just take a look on csv.jrxml and csvMeta.jrxml. They mainly differ in the added metadata, the order of the fields and a fixed string.
-
-
CancelAck.jrxml
-
This is a report with a xml datasource. To view it type:
Provide the build in report parameter REPORT_LOCALE. This changes only the locale inside the report but the UI remains in the default locale (your systems locale):