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 anyone else wants to do > this: > > <dependency> > <groupId>commons-io</groupId> > <artifactId>commons-io</artifactId> > <version>1.2</version> > <scope>test</scope> > </dependency> > > > Cheers, > - Ole > > --- Ole Ersoy <[EMAIL PROTECTED]> wrote: > > 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 Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > > protection around > > http://mail.yahoo.com > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > 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]
