https://issues.apache.org/bugzilla/show_bug.cgi?id=47790
Summary: javadoc: don't create packagenames option if filesets
are used
Product: Ant
Version: 1.7.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P2
Component: Core tasks
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Jens Elkner <[email protected]> 2009-09-05 21:24:13 PDT ---
If javadoc gets called with packagenames as well as sourcenames option, all
classes are listed twice in the allclasses-frame.html page. E.g.:
javadoc -d build/docs/api \
-classpath /local/apps/javax/slf4j/slf4j-api.jar \
-sourcepath src \
de.ovgu.cs.wizard \
`find src -name "*.java" | xargs`
However, omitting packagenames or sourcenames option works. E.g.:
javadoc -d build/docs/api \
-classpath /local/apps/javax/slf4j/slf4j-api.jar \
-sourcepath src \
`find src -name "*.java" | xargs`
javadoc -d build/docs/api \
-classpath /local/apps/javax/slf4j/slf4j-api.jar \
-sourcepath src \
de.ovgu.cs.wizard
Since ant generates the packagenames option automatically, one can't use the
filesets anymore or gets a corrupted allclasses-frame.html. E.g.:
<javadoc destdir="${build.docs.dir}/api"
author="true" version="true" use="true"
additionalparam="-breakiterator"
doctitle="${doctitle}" windowtitle="${windowtitle}"
header="${header}"
bottom="${bottom}"
sourcepath="${src.dir}"
maxmemory="512m"
>
<classpath>
<path refid="classpath.base"/>
</classpath>
<fileset dir="${src.dir}/${codebase}" excludes="**/res/**, **/*.dtd,
**/test/*.java,**/Test*, **/*.form,@{excludes}"/>
<link href="${jdkAPI}" />
</javadoc>
produces such a bogus allclasses-frame.html
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.