ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14721] New: - javadoc task: custom doclet -> no -source argument
Date Wed, 20 Nov 2002 23:24:07 GMT
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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message