How do I compile jrxml to get jasper?

后端 未结 11 837
庸人自扰
庸人自扰 2020-11-28 07:52

I have jrxml file, I want to compile this to get .jasper. How do I compile and get that jasper

相关标签:
11条回答
  • 2020-11-28 08:26

    For anyone coming across this question who uses Jaspersoft Studio (which, I think, is replacing iReports; it's quite similar, still freeware, just based on eclipse), look for the "Compile Report" icon on top of the editor area of your .jrxml file. Its icon, first in that line of icons, is a file with binary numbers on it (at least in version 5.6.2):

    Jaspersoft Studio - compile report

    Clicking this icon will generate the .jasper file in the same directory as the .jrxml file.

    0 讨论(0)
  • 2020-11-28 08:31
    1. Open your .jrxml file in iReport Designer.
    2. Open the Report Inspector (Window -> Report Inspector).
    3. Right-click your report name on the top of the inspector and then click "Compile Report".

    You can also Preview your report so it's automatically compiled.

    0 讨论(0)
  • 2020-11-28 08:36

    Using Version 5.1.0:

    Just click preview and it will create a YourReportName.jasper for you in the same working directory.

    0 讨论(0)
  • 2020-11-28 08:38

    I'm using iReport 2.0.2 to generate the jasper file.

    I didn't found the hammer logo, but I have a menu create > compile in the menu bar who create the the jasper file in the iReport program files folder :

    IReport Logs :"Compilation vers le fichier... .\SalesOrderItemsSubreportA4.jasper -> C:\Program Files\JasperSoft\iReport-2.0.2\SalesOrderItemsSubreportA4.java"

    0 讨论(0)
  • 2020-11-28 08:38

    In iReport 5.5.0, just right click the report base hierarchy in Report Inspector Bloc Window viewer, then click Compile Report

    You can now see the result in the console down. If no Errors, you may see something like this.

    0 讨论(0)
提交回复
热议问题