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 27814] New: - javadoc task does not encode baskslashes when generating file list by useexternalfile
Date Sat, 20 Mar 2004 06:30:12 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27814>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27814

javadoc task does not encode baskslashes when generating file list by useexternalfile

           Summary: javadoc task does not encode baskslashes when generating
                    file list by useexternalfile
           Product: Ant
           Version: 1.6.1
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: trustin@gleamynode.net


'file.separator' in Windows platform is backslash('\'), but the 'javadoc' task 
doesn't seem to encode single backslash to doubled one ('\\'), so it outputs 
the error messages such as:

[javadoc] javadoc: File not found: "C:Documents and SettingsTrustin LeeMy 
Documentsworkspacericasrcjava
[javadoc] etgleamynodecollectionIntList.java"

The actual file path had to be:

"C:\Document and Settings\Trustin Lee\My 
Documents\workspace\arica\src\java\net\gleamynode\net\collection\IntList.java"

The worksaround for this problem is to specify '-Dfile.separator=/' in command 
line.

It is quite weird this bug still exists, no windows ant users anywhere? :)

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


Mime
View raw message