Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#855 Temporary files created when exporting PDF not removed

found_in_2.0.8
open
nobody
5
2012-07-18
2009-04-10
Vittal Aithal
No

When exporting a PDF, two temporary jpg files are created by ExporterToPDF.java by calls in createGenerateGanttChartJob and createGenerateResourcechartJob. Neither of these files are cleaned up after the export is finished.

What should happen is that the files are manually reaped after the export is completed, or deleteOnExit (http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html#deleteOnExit()) is called on them so the JVM cleans them up when it exits.

Discussion