diff options
Diffstat (limited to 'src/partest')
-rw-r--r-- | src/partest/scala/tools/partest/ant/JavaTask.scala | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/partest/scala/tools/partest/ant/JavaTask.scala b/src/partest/scala/tools/partest/ant/JavaTask.scala index 37e08fee1b..0bebf91368 100644 --- a/src/partest/scala/tools/partest/ant/JavaTask.scala +++ b/src/partest/scala/tools/partest/ant/JavaTask.scala @@ -36,17 +36,20 @@ class JavaTask extends Java { def setDefaults() { setFork(true) + setFailonerror(true) getProject.setSystemProperties() setClassname(scalaRunnerClass) - // setDir(Path(rootDir).jfile) - // addSyspropertyset(partestPropSet) addSysproperty(newKeyValue("partest.is-in-ant", "true")) jvmline(partestJVMArgs) runnerArgs foreach addArg + + // do we want basedir or rootDir to be the cwd? + // setDir(Path(rootDir).jfile) } - override def execute() { + override def init() = { + super.init() setDefaults() - super.execute() } } + |