Project

General

Profile

« Previous | Next » 

Revision b920f5c2

Added by Andreas Müller over 3 years ago

cleanup

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/app/wp6/cichorieae/CichorieaeCommonNameActivator.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.wp6.cichorieae;
11 10

  
12 11
import java.io.File;
......
21 20
import eu.etaxonomy.cdm.io.common.ImportResult;
22 21
import eu.etaxonomy.cdm.io.wp6.CommonNameImportConfigurator;
23 22

  
24

  
25 23
/**
26 24
 * TODO add the following to a wiki page:
27 25
 * HINT: If you are about to import into a mysql data base running under windows and if you wish to dump and restore the resulting data bas under another operation systen
28 26
 * you must set the mysql system variable lower_case_table_names = 0 in order to create data base with table compatible names.
29 27
 *
30
 *
31 28
 * @author a.mueller
32
 *
33 29
 */
34 30
public class CichorieaeCommonNameActivator {
35 31
	private static final Logger logger = Logger.getLogger(CichorieaeCommonNameActivator.class);
......
64 60
		return success;
65 61
	}
66 62

  
67
	/**
68
	 * @param args
69
	 */
70 63
	public static void main(String[] args) {
71 64
		ICdmDataSource destination = CdmDestinations.chooseDestination(args) != null ? CdmDestinations.chooseDestination(args) : cdmDestination;
72 65

  
73 66
		System.out.println("Start updating caches for "+ destination.getDatabase() + "...");
74 67
		CichorieaeCommonNameActivator me = new CichorieaeCommonNameActivator();
75 68
		me.doInvoke(destination);
76

  
77 69
	}
78

  
79
}
70
}

Also available in: Unified diff