Ant task: support 'failOnError' attribute in kotlinc and withKotlin

This commit is contained in:
Alexander Udalov
2015-06-02 17:17:59 +03:00
parent 6d00c265e2
commit 0ad6dce7ce
8 changed files with 72 additions and 9 deletions
@@ -0,0 +1,21 @@
OUT:
Buildfile: [TestData]/build.xml
build:
[javac] Compiling 2 source files to [Temp]
[javac] Compiling [[TestData]] => [[Temp]]
[javac] ERROR: [TestData]/incorrectKotlinCode.kt: (4, 1) Parameter name expected
[javac] ERROR: [TestData]/incorrectKotlinCode.kt: (4, 1) Expecting comma or ')'
[javac] ERROR: [TestData]/incorrectKotlinCode.kt: (4, 1) Expecting ')'
[kotlinc] Compiling [[TestData]] => [[Temp]]
[kotlinc] ERROR: [TestData]/incorrectKotlinCode.kt: (4, 1) Parameter name expected
[kotlinc] ERROR: [TestData]/incorrectKotlinCode.kt: (4, 1) Expecting comma or ')'
[kotlinc] ERROR: [TestData]/incorrectKotlinCode.kt: (4, 1) Expecting ')'
BUILD SUCCESSFUL
Total time: [time]
ERR:
[javac] Compile failed; see the compiler error output for details.
Return code: 0