Revision 476884f2
Added by Andreas Kohlbecker about 6 years ago
cdmlib-test/src/main/java/eu/etaxonomy/cdm/database/DataBaseTablePrinter.java | ||
---|---|---|
422 | 422 |
logger.warn("Writing new DbUnit dataset file to " + file.getAbsolutePath()); |
423 | 423 |
} |
424 | 424 |
|
425 |
if(!file.getParentFile().exists()){ |
|
426 |
logger.info("Creating parent directories"); |
|
427 |
file.getParentFile().mkdirs(); |
|
428 |
} |
|
429 |
|
|
425 | 430 |
printDataSetWithNull( |
426 | 431 |
new FileOutputStream(file), |
427 | 432 |
false, |
Also available in: Unified diff
creating parent directories if missing