Revision 64bda004
Added by Andreas Müller over 12 years ago
app-import/src/main/java/eu/etaxonomy/cdm/app/eflora/FloraMalesianaVol13Activator.java | ||
---|---|---|
49 | 49 |
static DbSchemaValidation hbm2dll = DbSchemaValidation.CREATE; |
50 | 50 |
static final URI fmSource13_small = EfloraSources.fm_13_small_families(); |
51 | 51 |
static final URI fmSource13_large = EfloraSources.fm_13_large_families(); |
52 |
static final URI fmSource12 = EfloraSources.fm_12(); |
|
53 |
static final URI fmSource2_2 = EfloraSources.fm_2_2(); |
|
54 |
|
|
52 | 55 |
|
53 | 56 |
|
54 | 57 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_andreasM3(); |
... | ... | |
58 | 61 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql(); |
59 | 62 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_test(); |
60 | 63 |
|
61 |
private boolean includeVol13_small = true; |
|
62 |
private boolean includeVol13_large = true; |
|
64 |
private boolean includeVol13_small = false; |
|
65 |
private boolean includeVol13_large = false; |
|
66 |
private boolean includeVol12 = true; |
|
67 |
private boolean includeVol2_2 = true; |
|
63 | 68 |
|
64 | 69 |
private boolean h2ForCheck = true; |
65 | 70 |
|
... | ... | |
125 | 130 |
System.out.println("End import from ("+ fmSource13_small.toString() + ")..."); |
126 | 131 |
} |
127 | 132 |
|
133 |
//Vol12 |
|
134 |
if (includeVol12){ |
|
135 |
source = fmSource12; |
|
136 |
System.out.println("\nStart import from ("+ source.toString() + ") ..."); |
|
137 |
markupConfig.setSource(source); |
|
138 |
myImport.invoke(markupConfig); |
|
139 |
System.out.println("End import from ("+ source.toString() + ")..."); |
|
140 |
} |
|
141 |
//Vol_2_2 |
|
142 |
if (includeVol2_2){ |
|
143 |
source = fmSource2_2; |
|
144 |
System.out.println("\nStart import from ("+ source.toString() + ") ..."); |
|
145 |
markupConfig.setSource(source); |
|
146 |
myImport.invoke(markupConfig); |
|
147 |
System.out.println("End import from ("+ source.toString() + ")..."); |
|
148 |
} |
|
149 |
|
|
128 | 150 |
|
129 | 151 |
// makeGeoService(); |
130 | 152 |
|
Also available in: Unified diff
new eFlora sources