Did my suggestion of : http://java.sun.com/j2se/1.3/docs/api/java/io/File.html#createTempFile(java.lang.String,%20java.lang.String,%20java.io.File)
Make it to this list? If you could pass a third parameter of './tmp' or './test/tmp' or something, then Gump would automatically clean up. Also, wouldn't this be a nicer place for human users to look? regards, Adam ----- Original Message ----- From: "Rainer Klute" <[EMAIL PROTECTED]> To: "POI Developers List" <[EMAIL PROTECTED]> Sent: Sunday, July 11, 2004 10:22 PM Subject: Re: Getting lots of /tmp/*.xls on Brutus > Am So, den 11.07.2004 schrieb [EMAIL PROTECTED] um 8:23: > > It is deliberately this way. You need to delete the unit tests after > > running the test target. They are left there because how the heck could yo= > > u > > test if the files where valid otherwise? > > You could compare the generated files with files that are known to be > correct and contain the expected result. Such a scenario could be set up > as follows: > > 1. Run the test with a switch "do not compare". > 2. Manually load the generated file into the target application (Word, > Excel etc.) and ensure that it is correct. > 3. Move the generated file to a directory with "should be" files. > 4. Future test runs use the file to compare with the files they generate > themselves and remove the latter if the comparison yielded equality. > > (HPSF does it similarly.) > > > > Maybe we should add a delete /tmp/*.xls to the gump target? I doubt that > > any gump instances have other uses for xls files in the temp directory > > This could be done, too. > > > Best regards > Rainer Klute > > Rainer Klute IT-Consulting GmbH > Dipl.-Inform. > Rainer Klute E-Mail: [EMAIL PROTECTED] > Körner Grund 24 Telefon: +49 172 2324824 > D-44143 Dortmund Telefax: +49 231 5349423 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]