Jump to content
We've recently updated our Privacy Statement, available here ×

Subreport update don't appear in main report


fbolas

Recommended Posts

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

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

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

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

  • 4 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...