Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
I have requirement where the application provides the user the fecility of downloading an xml file in the format of ".tar.gz" format. This should be done such a way that the xml being downloaded should be placed in a temporary dierectory and then this direcoty should be added to the ".tar.gz" file. Once the file is created, the temporary directory should be deleted. I have tried using "org.apache.commons.io.FileUtils.deleteDirectory()" and also File - "delete()" method. But the problem I am encountering here is that once the folder is created and archive is also flushed through the output stream the folder is not getting deleted.
here is the peice of code that i have written for the above.
And is it possible to create the tar.gz file without having to create a physical directories?
Dilip H P
Come have lunch with me Arthur. Adventure will follow. This tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss