import org.eclipse.swt.widgets.Display;
import org.springframework.core.io.Resource;
+import eu.etaxonomy.cdm.api.application.CdmApplicationDefaultController;
import eu.etaxonomy.cdm.api.application.ICdmApplicationConfiguration;
import eu.etaxonomy.cdm.database.DatabaseTypeEnum;
import eu.etaxonomy.cdm.database.DbSchemaValidation;
// This is where we instantiate the application controller
try {
//FIXME:Remoting change this to toggle remoting
- //applicationController = CdmApplicationDefaultController.NewInstance();
- applicationController = CdmApplicationRemoteController.NewInstance();
+ applicationController =
+ CdmApplicationDefaultController.NewInstance(applicationContextBean,
+ dataSource,
+ dbSchemaValidation,
+ false,
+ subprogressMonitor);
+ //applicationController = CdmApplicationRemoteController.NewInstance();
} catch (Exception e) {
if(! causeIsCancelationExceptionRecursive(e)){
return new Status(IStatus.ERROR, "Could not connect to CDM Store", "An error occurred while trying to connect to datasource: " + dataSource.getName(), e);