Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #29882 Back to Issue ]
Summary 0029882: API changes required for Jasper library upgrade to version 6.0.0
Revision 2015-05-14 13:40 by caristu
Description Two API changes are required to integrate properly the upgrade of the Jasper library to version 6.0.0.

1) In the WebPOS module (org.openbravo.retail.posterminal) the CashUpReport class is making use of the ListOfArrayDataSource class of the jasper API. The constructor of this class has changed between version 4.0.1 and 6.0.0:

On Jasper 4.0.1:
 
  public ListOfArrayDataSource(List records, String[] columnNames)

On Jasper 6.0.0

  public ListOfArrayDataSource(List<Object[]> records, String[] columnNames)

This change should be take into account in the CashUpReport class to ensure the correct compilation.

2) The "Print and Send"[1] module is making use of the itext library. A new version of this library should be introduced with Jasper 6.0.0. To adapt this module to this new version just a small change should be done: the Print.java class is importing the itext classes using the following package: com.lowagie.text. The imports should use the com.itextpdf.text package instead


[1] http://centralrepository.openbravo.com/openbravo/org.openbravo.forge.ui/ForgeModuleDetail/Print-And-Send-Documents [^]
Revision 2015-05-14 13:40 by caristu
Description Two API changes are required to integrate properly the upgrade of the Jasper library to version 6.0.0.

1) In the WebPOS module (org.openbravo.retail.posterminal) the CashUpReport class is making use of the ListOfArrayDataSource class of the jasper API. The constructor of this class has changed between version 4.0.1 and 6.0.0:

On Jasper 4.0.1:
 
  public ListOfArrayDataSource(List records, String[] columnNames)

On Jasper 6.0.0

  public ListOfArrayDataSource(List<Object[]> records, String[] columnNames)

This change should be take into account in the CashUpReport class to ensure the correct compilation.

2) The "Print and Send"[1] module is making use of the itext library. A new version of this library should be introduced with Jasper 6.0.0. To adapt this module to this new version just a small change should be done: the Print.java class is importing the itext classes using the following package: com.lowagie.text. The imports should use the com.itextpdf.text package instead


[1] http://centralrepository.openbravo.com/openbravo/org.openbravo.forge.ui/ForgeModuleDetail/Print-And-Send-Documents [^]
  
  
Revision 2015-05-14 13:32 by caristu
Description Two API changes are required to integrate properly the upgrade of the Jasper library to version 6.0.0.

1) In the WebPOS module (org.openbravo.retail.posterminal) the CashUpReport class is making use of the ListOfArrayDataSource class of the jasper API. The constructor of this class has changed between version 4.0.1 and 6.0.0:

On Jasper 4.0.1:
 
  public ListOfArrayDataSource(List records, String[] columnNames)

On Jasper 6.0.0

  public ListOfArrayDataSource(List<Object[]> records, String[] columnNames)

This change should be take into account in the CashUpReport class to ensure the correct compilation.

2) The "Print and Send" module is making use of the itext library. A new version of this library should be introduced with Jasper 6.0.0. To adapt this module to this new version just a small change should be done: the Print.java class is importing the itext classes using the following package: com.lowagie.text. The imports should use the com.itextpdf.text package instead
  
  


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker