aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-scheduler
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-04-02 21:02:43 +0000
committerOlivier Lamy <olamy@apache.org>2012-04-02 21:02:43 +0000
commitd16e1fdf91ccd500666157826fc27247c7beb5b1 (patch)
treee3178be671b75116e04dbfdc276ab49b42b37a17 /archiva-modules/archiva-scheduler
parent741723f05a62a987d51b97e58b63ef8c71902124 (diff)
downloadarchiva-d16e1fdf91ccd500666157826fc27247c7beb5b1.tar.gz
archiva-d16e1fdf91ccd500666157826fc27247c7beb5b1.zip
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
Diffstat (limited to 'archiva-modules/archiva-scheduler')
-rw-r--r--archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutorTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutorTest.java b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutorTest.java
index aff511520..f684abf15 100644
--- a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutorTest.java
+++ b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutorTest.java
@@ -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 );