Revision cf29bfc1
Added by Andreas Müller over 1 year ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/database/LocalH2.java | ||
---|---|---|
25 | 25 |
import org.h2.tools.Server; |
26 | 26 |
import org.springframework.jdbc.CannotGetJdbcConnectionException; |
27 | 27 |
|
28 |
import eu.etaxonomy.cdm.api.application.CdmApplicationUtils;
|
|
28 |
import eu.etaxonomy.cdm.persistence.utils.CdmPersistenceUtils;
|
|
29 | 29 |
|
30 | 30 |
/** |
31 | 31 |
* @author a.mueller |
... | ... | |
166 | 166 |
private static final String getDefaultPath(){ |
167 | 167 |
File path; |
168 | 168 |
try { |
169 |
path = CdmApplicationUtils.getWritableResourceDir();
|
|
169 |
path = CdmPersistenceUtils.getWritableResourceDir();
|
|
170 | 170 |
} catch (IOException e) { |
171 | 171 |
logger.error(e); |
172 | 172 |
throw new RuntimeException(e); |
Also available in: Unified diff
move CdmApplicationUtils to real persistence package to avoid multiple scanning with service layer