Help: `ant docs` with 2.11.x branch works for you?

31 views
Skip to first unread message

Janek

unread,
Sep 25, 2015, 4:53:37 PM9/25/15
to scala-internals
Hi,

I might be doing something very wrong here but I am not able to build the ScalaDoc for this PR,


With `$ ant docs` this is the outcome,

BUILD FAILED
/home/jdb/workspaces/public/scala/build.xml:1685: The following error occurred while executing this line:
/home/jdb/workspaces/public/scala/build-ant-macros.xml:406: The following error occurred while executing this line:
/home/jdb/workspaces/public/scala/build-ant-macros.xml:452: java.lang.AbstractMethodError: scala.tools.nsc.settings.MutableSettings
scala$tools$nsc$settings$ScalaSettings$_setter_$completion_$eq(Lscala/tools/nsc/settings/MutableSettings$ChoiceSetting;)V
        at scala.tools.nsc.settings.ScalaSettings$class.$init$(ScalaSettings.scala:178)
        at scala.tools.nsc.settings.MutableSettings.<init>(MutableSettings.scala:20)
        at scala.tools.nsc.Settings.<init>(Settings.scala:12)
        at scala.tools.nsc.doc.Settings.<init>(Settings.scala:15)
        at scala.tools.ant.Scaladoc.initialize(Scaladoc.scala:627)
        at scala.tools.ant.Scaladoc.execute(Scaladoc.scala:670)

Is this problem local to me?

Commit https://github.com/scala/scala/commit/f279894a3efe84b85e9becfd0ce96aaa0c21bfbd recently added a val `completion` to ScalaSettings. I haven't linked that change to the error have except
by name so it could be unrelated.

It would be useful to know if anyone else is seeing this.

Best Regards,
Janek

Som Snytt

unread,
Sep 25, 2015, 5:57:15 PM9/25/15
to scala-internals
Perhaps ant all.clean first or rm -rf build.

I'm chiming in with the obvious only because no one else has chimed. And you didn't say "after git clean -dfx"...


--
You received this message because you are subscribed to the Google Groups "scala-internals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-interna...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Janek

unread,
Sep 26, 2015, 2:39:20 AM9/26/15
to scala-internals
`ant clean build` solved it. Thanks!
Reply all
Reply to author
Forward
0 new messages