is it possible to convert .jasper into .jrxml? [duplicate]

瘦欲@ 提交于 2019-12-11 02:46:54

问题


I accidently ended up corrupting my .jrxml file but fortunately before that I had a working .jasper version of the same file. Is there anyway to kind of reverse the .jasper to retrieve my .jrxml? I spent almost whole day today to format my report and all of sudden it's gone. Would really appreciate any ideas.

Edits:

I am using iReport 3.1.1 and I don't see any option of converting to .jrxml when I am opening the .jasper file. Do I need a higher or a different version to be able to do this conversion?


回答1:


Yes you can use the create a.JRXML file using compiled .Jasper file, to generate .JRXML file in iReport open .Jasper file , it automatically generate a .JRXML file for the same .Jasper file and then you can generate report.




回答2:


If you try to open a .jasper file with iReport, it will ask you if you want to convert it into a .jrxml file first. This way the decompilation process will be handled automatically:



来源:https://stackoverflow.com/questions/23666096/is-it-possible-to-convert-jasper-into-jrxml

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!