Ignore:
Timestamp:
02/21/13 07:33:35 (11 years ago)
Author:
keeloo
Message:

Instead of retrieving the SolrUrl? from the context of the application, retrieve the location of an external VloConfig? from the context, preferably the file used by the importer. By using the context in this way, the configuration for both the importer and the web application will be one and the same.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-2.13-param/vlo_webapp/src/main/java/eu/clarin/cmdi/vlo/dao/SolrDao.java

    r2597 r2600  
    1313import org.slf4j.LoggerFactory;
    1414
    15 import eu.clarin.cmdi.vlo.Configuration;
    1615import eu.clarin.cmdi.vlo.config.VloConfig;
    1716
     
    2221
    2322    public SolrDao() {
    24         String solrUrl = VloConfig.get().getSolrUrl();
     23        String solrUrl;
     24        solrUrl = VloConfig.get().getSolrUrl();
    2525        try {
    2626            solrServer = new CommonsHttpSolrServer(solrUrl);
Note: See TracChangeset for help on using the changeset viewer.