[ http://jira.codehaus.org/browse/MNG-620?page=all ]
Lester Ecarma updated MNG-620: ------------------------------ Attachment: MNG-620.patch It appears that the javadoc path is not the culprit here, but the options declaration that follows it. The attached patch should fix this. The fix to MNG-1035 is already integrated in this patch, so there's no need to apply that separately. > Javadoc plugin fails when JAVA_HOME contains spaces > --------------------------------------------------- > > Key: MNG-620 > URL: http://jira.codehaus.org/browse/MNG-620 > Project: Maven 2 > Type: Bug > Components: maven-javadoc-plugin > Versions: 2.0-alpha-3 > Environment: Windows XP > Reporter: Yann Le Du > Assignee: Lester Ecarma > Fix For: 2.0-beta-4 > Attachments: MNG-620.patch, javadocTest.zip > > Original Estimate: 8 hours > Remaining: 8 hours > > From now on, JDK is automatically installed in C:\Program > Files\Java\jdk1.5.0_04, which contains spaces. > site:site produces the following error : > [INFO] Generate JavaDocs report. > C:\Program Files\Java\jdk1.5.0_04\jre\..\bin\javadoc > "C:\Program Files\Java\jdk1.5.0_04\jre\..\bin\javadoc" -use [...] -classpath > "[...]" @files > D:\SVN_Source\COMMON\trunk\common-framework\target\javadoc > 'C:\Program' is not recognized as an internal or external command, operable > program or batch file. > The file cannot be found. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]