Post Sun Apr 11, 2010 2:55 pm

Update JasperReports libraries in OB POS 2.30

Hello.


This is mini instruction about updating JasperReports libraries in Openbravo POS 2.30 to the latest version. New libraries are needed if you create report templates in the latest version of iReport and wish to use them in Openbravo POS. New libraries are very desirable for every new version of this editor.

 


As at February 1, 2010 (JasperReport 3.7.1) but the same process applies for later libraries.




1) Download from this page. Unpack archive and copy jasperreports-3.7.1.jar from /dist folder into /lib folder of Openbravo POS. Also you need to copy from /lib folder of JasperReports these new libraries:



  • commons-beanutils-1.8.jar

  • poi-3.5-FINAL-20090928.jar

  • iText-2.1.7.jar




2) Replace the rows in start.bat for Windows and start.sh for Linux (see code section) and save files for start.


This is solution I tested in my project Issue 23


Best regards,


Andrej Svininykh.


Project Openbravo POS ru











Code:


In start.bat for Windows:

set CP=%CP%;"%DIRNAME%lib/jasperreports-3.7.1.jar"
set CP=%CP%;"%DIRNAME%lib/commons-beanutils-1.8.jar"
set CP=%CP%;"%DIRNAME%lib/iText-2.1.7.jar"
set CP=%CP%;"%DIRNAME%lib/poi-3.5-FINAL-20090928.jar"

In start.sh for Linux:

CP=$CP:$DIRNAME/lib/jasperreports-3.7.1.jar
CP=$CP:$DIRNAME/lib/commons-beanutils-1.8.jar
CP=$CP:$DIRNAME/lib/iText-2.1.7.jar
CP=$CP:$DIRNAME/lib/poi-3.5-FINAL-20090928.jar



Post Edited by ronny_g at 07/05/2010 05:07 PM
Attachments

[The extension sh has been deactivated and can no longer be displayed.]

[The extension bat has been deactivated and can no longer be displayed.]

--
The best regards,
Andrey Svininykh
Project nordpos.mobi
Hire Me!