Project

General

Profile

« Previous | Next » 

Revision 2f628c0c

Added by Andreas Müller over 4 years ago

cleanup

View differences:

cdm-pesi/src/main/java/eu/etaxonomy/cdm/app/pesi/ErmsImportActivator.java
59 59

  
60 60
// ***************** ALL ************************************************//
61 61

  
62
	static final DO_REFERENCES doReferences = DO_REFERENCES.NONE;
62
	static final DO_REFERENCES doReferences = DO_REFERENCES.ALL;
63 63
	static final boolean doTaxa = true;
64 64
	static final boolean doRelTaxa = doTaxa; //should always run with doTaxa because dependent on state from doTaxa
65 65
	static final boolean doSourceUse = true;
......
84 84
	private static DbSchemaValidation hbm2dll = (doReferences ==  DO_REFERENCES.ALL)? DbSchemaValidation.CREATE:DbSchemaValidation.VALIDATE;
85 85

  
86 86
	private void doImport(Source source, ICdmDataSource destination, DbSchemaValidation hbm2dll){
87
		System.out.println("Start import from ("+ ermsSource.getDatabase() + ") to " + cdmDestination.getDatabase() + " ..." );
87
		System.out.println("Start import from ("+ ermsSource.getDatabase() + ") to " + destination.getDatabase() + " ..." );
88 88

  
89 89
		//make ERMS Source
90 90

  
......
126 126
//			app = ermsImport.getCdmAppController();
127 127
//			app.getFeatureTreeService().saveOrUpdate(tree);
128 128
		}
129
		System.out.println("End import from ("+ source.getDatabase() + ") to "+cdmDestination.getDatabase() + "...");
129
		System.out.println("End import from ("+ source.getDatabase() + ") to " + destination.getDatabase() + "...");
130 130
	}
131 131

  
132 132
	public static void main(String[] args) {

Also available in: Unified diff