Re: Cleaning a Directory After Tests

2006-07-28 Thread Roland Asmann
Or you could configure an antrun to do the deleting Roland On Friday 28 July 2006 04:12, Ole Ersoy wrote: Actually, I think it's cleaner just to use the apache commons.io library FileUtils.delete(File directory) method in the teardown of the test. Here's the dependency in case

Re: Cleaning a Directory After Tests

2006-07-28 Thread Wendy Smoak
On 7/27/06, Ole Ersoy [EMAIL PROTECTED] wrote: My tests create a directory in the root of the project. Does it have to? If you put it under target then it will naturally get cleaned up with 'mvn clean'. Does anyone know of a plugin that will clean a specified directory? Something similar

Cleaning a Directory After Tests

2006-07-27 Thread Ole Ersoy
Hi, My tests create a directory in the root of the project. Does anyone know of a plugin that will clean a specified directory? Something similar to doing this in ant: delete directory=parent/child/directoryToDelete/ Thanks, - Ole __ Do You

Re: Cleaning a Directory After Tests

2006-07-27 Thread Ole Ersoy
Actually, I think it's cleaner just to use the apache commons.io library FileUtils.delete(File directory) method in the teardown of the test. Here's the dependency in case anyone else wants to do this: dependency groupIdcommons-io/groupId