Jump to content
JasperReports Library 7.0 is now available ×

davidgarratt

Members
  • Posts

    65
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

davidgarratt's Achievements

Enthusiast

Enthusiast (6/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. I've been working hard documenting the jars which seem to be referenced by version 7.0.0 The build process seems to be very different than 6.x and now you get multiple folders with dependencies in them for each module. HOWEVER there seem to be conflicts and version discrepancies. Maybe someone from JasperSoft could take a look and document which jars are needed as I'm not keen on putting multiple versions of the same 3rd party libraries in the classpath. My documentation is attached. The Jars in the first column are the ones which have some questions. JASPERREPORTS_7_0_0.xlsx JASPERREPORTS_7_0_0.pdf
  2. I don't have an answer for you - but I can share my experience. My application has been written to work with mySQL, SQL Server and Oracle and I use the same reports across all platforms. Now - I do develop against mySQL and my reports do include sql for that platform, however when I run my reports I'm passing resultset to the report rather than using a hard coded query with parameters. This works for me because my application handles the differences between SQL dialects outside the report and as long as the result contains the same column names and types then the report is blissfully unaware of the database engine. Now - having said that - there are instances where I have to manually change the data type in the report design as sometimes it will set a timestamp field to date local - or some phrase like that. My application stores all the sql commands in a xml file for each platform and I have some libraries which deal with syntax differences like top, limit, rownum etc Hope this helps. Dave
  3. Updated analysis of jar versions. Now I have to say I have not checked every jar description to see if multiple versions can co-exist without problems but I really do with some guidance on how to assemble a working class path for a Java Swing (not Spring) application which includes all it needs - but no more. By this I mean I don't need to include any non Java Desktop components as I'm not deploying as a web application. See attached updated document which shows what might be a version issue across some of the modules in version 7.0.0 Report_Jar_Versions.pdf Report_Jar_Versions.xlsx
  4. Working through the dependencies which now seem to be "per module" I can see a few discrepancies which I'm not sure are deliberate or mistakes. I have attached a pdf report which shows what might be version problems if you need to include dependencies for multiple modules which have common - but different jar dependencies. Maybe it's not a problem with Java 11 onwards - not sure. See attached. versions.pdf
  5. To help me to compare the two versions I have created 2 folders, one for all the jars associated with 6.23.1 and one for all the jars associated with 7.0.0 I have flattened the directory structure to make it easier to compare. I have attached a report created by a utility called Beyond Compare in the attached zip. Report.zip
  6. I have a LARGE Java Swing (Desktop) application which uses JasperReports Library 6.21.3 at the moment. I was aware that version 7.0.0 was likely to be quite different but I was wondering if someone could help me determine all the .jars (both core and dependencies) which are needed in the new version. My application is NOT Maven based. I manually maintain the dependencies for a number of reasons. In the past I have simply examined the pom.xml between versions to determine what is needed and to ensure that JasperReports dependencies can co-exist with my other libraries. I am finding the new project file so very very different that I'm no longer sure what is and is not needed. I have built both the old and new versions of the project using mvn and the source files. I assume the new version needs Java 11. What I could really benefit from is a simple set of 2 columns showing old and new jars. Anyone who can help would be most appreciated. My project is on GitHub GitHub Project
  7. I've just downloaded the project file but the xml files pom.xml look almost empty - if this a mistake or has something changed ?
  8. I have a problem with the eclipse plugin at the moment which might be relevant. When I compile my report from Eclipse using the plugin for JasperStudio I don't get any errors but the .jasper file is not being updated so I don't think the compile works. I have had to use the TIBO Jasper Studio IDE to compile my reports at the moment.
  9. If there is a JDBC driver available for Hbase I would give it a try. I use Eclipse and install the jaspersoft studio from the Marketplace. Open the JasperReports view, right click on the Adapters and select add, select jdbc and use the GUI. Dont forget that you will have to download the Hbase jdbc jar file and tell JasperStudio where it is using the add new adapter dialog box - there are more than one tabs to enter this information. You can also enter username and password and click test to see if it works.
  10. When I include a barcode in my reports I used the Barcode4j library which is an option within Jasper. The barcode appears fine on screen and then from my preview window I select save, choose the PDF type and then enter a filename with pdf extension. The file opens ok with PDF viewer on my mac and prints to a laser just fine. There is a lot of code to look at by my project is at https://www.commander4j.com/ and you can download the source from there if it helps. Are you using a barcode font by any chance ?
  11. Not familiar with jasper server but thinking about what to check I would make sure any paths to the subreport are valid in the server enviroment. Also is it possible that the database is diffent on the server. Is the version of Java used to compile the report on you dev enviroment the same as is used on the server ? Sorry if thats not helpful - all I could think of.
  12. I am using Eclipse Version: 2021-06 (4.20.0) Build id: 20210612-2011 on MacOS 11.4 with Jasper Studio 6.17.0 installed from the Marketplace. If I open one of my reports in the Jasper Designer I can run it, edit it and all works fine. However when I try and compile my report it does not seem to update the .jasper compile file. If I then copy the source file of my report to another workspace and compile it with the TIBCO JasperSoft Studio 6.19.0 IDE I can compile it and the jasper file is updated. I never see any error messages. My default java JDK/JRE for the OS is 11 and my project settings are also for Java 11. As I don't get any error messages its hard to diagnose the problem. The only other plugin which I have installed in an otherwise clean install is WindowBuilderPro. Ideas welcome Dave
  13. Same here - if I compile with Java 8 its ok, Java 11 and I get this warning. I suppose we need someone which a support contract to report it so it gets addressed
  14. I have the same problem - I just JFreeChart 1.5 for an on-screen graph but after spending a long time creating a jasper report with a pie chart I find I can only run it within Eclipse and not within my application as I'm using 1.5 and not 1.019
×
×
  • Create New...