B4J Question [solved] B4JPackager11 + JasperReports error

Erel

Administrator
Staff member
Licensed User
please, go into "cerca e stampa" and later "Report"
This is important information.

Set this:
B4X:
Private AdditionalModuleInfoString As String = "exports net.sf.jasperreports.engine.fill;"
I got a different error which seems to be related to a missing image file.
 

Erel

Administrator
Staff member
Licensed User
True, in B4JPackager11 code in the global variable. Can also be set with a json file.
 

powerino

Active Member
Licensed User
Thanks Erel, now it works !!! You are always the best! So I only have to add this variable for this project, right?
 

Erel

Administrator
Staff member
Licensed User
So I only have to add this variable for this project, right?
Yes. The best way is to create a json file for each one of your projects. All the configurable parameters can be set in that file.
 

powerino

Active Member
Licensed User
I created the "config.ini" file, but I will try to improve the logic of the program and to use the json file. Thanks again
 

Erel

Administrator
Staff member
Licensed User
The json file that I'm talking about is not related to this. It is a file that holds the configuration required by B4JPackager11.
 

powerino

Active Member
Licensed User
True, in B4JPackager11 code in the global variable. Can also be set with a json file.
Hi Erel, the program works if I use it on the same PC where it was compiled, but if you copy the "build" folder to another PC and configure the file paths, the report does not open again and the program is closed!
 

powerino

Active Member
Licensed User
Hi Erel, the program works if I use it on the same PC where it was compiled, but if you copy the "build" folder to another PC and configure the file paths, the report does not open again and the program is closed!
Hi, I understood the problem, the LOGO I use in the report looks for it in the folder of the source PC ... I tried to recreate the same path on the new PC, and it worked. So I have to fix the software and give it all the files it needs. Sorry and thanks again
 
Top