Solved

jrxml and jasper

Posted on 2010-08-23
6
1,160 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Create workstation base image 4 58
jsp insert to database example 2 47
Eclipse Java import and method not resolved 4 52
best imaging disk tool 15 45
If your app took Google’s lash recently, here are the 5 most likely reasons.
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
This video demonstrates how to use each tool, their shortcuts, where and when to use them, and how to use the keyboard to improve workflow.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

820 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