If you are already using IO to create files, use IO in the @Before method to
use the same IO to DELETE those files.
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233
Website:
http://baselogic.comLinked IN:
http://linkedin.com/in/mickknutsonVacation Rental:
http://tahoe.baselogic.com---
On Tue, Nov 3, 2009 at 12:54 PM, laredotornado <
laredotornado@...>wrote:
>
> Hi,
>
> I'm using Maven 1.1 with Java 1.5 on a Mac 10.5.6. In my test directory, I
> can run "maven test:test" to execute all of my unit tests. I would like
> that when I type this command, the first thing that happens is that all
> files in the current directory matching "*.tmp" get deleted (in case a
> previous test run crashed). How can I customize the "maven test:test"
> command to delete the temporary files before it starts its test run?
>
> Thanks, - Dave
>
> --
> View this message in context:
>
http://old.nabble.com/How-to-get-the-command-%22maven-test%3Atest%22-to-delete-test-files-before-executing--tp26160626p26160626.html> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
users-unsubscribe@...
> For additional commands, e-mail:
users-help@...
>
>