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=20144>. 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=20144 Javadoc task running with cygwin Summary: Javadoc task running with cygwin Product: Ant Version: 1.5.3 Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I'm trying to use the javadoc task with Ant 1.5.3 running under cygwin. I'm having trouble with the destdir attribute. If I specify the directory in the Windows format h:\... the task works. If I use a cygwin format the task does not work. Here's the debug output.... [javadoc] scanning \\Fsvnode2\ITWDBW$\java_project\src for packages. DirSet: Setup scanner in dir \\Fsvnode2\ITWDBW$\java_project\src with patternSet { includes: [com/**] excludes: [] } [javadoc] Generating Javadoc fileset: Setup scanner in dir \\Fsvnode2\ITWDBW$\java_project\lib with patternSet{ includes: [**/*.jar] excludes: [] } [javadoc] Executing 'C:\j2sdk1.4.1_02\bin\javadoc.exe' with arguments: [javadoc] '-public' [javadoc] '-d' [javadoc] '\\Fsvnode2\ITWDBW$\java_project\docs' [javadoc] '-bottom' [javadoc] ' [javadoc] <i>Copyright Royal Caribbean Cruises Limited © 2003. All Rights Reserved.</i> [javadoc] ' [javadoc] '-classpath' [javadoc] '\\Fsvnode2\ITWDBW$\java_project\external\junit\junit.jar;\\Fsvnode2 \ITWDBW$\java_project\lib\example.jar' [javadoc] '-sourcepath' [javadoc] '\\Fsvnode2\ITWDBW$\java_project\src' [javadoc] '-version' [javadoc] '-author' [javadoc] 'com.rccl.ide.example' [javadoc] [javadoc] The ' characters around the executable and arguments are [javadoc] not part of the command. [javadoc] Javadoc execution Execute:Java13CommandLauncher: Executing 'C:\j2sdk1.4.1_02\bin\javadoc.exe' with arguments: '-public' '-d' '\\Fsvnode2\ITWDBW$\java_project\docs' '-bottom' ' <i>Copyright Royal Caribbean Cruises Limited © 2003. All Rights Reserved.</i> ' '-classpath' '\\Fsvnode2\ITWDBW$\java_project\external\junit\junit.jar;\\Fsvnode2 \ITWDBW$\java_project\lib\example.jar' '-sourcepath' '\\Fsvnode2\ITWDBW$\java_project\src' '-version' '-author' 'com.rccl.ide.example' The ' characters around the executable and arguments are not part of the command. [javadoc] Loading source files for package com.rccl.ide.example... [javadoc] Constructing Javadoc information... [javadoc] Standard Doclet version 1.4.1 [javadoc] 1 error [javadoc] javadoc: java.io.FileNotFoundException: \Fsvnode2 \ITWDBW$\java_project\docs\constant-values.html (The system cannot find the path spe cified) encountered [javadoc] while attempting to create file: constant-values.html Note that for some reason there is only one '\' at the beginning of the path in the error message, whereas there seems to be two ('\\') every where else. Also, I do not need to use the Windows path format for the sourcepath in the same javadoc task. Nor do I need to use it in any other task. It just seems to be a problem with the destir attribute on the javadoc task. Thanks for any help you can provide.