Solved

jrxml and jasper

Posted on 2010-08-23
6
1,154 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
  • 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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Microsoft  Partnership 1 65
Python Assistance 7 73
object oriented programming comparison 5 54
CPU at 100% usage, why? 27 26
A list of useful business intelligence software.
All of the resources available today make learning a new digital media easier than ever-- if you know where to begin. This is a clear, simple guide to a few of the basic digital art mediums and how to begin learning them on your own.
This video teaches viewers about errors in exception handling.
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now