summaryrefslogtreecommitdiff
path: root/src/partest
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2011-11-16 20:35:21 +0000
committermichelou <michelou@epfl.ch>2011-11-16 20:35:21 +0000
commit44741eee5336b6d8f195d01cf993debf537124c7 (patch)
tree3044bf16965cbb16837c69a025758cfa93ed2be6 /src/partest
parent3b0fd925a85f2d5cdab7c1467fb60fce287114f3 (diff)
downloadscala-44741eee5336b6d8f195d01cf993debf537124c7.tar.gz
scala-44741eee5336b6d8f195d01cf993debf537124c7.tar.bz2
scala-44741eee5336b6d8f195d01cf993debf537124c7.zip
Updated/fixed the following two Scala Ant tasks:
scalac (ant.Scalac) - added attributes `dependencyfile`, `explaintypes`, `nobootcp`, `nowarn` and `usejavacp` - added support for nested element `compilerarg` (see Ant manual) in order to pass prefix settings (eg. -J-Xbootclasspath, -Ddebug=true) to nsc.CompileClient - updated list of permissible values for compiler phases fsc (ant.FastScalac) - added attributes `ip4` and `maxIdle` in addition to `reset`, `server` and `shutdown` (and forwards them to nsc.CompileClient) - also forwards prefix settings `jvmargs` and `defines`, and boolean settings `explaintypes`, `nospecialization`, `nowarn`, `optimise`, `unchecked` and `usejavacp` to nsc.CompileClient - fixed CompileClient.process if-test Nota Bene I added the following element to partest.PartestTask (commit is pending) in order to automatically test the Scala Ant tasks: <anttests dir="${partest.dir}/${partest.srcdir}/ant" includes="*build.xml"/> Here is the output: [user@localhost scala]$ ant test.ant Buildfile: /home/user/workspace/scala/build.xml [echo] Forking with JVM opts: -Xms1536M [...] init: [echo] Build number is '2.10.0.r26022-b20111116212958' [echo] Built 16 November 2011, 21:29:58 [...] [...] test.ant: [partest] Running ant task tests [partest] testing: [...]/files/ant/fsc-build.xml [ OK ] [partest] testing: [...]/files/ant/scaladoc-build.xml [ OK ] [partest] testing: [...]/files/ant/scalac-build.xml [ OK ] [partest] Test suite finished with no failures. BUILD SUCCESSFUL Total time: 12 seconds
Diffstat (limited to 'src/partest')
0 files changed, 0 insertions, 0 deletions