Revision 5030
Added by daigle over 14 years ago
OaipmhHarvester.java | ||
---|---|---|
68 | 68 |
import edu.ucsb.nceas.metacat.client.MetacatException; |
69 | 69 |
import edu.ucsb.nceas.metacat.client.MetacatFactory; |
70 | 70 |
import edu.ucsb.nceas.metacat.client.MetacatInaccessibleException; |
71 |
import edu.ucsb.nceas.metacat.service.PropertyService;
|
|
71 |
import edu.ucsb.nceas.metacat.properties.PropertyService;
|
|
72 | 72 |
import edu.ucsb.nceas.metacat.shared.ServiceException; |
73 | 73 |
import edu.ucsb.nceas.metacat.util.SystemUtil; |
74 | 74 |
import edu.ucsb.nceas.utilities.PropertyNotFoundException; |
... | ... | |
420 | 420 |
private static void loadProperties(String metacatConfigDir) { |
421 | 421 |
|
422 | 422 |
try { |
423 |
PropertyService.getTestInstance(metacatConfigDir);
|
|
423 |
PropertyService.getInstance(metacatConfigDir); |
|
424 | 424 |
} |
425 | 425 |
catch (ServiceException e) { |
426 | 426 |
logger.error("Error in loading properties: " + e.getMessage()); |
Also available in: Unified diff
Change location of PropertyService to properties directory