Revision b920f5c2
Added by Andreas Müller over 3 years ago
app-import/src/main/java/eu/etaxonomy/cdm/app/abcdImport/SynthesysCacheActivator.java | ||
---|---|---|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
9 |
|
|
10 | 9 |
package eu.etaxonomy.cdm.app.abcdImport; |
11 | 10 |
|
12 | 11 |
import java.io.File; |
... | ... | |
22 | 21 |
import eu.etaxonomy.cdm.io.common.IImportConfigurator.CHECK; |
23 | 22 |
import eu.etaxonomy.cdm.io.specimen.excel.in.SpecimenSynthesysExcelImportConfigurator; |
24 | 23 |
|
25 |
|
|
26 |
|
|
27 |
|
|
28 | 24 |
/** |
29 | 25 |
* @author PK |
30 | 26 |
* @since 19.09.2008 |
31 | 27 |
*/ |
32 | 28 |
public class SynthesysCacheActivator { |
29 |
|
|
33 | 30 |
@SuppressWarnings("unused") |
34 | 31 |
private static Logger logger = Logger.getLogger(SynthesysCacheActivator.class); |
35 | 32 |
|
... | ... | |
38 | 35 |
// final static String xmlSource = "/home/pkelbert/workspace/proibiosphere/cdmlib-io/target/test-classes/eu/etaxonomy/cdm/io/specimen/excel/in/ExcelImportConfiguratorTest-input.xls"; |
39 | 36 |
final static String xmlSource = "/home/pkelbert/Documents/Proibiosphere/ChenopodiumQuentin/GBIF data etc.xls"; |
40 | 37 |
|
41 |
|
|
42 | 38 |
// static final ICdmDataSource cdmDestination = CdmDestinations.mon_cdm(); |
43 | 39 |
// static DbSchemaValidation hbm2dll = DbSchemaValidation.CREATE; |
44 | 40 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_local_proibiosphere_chenopodium(); |
45 | 41 |
static DbSchemaValidation hbm2dll = DbSchemaValidation.VALIDATE; |
46 | 42 |
static final CHECK check = CHECK.IMPORT_WITHOUT_CHECK; |
47 | 43 |
|
48 |
/** |
|
49 |
* @param args |
|
50 |
*/ |
|
51 | 44 |
public static void main(String[] args) { |
52 | 45 |
URI source; |
53 | 46 |
try { |
... | ... | |
82 | 75 |
e.printStackTrace(); |
83 | 76 |
} |
84 | 77 |
} |
85 |
} |
|
78 |
} |
Also available in: Unified diff
cleanup