Project

General

Profile

« Previous | Next » 

Revision 8804a550

Added by Andreas Müller over 4 years ago

ref #1444 update pesi/erms sources and destinations

View differences:

cdm-pesi/src/main/java/eu/etaxonomy/cdm/app/pesi/PesiExportActivatorERMS.java
25 25
 * @author a.mueller
26 26
 * @author e.-m.lee
27 27
 * @since 16.02.2010
28
 *
29 28
 */
30 29
public class PesiExportActivatorERMS {
31 30
	@SuppressWarnings("unused")
32 31
	private static final Logger logger = Logger.getLogger(PesiExportActivatorERMS.class);
33 32

  
34
	static final ICdmDataSource cdmSource = CdmDestinations.cdm_test_local_mysql_erms();
33
//	static final ICdmDataSource cdmSource = CdmDestinations.cdm_test_local_mysql_erms();
34
    static final ICdmDataSource cdmSource = CdmDestinations.cdm_test_local_mysql_erms2();
35 35

  
36 36
	//database validation status (create, update, validate ...)
37 37
	static final Source pesiDestination = PesiDestinations.pesi_test_local_CDM_ERMS2PESI();
......
131 131
		return result;
132 132
	}
133 133

  
134
	/**
135
	 * @param args
136
	 */
137 134
	public static void main(String[] args) {
138 135
		PesiExportActivatorERMS ex = new PesiExportActivatorERMS();
139 136
		ICdmDataSource source = CdmDestinations.chooseDestination(args) != null ? CdmDestinations.chooseDestination(args) : cdmSource;
140 137

  
141 138
		ex.doExport(source);
139
		System.exit(0);
142 140
	}
143

  
144 141
}

Also available in: Unified diff