diff options
author | Maria Odea B. Ching <oching@apache.org> | 2009-07-28 08:00:48 +0000 |
---|---|---|
committer | Maria Odea B. Ching <oching@apache.org> | 2009-07-28 08:00:48 +0000 |
commit | 95e064f8a82c5b4c763f8e50d7b6e9c205b137d7 (patch) | |
tree | 53fd72e878db3a474942d3a16468cd05be101fee | |
parent | 2de9b3de756081c4a4cd11a7fd79d3bc593356dd (diff) | |
download | archiva-95e064f8a82c5b4c763f8e50d7b6e9c205b137d7.tar.gz archiva-95e064f8a82c5b4c763f8e50d7b6e9c205b137d7.zip |
fixed repo path shown in log
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798437 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/scanner/DefaultRepositoryScanner.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/scanner/DefaultRepositoryScanner.java b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/scanner/DefaultRepositoryScanner.java index f5784509c..37ee25220 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/scanner/DefaultRepositoryScanner.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/scanner/DefaultRepositoryScanner.java @@ -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. |