Revision c59ecc4a
Added by Andreas Müller almost 13 years ago
app-import/src/main/java/eu/etaxonomy/cdm/app/excelImport/taxa/UseSummaryActivator.java | ||
---|---|---|
45 | 45 |
File file = new File(fileName); |
46 | 46 |
uri = file.toURI(); |
47 | 47 |
// uri = new URI(fileName); |
48 |
NormalExplicitImportConfigurator normalExplicitImportConfigurator =
|
|
48 |
NormalExplicitImportConfigurator config =
|
|
49 | 49 |
NormalExplicitImportConfigurator.NewInstance(uri, destinationDb, code, dbSchemaValidation); |
50 | 50 |
|
51 |
config.setSourceReferenceTitle("Use Summary Excel Import"); |
|
52 |
|
|
51 | 53 |
CdmDefaultImport<NormalExplicitImportConfigurator> normalExplicitImport = |
52 | 54 |
new CdmDefaultImport<NormalExplicitImportConfigurator>(); |
53 | 55 |
|
54 | 56 |
// invoke import |
55 | 57 |
logger.debug("Invoking Normal Explicit Excel import"); |
56 |
normalExplicitImport.invoke(normalExplicitImportConfigurator);
|
|
58 |
normalExplicitImport.invoke(config);
|
|
57 | 59 |
// } catch (URISyntaxException e) { |
58 | 60 |
// e.printStackTrace(); |
59 | 61 |
// } |
Also available in: Unified diff
last updates for Taxon Excel Import and moving all success variables to state