2004 IR Help Posted August 23, 2006 Share Posted August 23, 2006 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. Link to comment Share on other sites More sharing options...
fscdave Posted October 31, 2006 Share Posted October 31, 2006 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? Link to comment Share on other sites More sharing options...
teodord Posted November 1, 2006 Share Posted November 1, 2006 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now