File.deleteOnExit(), suggested by Henri Sara, may solve problem.
---
RE: Addon: Export Table to Excel
1/12/12 3:14 AM as a reply to Jonathan Nash.
Reply
Reply with Quote
Quick Reply
Hello!
I use TableExport-1.2.9 add-on. It leaves many temporary files(tmp*.xls) in
server directory. How can I avoid that?
Servers are WebSphere 6 and 7 at z/OS, and Apache Tomcat at Windows.
Henri Sara:
Anyway, although I have never used this add-on, it at least makes an effort to
clean up temporary files when streams are closed. I don't know if it calls
File.deleteOnExit() on the temporary files or not, that would provide another
layer of safety nets. Do you see many temporary files left there in normal use,
or only when stopping the server forcefully while debugging etc?
I see many temporary files left there in normal use.
Original issue reported on code.google.com by jnas...@gmail.com on 17 Mar 2012 at 9:12
Original issue reported on code.google.com by
jnas...@gmail.com
on 17 Mar 2012 at 9:12