Revision 5030
Added by daigle over 14 years ago
ConfigurationUtil.java | ||
---|---|---|
29 | 29 |
import org.apache.log4j.Logger; |
30 | 30 |
|
31 | 31 |
import edu.ucsb.nceas.dbadapter.AbstractDatabase; |
32 |
import edu.ucsb.nceas.metacat.service.PropertyService; |
|
32 |
import edu.ucsb.nceas.metacat.properties.PropertyService; |
|
33 |
import edu.ucsb.nceas.metacat.properties.SkinPropertyService; |
|
33 | 34 |
import edu.ucsb.nceas.metacat.service.ServiceService; |
34 |
import edu.ucsb.nceas.metacat.service.SkinPropertyService; |
|
35 | 35 |
import edu.ucsb.nceas.metacat.shared.MetacatUtilException; |
36 | 36 |
import edu.ucsb.nceas.metacat.shared.ServiceException; |
37 | 37 |
import edu.ucsb.nceas.utilities.GeneralPropertyException; |
... | ... | |
66 | 66 |
} catch (MetacatUtilException ue) { |
67 | 67 |
logMetacat.error("Could not determine if metacat is configured due to utility exception: " |
68 | 68 |
+ ue.getMessage()); |
69 |
} catch (PropertyNotFoundException pnfe) {
|
|
69 |
} catch (GeneralPropertyException gpe) {
|
|
70 | 70 |
logMetacat.error("Could not determine if metacat is configured due to property exception: " |
71 |
+ pnfe.getMessage());
|
|
71 |
+ gpe.getMessage());
|
|
72 | 72 |
} |
73 | 73 |
|
74 | 74 |
return metacatConfigured; |
Also available in: Unified diff
Change location of PropertyService to properties directory