Bug 5645 - javadoc task unable to specify source=1.4 on Java1.4
Summary: javadoc task unable to specify source=1.4 on Java1.4
Status: RESOLVED FIXED
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.4.1
Hardware: All All
: P3 critical (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords: JDK1.4
: 7857 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-01-01 05:12 UTC by Sam Tilders
Modified: 2004-11-16 19:05 UTC (History)
2 users (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Tilders 2002-01-01 05:12:18 UTC
The javac task allows the source to be specified as either 1.3 or 1.4.
When using the javadoc task to create documentation for the same source, 
javadoc complains about the assert statements.
Unlike the javac task there is no way to tell the javadoc task to pass the 
source option to javadoc.
Comment 1 Sam Tilders 2002-01-02 15:33:33 UTC
This can probably be closed as specifying
additionalparam="-source 1.4"
makes it work.
Perhaps that should end up as an example in the documentation though.
Comment 2 Steve Loughran 2002-02-16 18:39:00 UTC
changed title for searching; left open as it should be fixed with a source 
attr or a doc patch. I am minded towards consistency with <javac>, and the 
attribute, even if it has too many parameters already. 
Comment 3 Steve Loughran 2002-03-17 08:19:37 UTC
marking this as a 1.4 bug in the keywords
Comment 4 Stefan Bodewig 2002-04-08 16:12:21 UTC
fixed in nightly build 2002-04-09.

Note that -source is an option of the standard doclet, so Ant will ignore it if
you specify a custom doclet.
Comment 5 Steve Loughran 2002-04-09 00:24:30 UTC
*** Bug 7857 has been marked as a duplicate of this bug. ***