Revision 565df21b
Added by Andreas Kohlbecker over 7 years ago
app-import/src/main/java/eu/etaxonomy/cdm/app/iapt/IAPTActivator.java | ||
---|---|---|
81 | 81 |
config.setSourceReferenceTitle(sourceReferenceTitle); |
82 | 82 |
config.setSecReference(secRef); |
83 | 83 |
config.setProgressMonitor(DefaultProgressMonitor.NewInstance()); |
84 |
// config.setBatchSize(100); // causes Error during managed flush [Don't change the reference to a collection with delete-orphan enabled : eu.etaxonomy.cdm.model.taxon.TaxonNode.annotations] |
|
84 | 85 |
|
85 | 86 |
CdmDefaultImport<IAPTImportConfigurator> myImport = new CdmDefaultImport<>(); |
86 | 87 |
|
... | ... | |
121 | 122 |
|
122 | 123 |
|
123 | 124 |
public static URI iapt() { |
124 |
File f = new File(System.getProperty("user.home") + "/data/Projekte/Algea Name Registry/registry/sources/IAPT/Registration_DB_from_BGBM17-cleaned-02.xls");
|
|
125 |
File f = new File(System.getProperty("user.home") + "/data/Projekte/Algea Name Registry/registry/sources/IAPT/iapt-100.xls");
|
|
125 | 126 |
return f.toURI(); |
126 | 127 |
} |
127 | 128 |
|
Also available in: Unified diff
ref #6026 first basic import of types