]> source.dussan.org Git - archiva.git/commitdiff
fixed repo path shown in log
authorMaria Odea B. Ching <oching@apache.org>
Tue, 28 Jul 2009 08:00:48 +0000 (08:00 +0000)
committerMaria Odea B. Ching <oching@apache.org>
Tue, 28 Jul 2009 08:00:48 +0000 (08:00 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798437 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/scanner/DefaultRepositoryScanner.java

index f5784509c23fd68c35d03bb73bea8fbde40249d2..37ee25220a7b41310741ffca67fb029a4d2610bc 100644 (file)
@@ -73,17 +73,17 @@ public class DefaultRepositoryScanner
         }
 
         File repositoryBase = new File( repository.getLocation() );
-
+        
         if ( !repositoryBase.exists() )
         {
             throw new UnsupportedOperationException( "Unable to scan a repository, directory "
-                + repositoryBase.getAbsolutePath() + " does not exist." );
+                + repositoryBase.getPath() + " does not exist." );
         }
 
         if ( !repositoryBase.isDirectory() )
         {
             throw new UnsupportedOperationException( "Unable to scan a repository, path "
-                + repositoryBase.getAbsolutePath() + " is not a directory." );
+                + repositoryBase.getPath() + " is not a directory." );
         }
 
         // Setup Includes / Excludes.