You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tim O'Brien (JIRA)" <ji...@codehaus.org> on 2006/04/30 21:44:19 UTC

[jira] Created: (MJAVADOC-68) Paths with quotes cause error in Javadoc plugin

Paths with quotes cause error in Javadoc plugin
-----------------------------------------------

         Key: MJAVADOC-68
         URL: http://jira.codehaus.org/browse/MJAVADOC-68
     Project: Maven 2.x Javadoc Plugin
        Type: Bug

    Versions: 2.0-beta-3    
    Reporter: Tim O'Brien


On Windows, my Maven 2 repository is in "C:\Program Files\Tim O'Brien\.m2.repository".   Because of the way that quotedPathArgument generates a path on Windows, the classpath is invalid.   Causes Javadoc plugin to fail for Windows users with apostrophes in last name.   


From: http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java?rev=392516&view=markup

 private String quotedPathArgument( String value )
    {
        String path = value;
        if ( !StringUtils.isEmpty( path ) )
        {
            path = "'" + path.replace( '\\', '/' ) + "'";
        }
        return path;
    }

-- 
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


[jira] Closed: (MJAVADOC-68) Paths with quotes cause error in Javadoc plugin

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MJAVADOC-68?page=all ]
     
Maria Odea Ching closed MJAVADOC-68:
------------------------------------

    Resolution: Fixed

> Paths with quotes cause error in Javadoc plugin
> -----------------------------------------------
>
>          Key: MJAVADOC-68
>          URL: http://jira.codehaus.org/browse/MJAVADOC-68
>      Project: Maven 2.x Javadoc Plugin
>         Type: Bug

>     Versions: 2.0-beta-3
>     Reporter: Tim O'Brien
>     Assignee: Maria Odea Ching

>
>
> On Windows, my Maven 2 repository is in "C:\Program Files\Tim O'Brien\.m2.repository".   Because of the way that quotedPathArgument generates a path on Windows, the classpath is invalid.   Causes Javadoc plugin to fail for Windows users with apostrophes in last name.   
> From: http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java?rev=392516&view=markup
>  private String quotedPathArgument( String value )
>     {
>         String path = value;
>         if ( !StringUtils.isEmpty( path ) )
>         {
>             path = "'" + path.replace( '\\', '/' ) + "'";
>         }
>         return path;
>     }

-- 
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


[jira] Updated: (MJAVADOC-68) Paths with quotes cause error in Javadoc plugin

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MJAVADOC-68?page=all ]

Brett Porter updated MJAVADOC-68:
---------------------------------

    Fix Version:     (was: 2.0)

> Paths with quotes cause error in Javadoc plugin
> -----------------------------------------------
>
>          Key: MJAVADOC-68
>          URL: http://jira.codehaus.org/browse/MJAVADOC-68
>      Project: Maven 2.x Javadoc Plugin
>         Type: Bug

>     Versions: 2.0-beta-3
>     Reporter: Tim O'Brien

>
>
> On Windows, my Maven 2 repository is in "C:\Program Files\Tim O'Brien\.m2.repository".   Because of the way that quotedPathArgument generates a path on Windows, the classpath is invalid.   Causes Javadoc plugin to fail for Windows users with apostrophes in last name.   
> From: http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java?rev=392516&view=markup
>  private String quotedPathArgument( String value )
>     {
>         String path = value;
>         if ( !StringUtils.isEmpty( path ) )
>         {
>             path = "'" + path.replace( '\\', '/' ) + "'";
>         }
>         return path;
>     }

-- 
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


[jira] Updated: (MJAVADOC-68) Paths with quotes cause error in Javadoc plugin

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MJAVADOC-68?page=all ]

Brett Porter updated MJAVADOC-68:
---------------------------------

    Fix Version: 2.0

> Paths with quotes cause error in Javadoc plugin
> -----------------------------------------------
>
>          Key: MJAVADOC-68
>          URL: http://jira.codehaus.org/browse/MJAVADOC-68
>      Project: Maven 2.x Javadoc Plugin
>         Type: Bug

>     Versions: 2.0-beta-3
>     Reporter: Tim O'Brien
>      Fix For: 2.0

>
>
> On Windows, my Maven 2 repository is in "C:\Program Files\Tim O'Brien\.m2.repository".   Because of the way that quotedPathArgument generates a path on Windows, the classpath is invalid.   Causes Javadoc plugin to fail for Windows users with apostrophes in last name.   
> From: http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java?rev=392516&view=markup
>  private String quotedPathArgument( String value )
>     {
>         String path = value;
>         if ( !StringUtils.isEmpty( path ) )
>         {
>             path = "'" + path.replace( '\\', '/' ) + "'";
>         }
>         return path;
>     }

-- 
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