问题
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