Solved

jrxml and jasper

Posted on 2010-08-23
6
1,182 Views
Last Modified: 2013-12-17
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?
0
Comment
Question by:pvinodp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 16

Accepted Solution

by:
Valeri earned 500 total points
ID: 33499773
You have to recompile it, as I remember
0
 

Author Comment

by:pvinodp
ID: 33499846
is there a explicit way to recompile jrxml  files???
0
 
LVL 20

Expert Comment

by:a_b
ID: 33499935
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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
LVL 16

Assisted Solution

by:Valeri
Valeri earned 500 total points
ID: 33499941
Remove .jasper file. Also you can take a look at this article :
http://ireport.sourceforge.net/tutorial1.html
0
 
LVL 16

Assisted Solution

by:Valeri
Valeri earned 500 total points
ID: 33500090
This is the explicit way :
JasperCompileManager.compileReportToFile("./someFileName.jrxml","./someFileName.jasper");
0
 

Author Closing Comment

by:pvinodp
ID: 33508963
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

Featured Post

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to increase the row limit in Jasper Server.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question