Bug 16871 - Javadoc task should quote files in generated file list
Summary: Javadoc task should quote files in generated file list
Status: RESOLVED FIXED
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.5.1
Hardware: PC other
: P3 major with 1 vote (vote)
Target Milestone: 1.6
Assignee: Ant Notifications List
URL:
Keywords:
: 19438 25349 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-07 10:15 UTC by Rainer Klute
Modified: 2005-03-16 01:52 UTC (History)
3 users (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Klute 2003-02-07 10:15:08 UTC
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.
Comment 1 Stefan Bodewig 2003-05-14 14:13:19 UTC
*** Bug 19438 has been marked as a duplicate of this bug. ***
Comment 2 Stefan Bodewig 2003-05-14 15:03:50 UTC
fixed in nightly build 2003-05-15.
Comment 3 Stefan Bodewig 2005-03-16 10:52:15 UTC
*** Bug 25349 has been marked as a duplicate of this bug. ***