You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/11/21 00:24:07 UTC

DO NOT REPLY [Bug 14721] New: - javadoc task: custom doclet -> no -source argument

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14721>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14721

javadoc task: custom doclet -> no -source argument

           Summary: javadoc task: custom doclet -> no -source argument
           Product: Ant
           Version: 1.5.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: a_rankine@yahoo.co.uk


The following task

    <javadoc sourcepath="z:\proj\src"
             destdir="z:\proj\"
             source="1.4"
             doclet="UmlGraph"
             docletpath="z:\proj\lib\umlgraph">
      <packageset dir="z:\proj\src">
        <include name="**"/>
      </packageset>
    </javadoc>

Invokes javadoc as follows:

  [javadoc] Generating Javadoc
  [javadoc] ignoring source option for custom doclet
  [javadoc] Executing 'C:\java\j2sdk1.4.1\bin\javadoc.exe' with arguments:
  [javadoc] '-d'
  [javadoc] 'Z:\proj'
  [javadoc] '-classpath'
  [javadoc] 'c:\java\jakarta-ant-1.5.1\lib\xml-apis.jar;c:\java\jakarta-ant-1.5.1\lib\xercesImpl.jar;c:\java\jakarta-ant-1.5.1\lib\optional.jar;c:\java\jakarta-ant-1.5.1\lib\ant.jar;c:\java\j2sdk1.4.1\lib\tools.jar'
  [javadoc] '-sourcepath'
  [javadoc] 'Z:\proj\src'
  [javadoc] '-doclet'
  [javadoc] 'UmlGraph'
  [javadoc] '-docletpath'
  [javadoc] 'Z:\proj\lib\umlgraph'
  [javadoc] 'com.myproj'

Note the missing -source parameter. This causes javadoc to fail on my 1.4 source. I suspect the doclet= attribute here, because omitting this (and hence using the standard doclet) seems to process the source attribute just fine.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>