Report raw paths, not URLs, convert when needed
This commit is contained in:
@@ -208,7 +208,7 @@ public class CompilerRunnerUtil {
|
||||
message.setLength(0);
|
||||
|
||||
String rawPath = attributes.getValue("path");
|
||||
path = rawPath == null ? null : "file://" + rawPath;
|
||||
path = rawPath == null ? null : rawPath;
|
||||
line = safeParseInt(attributes.getValue("line"), -1);
|
||||
column = safeParseInt(attributes.getValue("column"), -1);
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ class MessageCollectorAdapter implements MessageCollector {
|
||||
@NotNull CompilerMessageLocation location
|
||||
) {
|
||||
CompilerMessageCategory category = category(severity);
|
||||
compileContext.addMessage(category, message, location.getPath(), location.getLine(), location.getColumn());
|
||||
compileContext.addMessage(category, message, "file://" + location.getPath(), location.getLine(), location.getColumn());
|
||||
if (severity == CompilerMessageSeverity.EXCEPTION) {
|
||||
LOG.error(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user