This repository was archived by the owner on Sep 8, 2022. It is now read-only.
Commit 9f4e708
committed
Make ant a provided dependency
Ant is only needed to compile the Partest ant task. At runtime, the
task is run by the Ant runner, so ant.jar and friends are already
provided.
In the scala build, this removes ant from the compile classpath of
partest-extras, and from the runtime classpath of test.junit and the
`test/partest` script. Nothing in partest other than the task depends
on Ant, so there is no need to explicitly provide ant anywhere. Both
`ant test.run` and `test/partest` should work fine with this change.
The motivation for this is to prevent ant from appearing several time on
the classpath, see [1].
[1]: https://groups.google.com/d/topic/scala-internals/EuMX5xu347o/discussion1 parent 95db2b1 commit 9f4e708
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments