diff --git a/build-tools/core/src/org/jetbrains/jet/buildtools/core/BytecodeCompiler.java b/build-tools/core/src/org/jetbrains/jet/buildtools/core/BytecodeCompiler.java index 5c9fa6abe5e..5b65690e2a1 100644 --- a/build-tools/core/src/org/jetbrains/jet/buildtools/core/BytecodeCompiler.java +++ b/build-tools/core/src/org/jetbrains/jet/buildtools/core/BytecodeCompiler.java @@ -22,6 +22,7 @@ import org.jetbrains.jet.compiler.CompilerPlugin; import java.util.ArrayList; import java.util.List; +import java.io.File; /** @@ -67,7 +68,8 @@ public class BytecodeCompiler { * @return compilation error message */ private String compilationError ( String source ) { - return String.format( "[%s] compilation failed, see \"ERROR:\" messages above for more details.", source ); + return String.format( "[%s] compilation failed, see \"ERROR:\" messages above for more details.", + new File( source ).getAbsolutePath()); }