Revision 6fbea7b5
Added by Andreas Müller almost 16 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/common/CdmDefaultExport.java | ||
---|---|---|
10 | 10 |
|
11 | 11 |
import eu.etaxonomy.cdm.api.application.CdmApplicationController; |
12 | 12 |
import eu.etaxonomy.cdm.io.jaxb.JaxbExportConfigurator; |
13 |
import eu.etaxonomy.cdm.io.jaxb.JaxbImportConfigurator; |
|
14 |
import eu.etaxonomy.cdm.model.reference.ReferenceBase; |
|
15 | 13 |
|
16 | 14 |
/** |
17 | 15 |
* @author a.babadshanjan |
... | ... | |
89 | 87 |
cdmApp = config.getCdmAppController(true, false); |
90 | 88 |
} |
91 | 89 |
|
92 |
System.out.println("Start Export from Source (" + config.getDestinationNameString()
|
|
93 |
+ ") to CDM (" + cdmApp.getDatabaseService().getUrl() + ") ...");
|
|
94 |
|
|
90 |
System.out.println("Start export from Cdm (" + cdmApp.getDatabaseService().getUrl() +
|
|
91 |
") to Destination (" + config.getDestinationNameString() + ") ...");
|
|
92 |
|
|
95 | 93 |
//do invoke for each class |
96 | 94 |
// TODO: Replace ICdmIoExport by ICdmIO |
97 | 95 |
for (Class<ICdmIoExport> ioClass: config.getIoClassList()){ |
... | ... | |
106 | 104 |
} |
107 | 105 |
|
108 | 106 |
//return |
109 |
System.out.println("End Export from Source ("+ config.getDestinationNameString()
|
|
110 |
+ ") to Cdm (" + cdmApp.getDatabaseService().getUrl() + ") ...");
|
|
107 |
System.out.println("End export from Cdm (" + cdmApp.getDatabaseService().getUrl() +
|
|
108 |
") to Destination (" + config.getDestinationNameString() + ") ...");
|
|
111 | 109 |
return true; |
112 | 110 |
} |
113 | 111 |
|
Also available in: Unified diff
v14 IO changes