fbolas Posted June 1, 2013 Share Posted June 1, 2013 Hello,I'm using ireports 3.7 for the 1st time to change some already bild reports.I made a change on subreport in a text field, and that change didn't appear in main report.My question is after made a change on subreport what is the spets necessary in main report to see that change.Thanks,Francisco Link to comment Share on other sites More sharing options...
ajinkya_c Posted June 2, 2013 Share Posted June 2, 2013 Can you mention the steps to save subreport, there may be missing something. Link to comment Share on other sites More sharing options...
Thomas Zimmer Posted June 2, 2013 Share Posted June 2, 2013 you will have to compile (or preview) the subreport before re-running the main report. Ireport will not recognize changes in subreports, if it finds them already compiled...Cheers, Thomashttp://www.thomaszimmer.net Link to comment Share on other sites More sharing options...
fbolas Posted June 3, 2013 Author Share Posted June 3, 2013 Hello, I solved my question with following solution: - Delete jasper file - Complie subreport (to compile the subreport I've to add some jars at classpath because the subreport use barcode) - Copy jasper and jrxml to the server Thanks, Francisco Link to comment Share on other sites More sharing options...
Thomas Zimmer Posted June 3, 2013 Share Posted June 3, 2013 do not copy .jasper files to the server, it will not use them. a delete of the .jasper file would have had the same effect, because iReport doesn't find the compiled report then, an compiles it again from the jrxml. Jasperserver caches the compiled .jasper files (ivisible to you) and stores the for a re-run. but jasperserver also recognizes changes in the jrxml, so that it recompiles, if the jrxml is change/uploaded. Have fun, Thomas Link to comment Share on other sites More sharing options...
belafkih.hayat Posted October 26, 2017 Share Posted October 26, 2017 I had the same problem, if you see the properties of the subreport, you can note that the last modified date is not updated even if you change it, as thomas said, you should delete the .jasper file of the subreport, after that, compile the main report. it works for me.H. Bellafkih Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now