]> source.dussan.org Git - archiva.git/commitdiff
use value from registry
authorOlivier Lamy <olamy@apache.org>
Thu, 7 Feb 2013 22:21:10 +0000 (22:21 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 7 Feb 2013 22:21:10 +0000 (22:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443755 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/remote/DefaultRemoteRepositoryAdmin.java

index 086f80279e28426df5752b0bd3a09b421f16f75c..058670bcdc933f086e7a6dc69f7c3c7fff00073d 100644 (file)
@@ -261,8 +261,7 @@ public class DefaultRemoteRepositoryAdmin
     {
         try
         {
-            // FIXME get this from ArchivaAdministration
-            String appServerBase = System.getProperty( "appserver.base" );
+            String appServerBase = getRegistry().getString( "appserver.base" );
 
             String contextKey = "remote-" + remoteRepository.getId();
             IndexingContext indexingContext = indexer.getIndexingContexts().get( contextKey );