ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BugRat Mail System <>
Subject BugRat Report #23 has been filed.
Date Sat, 05 Aug 2000 00:15:38 GMT
Bug report #23 has just been filed.

You can view the report at the following URL:


REPORT #23 Details.

Project: Ant
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: medium
Severity: serious
Confidence: public
   Release: 1.2 alpha
   JVM Release: 1.2.1
   Operating System: Solaris
   OS Release: 7
   Platform: Sun

Javadoc task does not apply javadoc 1.2 arguments (-overview, etc.)

None of the javadoc arguments for Java 1.2 get set, 
because the taskdef init() method which sets the
"javadoc1" flag is called *after* the setFoo methods
are called. Because the flag is initialized to true, the
javadoc2 args are never set.

The fix I used is to declare the javadoc1 flag
on line 163 like this:

private boolean javadoc1 = (Project.getJavaVersion() == Project.JAVA_1_1);

View raw message