Skip to main content

ADempiere and JasperReport integration upgraded to JasperReports-4.5.1

Recently in ADempiere forums we had a question how to upgrade JasperReport engine used in ADempiere to the newest version 4.5.1.

From developers point of view it is quite easy. Developer just need to update JasperReport jar file. In order to be more precise and helpful to the non technical users i have documented all steps:
1) Download newest version of JasperReports and iReport
2) Get ADempiere sources
3) In ADempiere source tree( just one file: JasperReports/build.xml) replace old version of jasperreports-3.7.3.jar with the newest jasperreports-4.5.1.jar
4) Start ADempiere build process(utils_dev/RUN_build.sh) 
5) Do not forget to apply latest ADempiere patches!

As we can see this are just 5 simple steps, but in case you do not have time to setup ADempiere source and build it, i have published ADempiere-3.6.0 with JasperReport-4.5.1 for you.

https://sourceforge.net/projects/adempiere-mysql/files/

Enjoy!

Comments

Jorge Duque said…
Hello Trifon,
Have you ever worked with codebars in JasperReports in adempiere?
I use it in a report with JasperReports-4.1.1 and it works fine when I run it from eclipse but when I run it from the compiled the reports fails to show.

thanks in advance from venezuela.

Popular posts from this blog

Compiere vs. ADempiere: Count of Partners

ADempiere project is one year old now, more precisely 13 months old. Before one year father project Compiere had around 60 partners, which was quite good number. Each partner was obliged to pay 3 000 USD per year which made 180 000 USD income only from partners. Today Compiere has 32 partners and each pays 8 000 USD = 256 000 USD year. It looks that Compiere Inc. managed to increase it's income, but number of partner dropped by half. It is Compiere inc. decision how much to charge for partnership, i'm not going to discuss this now. But it is very interesting observation that although income from partners increased Compiere Inc. decided to close source code access to Service Packs and push users to pay for it. It looks that only money from partners are not enough for the Inc.. Well it is again Compiere Inc. right to decide how much to charge for access to source code and how much not to charge, but users can see that functionality which ADempiere provides get bigger and bigger e

Compiere - Beginning of the end!

Compiere Inc. has very strange understandings for free: http://compiere.com/support/service-packs.php Is there a charge for downloading these service packs? The Service Pack is free of charge for customers on Standard and Extended level support subscriptions. For 2.6.3, the Service Pack is also available to customers on Self-service Support Subscriptions at no charge. Acording to the post all is free, but user must have subscription... We at ADempiere are totaly free as our migration and bug fixes which are more than 500 till now are free even for non subscribed users. One big THANK YOU to Compiere Inc. for leaving the battle field OPEN SOURCE to ADempiere and other forks. Trifon Trifonov

How to catch right mouse click in JTable

This is a quick post to show how developer can intercept Right mouse click in JTable. Name  of our JTable object is "jTable". We need to add MouseListener and catch "MousePressed" events. As the code shows correct mouse button is determined using "SwingUtilities" class, quite easy job. Tricky part is finding Row number and Column number and displaying Pop-up window at correct position. Enjoy! jTable.addMouseListener( new MouseAdapter() { public void mousePressed( MouseEvent event ) { if ( SwingUtilities.isLeftMouseButton( event ) ) { // Do something } else if ( SwingUtilities.isRightMouseButton( event ) ) { Point p = event.getPoint(); // Get row and column index that contains our coordinate int rowIndex = jTable.rowAtPoint( p ); int colIndex = jTable.columnAtPoint( p ); // Get ListSelectionModel of the JTable ListSelectionModel model = jTable.getSelectionModel(); // Set how many rows are selected using "rowInd