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 to doing this in ant:
<delete directory="parent/child/directoryToDelete"/>

You can always bind an execution of antrun and do the delete, but I'd
suggest changing the tests if possible.  Surefire sets some system
properties before running the tests, you can use those (or pass in
your own) in order to get the path you need to create the directory.

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to