&& DEFAULT_DATASOURCE_FROM.equalsIgnoreCase(dataSourceFrom) == false) {
props = ResourceHelper.loadPropertiesFrom(dataSourceFrom);
}
String typeProperty = ConfigurationHelper.getString(props,
getMergeKey(dataSourceName, PROPKEY_DATABASE_TYPE));
DataSourceType dataSourceType = DataSourceType.databaseType(typeProperty);
enviroment = newInstance(dataSourceType, dataSourceName, dataSourceFrom);
environments.put(dataSourceName + "=" + dataSourceFrom, enviroment);