Revision f3715fb4
Added by Patricia Kelbert about 10 years ago
app-import/src/main/java/eu/etaxonomy/cdm/app/proibiosphere/SpecimenImportActivator.java | ||
---|---|---|
30 | 30 |
|
31 | 31 |
//database validation status (create, update, validate ...) |
32 | 32 |
static DbSchemaValidation hbm2dll = DbSchemaValidation.VALIDATE; |
33 |
final static String excelSource = "/home/pkelbert/Documents/Proibiosphere/ChenopodiumQuentin/dca_UK_records.xls";
|
|
34 |
// final static String excelSource = "/home/pkelbert/Documents/Proibiosphere/ChenopodiumQuentin/dca_UK_specimens.xls"; |
|
33 |
final static String excelSource = "/home/pkelbert/Documents/Proibiosphere/ChenopodiumQuentin/dca_UK_records.xls"; |
|
34 |
// final static String excelSource = "/home/pkelbert/Documents/Proibiosphere/ChenopodiumQuentin/dca_UK_specimens.xls";
|
|
35 | 35 |
|
36 | 36 |
// final static String xmlSource = "C:\\localCopy\\eclipse\\cdmlib\\app-import\\src\\main\\resources\\specimenABCD\\CDMtabular9c04a474e2_23_09_08.xls"; |
37 | 37 |
|
38 | 38 |
|
39 | 39 |
|
40 |
static final ICdmDataSource cdmDestination = CdmDestinations.proibiosphere_local(); |
|
40 |
static final ICdmDataSource cdmDestination = CdmDestinations.proibiosphere_chenopodium_local();
|
|
41 | 41 |
//check - import |
42 | 42 |
static final CHECK check = CHECK.IMPORT_WITHOUT_CHECK; |
43 | 43 |
|
... | ... | |
68 | 68 |
// specimenImportConfigurator.setDoCreateIndividualsAssociations(true); |
69 | 69 |
|
70 | 70 |
Reference<?> ref = ReferenceFactory.newBook(); |
71 |
ref.setUuid(UUID.fromString("98b0a618-a95b-464e-943a-25aaaef202f6"));//observations
|
|
72 |
ref.setTitle("Chenopodium vulvaria observations from the British Isles");
|
|
71 |
ref.setUuid(UUID.fromString("98b0a618-a95b-464e-943a-25aaaef202f6"));//observations |
|
72 |
ref.setTitle("Chenopodium vulvaria observations from the British Isles"); |
|
73 | 73 |
// |
74 |
// ref.setUuid(UUID.fromString("5480eed1-1a23-4ce8-ac4d-c2893e178dea"));//specimens |
|
75 |
// ref.setTitle("Chenopodium vulvaria specimens from the British Isles"); |
|
74 |
// ref.setUuid(UUID.fromString("5480eed1-1a23-4ce8-ac4d-c2893e178dea"));//specimens
|
|
75 |
// ref.setTitle("Chenopodium vulvaria specimens from the British Isles");
|
|
76 | 76 |
|
77 | 77 |
specimenImportConfigurator.setDataReference(ref); |
78 | 78 |
specimenImportConfigurator.setSourceReference(null); |
Also available in: Unified diff
reintegrate cdmlib-apps patricia into trunk