use of org.eclipse.xtext.resource.ClasspathUriResolutionException in project ow by vtst.
the class LessURIConverter method normalize.
@Override
public URI normalize(URI uri) {
if (ClasspathUriUtil.isClasspathUri(uri)) {
URI result = this.resourceSet.getClasspathUriResolver().resolve(this.resourceSet.getClasspathURIContext(), uri);
if (ClasspathUriUtil.isClasspathUri(result))
throw new ClasspathUriResolutionException(result);
result = super.normalize(result);
return result;
}
return super.normalize(CommonPlugin.resolve(uri));
}
Aggregations