/Users/aleksandar/workspaces/scala/scala/build.xml:1689:
java.lang.RuntimeException: No code.jar found in
/Users/aleksandar/workspaces/scala/scala/test/files/codelib
at scala.sys.package$.error(package.scala:27)
at
scala.tools.partest.nest.PathSettings$$anonfun$srcCodeLib$1.apply(PathSettings.scala:47)
at
scala.tools.partest.nest.PathSettings$$anonfun$srcCodeLib$1.apply(PathSettings.scala:47)
at scala.Option.getOrElse(Option.scala:106)
at
scala.tools.partest.nest.PathSettings$.srcCodeLib(PathSettings.scala:46)
at scala.tools.partest.PartestTask.execute(PartestTask.scala:316)
--
Aleksandar Prokopec,
Doctoral Assistant
LAMP, IC, EPFL
http://people.epfl.ch/aleksandar.prokopec
ant test
Cheers,
Alex
hubert
./pull-binary-libs.sh
solves the problem.
Thanks,
Alex
At one point in time ant called pull-binary-libs.sh in init. Did that go away and I missed it?
That commit exists because it had been the case that pull-binary-libs
would be run by ant if you had no starr at all, but not if your
desired shas had been updated and you had a dated starr. But the
logic I added only checks for the compiler.jar being out of date, and
you can see from my build.xml comment why.
I don't remember if there's some reason it doesn't just run
pull-binary-libs blindly on every run, but if we're going to do that
the script probably has to be hardened so it doesn't e.g. fail or take
a long time when there's no network available.
I just submitted a pull request that makes ant run the script anytime a
jar is out-of-date with respect to the modification time of the
desired.sha1 file.