if (mResourceBasePath.getLocation() != null) {
try {
resourceManager.setDataPath(mResourceBasePath.getLocation().toOSString());
} catch (MalformedURLException e) {
// this will not happen
throw new TaeError("Unexpexted exceptioon", e);
}
}
return UIMAFramework.produceAnalysisEngine(mDescriptor, resourceManager, null);
}