You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Yann Le Du (JIRA)" <ji...@codehaus.org> on 2005/07/20 15:06:57 UTC
[jira] Created: (MNG-620) Javadoc plugin fails when JAVA_HOME contains spaces
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-plugins
Versions: 2.0-alpha-3
Environment: Windows XP
Reporter: Yann Le Du
>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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-620) Javadoc plugin fails when JAVA_HOME contains spaces
Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-620?page=all ]
Vincent Siveton updated MNG-620:
--------------------------------
Attachment: javadocTest.zip
I noticed that adding quote on the cmd (ie "C:\Program Files\Java\jdk1.5.0_04\jre\..\bin\javadoc.exe") has no effect.
I propose here a small test case to try to find the best solution...
Maybe that it is only Windows Shell scripting parameters.
Comments are welcome!
> 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-plugins
> Versions: 2.0-alpha-3
> Environment: Windows XP
> Reporter: Yann Le Du
> Fix For: 2.0-beta-2
> Attachments: javadocTest.zip
>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MNG-620) Javadoc plugin fails when JAVA_HOME contains spaces
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-620?page=all ]
Brett Porter closed MNG-620:
----------------------------
Resolution: Fixed
> 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, MNG-620_b.patch, javadocTest.zip
>
> Original Estimate: 8 hours
> Time Spent: 4 hours, 1 minute
> Remaining: 3 hours, 59 minutes
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-620) Javadoc plugin fails when JAVA_HOME contains spaces
Posted by "Lester Ecarma (JIRA)" <ji...@codehaus.org>.
[ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-620) Javadoc plugin fails when JAVA_HOME contains spaces
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-620?page=all ]
Brett Porter updated MNG-620:
-----------------------------
Fix Version: (was: 2.0-beta-3)
2.0-beta-4
> 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
> Fix For: 2.0-beta-4
> Attachments: javadocTest.zip
>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-620) Javadoc plugin fails when JAVA_HOME contains spaces
Posted by "Lester Ecarma (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-620?page=all ]
Lester Ecarma updated MNG-620:
------------------------------
Remaining Estimate: 8 hours
Original Estimate: 28800
> 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: 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-620) Javadoc plugin fails when JAVA_HOME contains spaces
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-620?page=all ]
Brett Porter updated MNG-620:
-----------------------------
Component: (was: maven-plugins)
maven-javadoc-plugin
> 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
> Fix For: 2.0-beta-2
> Attachments: javadocTest.zip
>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-620) Javadoc plugin fails when JAVA_HOME contains spaces
Posted by "Lester Ecarma (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-620?page=all ]
Lester Ecarma updated MNG-620:
------------------------------
Attachment: MNG-620_b.patch
...missed out processing the backslash characters from the classpath argument. Please ignore the first patch and apply this (MNG-620_b.patch) instead.
> 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, MNG-620_b.patch, javadocTest.zip
>
> Original Estimate: 8 hours
> Time Spent: 3 hours
> Remaining: 5 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-620) Javadoc plugin fails when JAVA_HOME contains spaces
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-620?page=all ]
Brett Porter updated MNG-620:
-----------------------------
Fix Version: 2.0-beta-2
> 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-plugins
> Versions: 2.0-alpha-3
> Environment: Windows XP
> Reporter: Yann Le Du
> Fix For: 2.0-beta-2
>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org