\r
import org.apache.log4j.Logger;\r
\r
-import eu.etaxonomy.cdm.app.common.BerlinModelSources;\r
+import eu.etaxonomy.cdm.app.berlinModelImport.BerlinModelSources;\r
import eu.etaxonomy.cdm.app.common.CdmDestinations;\r
import eu.etaxonomy.cdm.database.DatabaseTypeEnum;\r
import eu.etaxonomy.cdm.database.DbSchemaValidation;\r
//editor - import\r
static final EDITOR editor = EDITOR.EDITOR_AS_EDITOR;\r
\r
- //NomeclaturalCode\r
- static final NomenclaturalCode nomenclaturalCode = NomenclaturalCode.ICBN;\r
+ //NomenclaturalCode\r
+ static final NomenclaturalCode nomenclaturalCode = NomenclaturalCode.ICNAFP;\r
\r
//ignore null\r
static final boolean ignoreNull = true;\r
BerlinModelImportConfigurator config = BerlinModelImportConfigurator.NewInstance(source, destination);\r
\r
try {\r
- Method makeUrlMethod = MclActivator.class.getDeclaredMethod("makeUrlForTaxon", TaxonBase.class, ResultSet.class);\r
+ Method makeUrlMethod = this.getClass().getDeclaredMethod("makeUrlForTaxon", TaxonBase.class, ResultSet.class);\r
config.setMakeUrlForTaxon(makeUrlMethod);\r
} catch (Exception e) {\r
e.printStackTrace();\r