code |
Contrib 390 is marked as "Fixed in 2.4.0-final". Using XP Pro SP2, I still see the error.
From Windows' Command Prompt:-
C:\...>scaladoc.bat -version
Scala compiler version 2.4.0-final -- (c) 2002-2007 LAMP/EPFL
C:\...>scaladoc.bat -d ../docs src/*.scala
error: Resource file 'style.css' not found
error: Resource file 'script.js' not found
two errors found
From ant:-
[scaladoc] error: Resource file 'style.css' not found
[scaladoc] error: Resource file 'script.js' not found
[scaladoc] ...\build.xml:89: Document failed with 2 errors; see the documenter error output for details.
... (stacktrace)
From a cygwin prompt, this time running a nightly build:-
$ scaladoc -version
Scala compiler version 2.4.0.10647.20070410-031836 -- (c) 2002-2007 LAMP/EPFL
$ scaladoc -d ../docs src/*.scala
Exception in thread "main" java.lang.Error: Resource file 'style.css' not found
at scala.Predef$.error(Predef.scala:74)
at scala.tools.nsc.doc.ModelFrames$$anonfun$11.apply(ModelFrames.scala:319)
at scala.tools.nsc.doc.ModelFrames$$anonfun$11.apply(ModelFrames.scala:305)
at scala.List.foreach(List.scala:699)
at scala.tools.nsc.doc.ModelFrames$class.copyResources(ModelFrames.scala:305)
at scala.tools.nsc.doc.DocDriver.copyResources(DocDriver.scala:6)
at scala.tools.nsc.doc.DocDriver.process(DocDriver.scala:54)
at scala.tools.nsc.Main$.process(Main.scala:65)
at scala.tools.nsc.Main$.main(Main.scala:79)
at scala.tools.nsc.Main.main(Main.scala)
|