ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47790] New: javadoc: don't create packagenames option if filesets are used
Date Sun, 06 Sep 2009 04:24:17 GMT
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: notifications@ant.apache.org
        ReportedBy: elkner@linofee.org


--- Comment #0 from Jens Elkner <elkner@linofee.org> 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.

Mime
View raw message