From da11b990f0574cd8e3c47a60fc87dd0e8148bacb Mon Sep 17 00:00:00 2001 From: Evgeny Goldin Date: Thu, 8 Mar 2012 16:38:40 +0100 Subject: [PATCH] Build tools compilation error - absolute path is logged. --- .../org/jetbrains/jet/buildtools/core/BytecodeCompiler.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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()); }