I was trying to figure out how to print a 'to many' relationship in 
JasperReports/iReport (still haven't figured it out), and I noticed that at:

/var/folders/2d/c1m5r3_92rj8y6_xt24c7r7r0000gn/T

there were a ton of 'temp' pdfs. So I started digging into how 
ERJRUtilities.java creates the pdf and I see it uses

File destFile = File.createTempFile(compiledReportName + 
System.currentTimeMillis(), ".pdf");

to create the temp file but never releases it with:

destFile.deleteOnExit();

if it does this somewhere else, I cannot find it. 

If anyone has any insight on the 'to-many' problem, I am getting tired of 
rereading the iReport/JasperDataSource documentation.

Ted





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to