Revision cf29bfc1
Added by Andreas Müller almost 2 years ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/config/CdmPersistentSourceUtils.java | ||
---|---|---|
22 | 22 |
import org.jdom.Document; |
23 | 23 |
import org.jdom.Element; |
24 | 24 |
|
25 |
import eu.etaxonomy.cdm.api.application.CdmApplicationUtils; |
|
26 | 25 |
import eu.etaxonomy.cdm.common.XmlHelp; |
26 |
import eu.etaxonomy.cdm.persistence.utils.CdmPersistenceUtils; |
|
27 | 27 |
|
28 | 28 |
/** |
29 | 29 |
* Utility class which manages the persistent source settings |
... | ... | |
40 | 40 |
*/ |
41 | 41 |
public static String getResourceDirectory(){ |
42 | 42 |
try { |
43 |
File f = CdmApplicationUtils.getWritableResourceDir();
|
|
43 |
File f = CdmPersistenceUtils.getWritableResourceDir();
|
|
44 | 44 |
return f.getPath(); |
45 | 45 |
} catch (IOException e) { |
46 | 46 |
logger.error(e); |
Also available in: Unified diff
move CdmApplicationUtils to real persistence package to avoid multiple scanning with service layer