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 2003/02/07 11:15:09 UTC

DO NOT REPLY [Bug 16871] New: - Javadoc task should quote files in generated file list

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=16871>.
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=16871

Javadoc task should quote files in generated file list

           Summary: Javadoc task should quote files in generated file list
           Product: Ant
           Version: 1.5.1
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: klute@apache.org


The javadoc task fails if
- useexternalfile="true" is used, and
- the Java source files contain white space somewhere in there path names.

Since Javadoc sees the file submitted on the command line via "javadoc
@argsfile" as a file containing a list of arguments and not as a list of files
with each file name on a separate line, it is correct in interpreting white
space in a file name as an argument separator.

I helped myself by surrounding the file names by single quotes and by doubling
all backslashes. (The latter I had to do since I am forced to work under Windoze
NT. :-()

Ant's javadoc task should quote the file names correctly when generating the
external file list.