]> source.dussan.org Git - archiva.git/commitdiff
fix junit as now non absolute path is replace with appserver.base as parent
authorOlivier Lamy <olamy@apache.org>
Mon, 2 Apr 2012 21:02:43 +0000 (21:02 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 2 Apr 2012 21:02:43 +0000 (21:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308563 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutorTest.java

index aff511520f2bc553dff24f4e972479e0fd59acbb..f684abf15d1718d08bfc8e14fef9c9986e84d0a7 100644 (file)
@@ -88,7 +88,8 @@ public class ArchivaIndexingTaskExecutorTest
 
         repositoryConfig = new ManagedRepository();
         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.setName( "Test Repository" );
         repositoryConfig.setScanned( true );