Changed vt-warning workaround to enable the setting in the

doc settings object, so anything using it will get the fix.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18725 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
extempore 2009-09-21 17:11:51 +00:00
parent e7cfba06eb
commit 766bcd608e
2 changed files with 3 additions and 2 deletions

View File

@ -1148,7 +1148,6 @@ DOCUMENTATION
<stopwatch name="docs.lib.timer"/>
<mkdir dir="${build-docs.dir}/library"/>
<scaladoc
addParams="-Ysuppress-vt-typer-warnings"
destdir="${build-docs.dir}/library"
windowtitle="Scala Library"
doctitle="Scala ${version.number} API"
@ -1232,7 +1231,6 @@ DOCUMENTATION
<stopwatch name="docs.comp.timer"/>
<mkdir dir="${build-docs.dir}/compiler"/>
<scaladoc
addParams="-Ysuppress-vt-typer-warnings"
destdir="${build-docs.dir}/compiler"
windowtitle="Scala Compiler"
doctitle="Scala Compiler ${version.number} API"

View File

@ -24,4 +24,7 @@ class Settings(error: String => Unit) extends scala.tools.nsc.Settings(error) {
val stylesheetfile = StringSetting ("-stylesheetfile", "stylesheetfile", "File to change style of the generated documentation", "style.css")
val pagetop = StringSetting ("-top", "pagetop", "Include top text for each page", "")
val windowtitle = StringSetting ("-windowtitle", "windowtitle", "Specify window title of generated HTML documentation", "Scala 2")
// working around issue described in r18708.
suppressVTWarn.value = true
}