From a331e649caaa8a1d428cc5614ad706ba1ea59c2c Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Wed, 6 Feb 2013 21:21:50 +0000 Subject: [PATCH] be consistent for index repository created with a relative path with default ones git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443219 13f79535-47bb-0310-9956-ffa450edef68 --- .../repository/managed/DefaultManagedRepositoryAdmin.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java index ce884bfc1..c562e3022 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java @@ -589,9 +589,9 @@ public class DefaultManagedRepositoryAdmin if ( !repositoryDirectory.isAbsolute() ) { - repositoryDirectory = - new File( getRegistry().getString( "appserver.base" ) + File.separatorChar + "repositories", - repository.getLocation() ); + repositoryDirectory = new File( + getRegistry().getString( "appserver.base" ) + File.separatorChar + "data" + File.separatorChar + + "repositories", repository.getLocation() ); } if ( !repositoryDirectory.exists() )