Revision 2b7a0e65
Added by Andreas Müller almost 2 years ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/config/CdmPersistentSourceUtils.java | ||
---|---|---|
17 | 17 |
import java.io.FileOutputStream; |
18 | 18 |
import java.io.IOException; |
19 | 19 |
|
20 |
import org.apache.logging.log4j.LogManager;import org.apache.logging.log4j.Logger; |
|
20 |
import org.apache.logging.log4j.LogManager; |
|
21 |
import org.apache.logging.log4j.Logger; |
|
21 | 22 |
import org.jdom.Document; |
22 | 23 |
import org.jdom.Element; |
23 | 24 |
|
... | ... | |
29 | 30 |
* in the datasource datasource config |
30 | 31 |
* |
31 | 32 |
* @author cmathew |
32 |
* |
|
33 | 33 |
*/ |
34 | 34 |
public class CdmPersistentSourceUtils { |
35 |
|
|
35 | 36 |
private static final Logger logger = LogManager.getLogger(CdmPersistentSourceUtils.class); |
36 | 37 |
|
37 | 38 |
/** |
38 | 39 |
* Returns the directory containing the datasource config file |
39 |
* @return |
|
40 | 40 |
*/ |
41 | 41 |
public static String getResourceDirectory(){ |
42 | 42 |
try { |
Also available in: Unified diff
cleanup