jrxml and jasper

i have changed my jrxml but the output does not reflect that...
Is there any cache or garbage associated with it which i need to explicitly delete?
pvinodpAsked:
Who is Participating?
 
ValeriConnect With a Mentor Commented:
You have to recompile it, as I remember
0
 
pvinodpAuthor Commented:
is there a explicit way to recompile jrxml  files???
0
 
a_bCommented:
I use the iReport Jasper software. You can download it at - http://jasperforge.org/projects/ireport
Open the jrxml file and click on Build-> Compile from the menu on top.
Also, try deleting the .jasper file before compiling.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
ValeriConnect With a Mentor Commented:
Remove .jasper file. Also you can take a look at this article :
http://ireport.sourceforge.net/tutorial1.html
0
 
ValeriConnect With a Mentor Commented:
This is the explicit way :
JasperCompileManager.compileReportToFile("./someFileName.jrxml","./someFileName.jasper");
0
 
pvinodpAuthor Commented:
so first delete the old version
compile it with JasperCompileManager.compileReportToFile()
u dont hv to hv a instance of the class as the function is a statis one...
just call as given in the comment by valeri
0
All Courses

From novice to tech pro — start learning today.