harrah/xsbt — Issue #355: javac options cannot be blindly passed to javadoc
Author: paulp
Created: 2012-02-03 19:18:29+00:00
State: open

This currently prevents the scala trunk build from succeeding. javadoc doesn't take the same options javac does. Is this configurable somewhere? I couldn't find it. It seems to be new to 0.11.3-SNAPSHOT, 0.11.2 doesn't fail, but of course I can't build trunk with 0.11.2 so this presently prevents the scala build from completing.

% cat build.sbt
javacOptions ++= Seq("-source", "1.5", "target", "1.5")

% sbt publish-local
[error] javadoc: error - invalid flag: -target
[error] usage: javadoc [options] [packagenames] [sourcefiles] [@files]
[error] -overview Read overview documentation from HTML file
[error] -public Show only public classes and members
[error] -protected Show protected/public classes and members (default)