an other try to prevent windauze file leak, I hope the last one :-)

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1204957 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-11-22 12:40:42 +00:00
parent 5f6f2e9833
commit b137e9a99c
1 changed files with 2 additions and 1 deletions

View File

@ -187,8 +187,9 @@ public abstract class AbstractRepositoryPurgeTest
} }
protected String prepareTestRepos() protected String prepareTestRepos()
throws IOException throws Exception
{ {
removeMavenIndexes();
File testDir = getTestRepoRoot(); File testDir = getTestRepoRoot();
FileUtils.deleteDirectory( testDir ); FileUtils.deleteDirectory( testDir );
FileUtils.copyDirectory( new File( "target/test-classes/" + TEST_REPO_ID ), testDir ); FileUtils.copyDirectory( new File( "target/test-classes/" + TEST_REPO_ID ), testDir );