Build tools compilation error - absolute path is logged.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user