]> source.dussan.org Git - archiva.git/commitdiff
[MRM-336]: Repository Admin - "Index Repository" appears to not do anything.
authorJoakim Erdfelt <joakime@apache.org>
Wed, 16 May 2007 02:01:24 +0000 (02:01 +0000)
committerJoakim Erdfelt <joakime@apache.org>
Wed, 16 May 2007 02:01:24 +0000 (02:01 +0000)
"Get your filthy hands off my you damned dirty NPEs!"

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@538405 13f79535-47bb-0310-9956-ffa450edef68

archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/RepositoryServlet.java

index 851c02f4c825bf6ea3a81041776a233e38bb5ad9..0a0b316d7cc3df3b4bdce26ccacc89da0e20e2ef 100644 (file)
@@ -99,10 +99,10 @@ public class RepositoryServlet
         httpAuth = (HttpAuthenticator) lookup( HttpAuthenticator.ROLE, "basic" );
         audit = (AuditLog) lookup( AuditLog.ROLE );
 
-        updateRepositoryMap();
-
         configuration = (ArchivaConfiguration) lookup( ArchivaConfiguration.class.getName() );
         configuration.addChangeListener( this );
+        
+        updateRepositoryMap();
     }
 
     public void initServers( ServletConfig servletConfig )