JRFileVirtualizer and temporary files

0
By: John Eric Hamacher - badgerduke JRFileVirtualizer and temporary files 2005-08-22 14:10 Hello: We have implemented JRFileVirtualizer and are wondering: How do you name the temporary files (written to the temporary directory) so that 2 or more users do not collide while filling reports simultaneously? Do you ever have a file called ".dummy"? as a temporoary file? Thanx. By: Zoran Lazarevic - zoranl RE: JRFileVirtualizer and temporary files 2005-08-22 23:28 Maybe you can use java.io.File.createTempFile() method. Look in javadoc for parameters. Hope it helps.
2004 IR Help's picture
Joined: Aug 17 2006 - 3:49am
Last seen: 8 years 2 months ago

2 Answers:

0
I believe that the name of the output class file is derived from the name of the report <jasperReport name="AssetInventoryReport" ... We append a unique jobID to the report name, so the generated java class file has a unique name (AssetInventoryReport5443), and I think the page files from the virtualizer use this name. So can you rename the report before compiling and filling it?
fscdave's picture
Joined: Sep 29 2006 - 12:14am
Last seen: 8 years 1 month ago
0
Hi, I'm not sure everybody is talking about the same thing here. The initial post said something about the virtualizer temp files and then the discussion switched to the temp Java file created when compiling report templates. Either way, I don't understand what the problem is, if ever. Thank you, Teodor
teodord's picture
2885
Joined: Jun 30 2006 - 9:00am
Last seen: 1 month 3 weeks ago
Feedback
randomness