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 23693] New: - javadoc task with doclet: "javadoc: invalid flag: -d"
Date Thu, 09 Oct 2003 09:20:38 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=23693>.
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=23693

javadoc task with doclet: "javadoc: invalid flag: -d"

           Summary: javadoc task with doclet: "javadoc: invalid flag: -d"
           Product: Ant
           Version: 1.5.3
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: mhilpert@gmx.de


My javadoc task without a specific doclet works. Now, i try to use a custom 
doclet and added the following lines to my javadoc task:

doclet="de.pt.MyDoclet"
docletpath="${basedir}/prg/java/bin/mlib.jar"

(the values are correct, as otherwise i get a " javadoc: Cannot find doclet 
class de.icomps.BusinesssDoclet" error message.).

when i start the task i only get:

---------------
     [javadoc] Generating Javadoc
     [javadoc] Javadoc execution
     [javadoc] javadoc: invalid flag: -d
     [javadoc] usage: javadoc [options] [packagenames] [sourcefiles] 
[classnames] [@files]
     [javadoc] -overview <file>          Read overview documentation from HTML 
file
     [javadoc] -public                   Show only public classes and members
     [javadoc] -protected                Show protected/public classes and 
members (default)
     [javadoc] -package                  Show package/protected/public classes 
and members
     [javadoc] -private                  Show all classes and members
     [javadoc] -help                     Display command line options and exit
     [javadoc] -doclet <class>           Generate output via alternate doclet
     [javadoc] -docletpath <path>        Specify where to find doclet class 
files
     [javadoc] -sourcepath <pathlist>    Specify where to find source files
     [javadoc] -classpath <pathlist>     Specify where to find user class files
     [javadoc] -exclude <pkglist>        Specify a list of packages to exclude
     [javadoc] -subpackages <subpkglist> Specify subpackages to recursively load
     [javadoc] -breakiterator            Compute 1st sentence with BreakIterator
     [javadoc] -bootclasspath <pathlist> Override location of class files loaded
     [javadoc] 			  by the bootstrap class loader
     [javadoc] -source <release>         Provide source compatibility with 
specified release
     [javadoc] -extdirs <dirlist>        Override location of installed 
extensions
     [javadoc] -verbose                  Output messages about what Javadoc is 
doing
     [javadoc] -locale <name>            Locale to be used, e.g. en_US or 
en_US_WIN
     [javadoc] -encoding <name>          Source file encoding name
     [javadoc] -J<flag>                  Pass <flag> directly to the runtime 
system
     [javadoc] 
     [javadoc] 1 error
BUILD SUCCESSFUL
----------------

i also tried to use a nested <doclet> element instead of <javadoc> attributs -

with the same result.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message