fix junit as now non absolute path is replace with appserver.base as parent

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308563 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-04-02 21:02:43 +00:00
parent 741723f05a
commit d16e1fdf91
1 changed files with 2 additions and 1 deletions

View File

@ -88,7 +88,8 @@ public class ArchivaIndexingTaskExecutorTest
repositoryConfig = new ManagedRepository(); repositoryConfig = new ManagedRepository();
repositoryConfig.setId( "test-repo" ); repositoryConfig.setId( "test-repo" );
repositoryConfig.setLocation( "target/test-classes/test-repo" ); repositoryConfig.setLocation(
new File( System.getProperty( "basedir" ), "target/test-classes/test-repo" ).getAbsolutePath() );
repositoryConfig.setLayout( "default" ); repositoryConfig.setLayout( "default" );
repositoryConfig.setName( "Test Repository" ); repositoryConfig.setName( "Test Repository" );
repositoryConfig.setScanned( true ); repositoryConfig.setScanned( true );