]> source.dussan.org Git - gitblit.git/commitdiff
Fixed regression in setting up Lucene executor
authorJames Moger <james.moger@gitblit.com>
Tue, 6 Nov 2012 22:15:18 +0000 (17:15 -0500)
committerJames Moger <james.moger@gitblit.com>
Tue, 6 Nov 2012 22:15:18 +0000 (17:15 -0500)
src/com/gitblit/GitBlit.java

index 32f4c474a70d4653d8eac266184b64cbfd4cdcde..b35bf507e6b000bec400d4574e12dea3b9020d85 100644 (file)
@@ -2789,15 +2789,15 @@ public class GitBlit implements ServletContextListener {
        public void configureContext(IStoredSettings settings, boolean startFederation) {\r
                logger.info("Reading configuration from " + settings.toString());\r
                this.settings = settings;\r
-               \r
+\r
+               repositoriesFolder = getRepositoriesFolder();\r
+               logger.info("Git repositories folder " + repositoriesFolder.getAbsolutePath());\r
+\r
                // prepare service executors\r
                mailExecutor = new MailExecutor(settings);\r
                luceneExecutor = new LuceneExecutor(settings, repositoriesFolder);\r
                gcExecutor = new GCExecutor(settings);\r
                \r
-               repositoriesFolder = getRepositoriesFolder();\r
-               logger.info("Git repositories folder " + repositoriesFolder.getAbsolutePath());\r
-\r
                // calculate repository list settings checksum for future config changes\r
                repositoryListSettingsChecksum.set(getRepositoryListSettingsChecksum());\r
 \r