IDictionary dict;
if (url.getProtocol().equalsIgnoreCase("jar")) {
throw new EventGenerationException(
"DefinitionsEventDriver is current not able to run using the jar. Please use ant with the source distrodution.");
} else {
dict = new Dictionary(url);
}
try {
dict.open();
} catch (Exception e) {
logger.error("Could not open WordNet Dictionary " + url, e);