Search code examples
javapentahopentaho-report-designer

Generate pentaho report designer prpt file using java


How can I generate Pentaho Report Designer's saved .prpt file using java, without Report Designer itself? Are there any libraries for that?

I need to generate those files programmatically, then, later, open them using Report Designer and fix some values.


Solution

  • After searches I couldn't find some special library to generate prpt file. So I found another way. The solution is to generate all necessary files & folders inside prpt file by yourself (programmatically, or by hand), and then zip them without compression. Then you can just rename extension from zip to prpt This prpt file can be opened and modified using Pentaho Report Designer.