You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Maarten Winkels (JIRA)" <ji...@codehaus.org> on 2007/01/04 14:10:09 UTC

[jira] Created: (MPMD-52) XRef lnks do not work with aggregated XRef

XRef lnks do not work with aggregated XRef
------------------------------------------

                 Key: MPMD-52
                 URL: http://jira.codehaus.org/browse/MPMD-52
             Project: Maven 2.x Pmd Plugin
          Issue Type: Bug
    Affects Versions: 2.1
            Reporter: Maarten Winkels


When using JXR with the aggregate property set, the XRef links generated by this plugin fail.

The obvious solution would be to use:
<configuration>
	<xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
</configuration>

But this fails. When the relative path is calculated, the PathTool used fails to recognize the paths as being relative to each other (on Windows, due to the forward, backword slashes).

-- 
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: (MPMD-52) XRef lnks do not work with aggregated XRef

Posted by "Maarten Winkels (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPMD-52?page=all ]

Maarten Winkels updated MPMD-52:
--------------------------------

    Attachment: maven-pmd-plugin.patch

This patch solves the problem by changing the outputDirectory property in a java.util.File.

> XRef lnks do not work with aggregated XRef
> ------------------------------------------
>
>                 Key: MPMD-52
>                 URL: http://jira.codehaus.org/browse/MPMD-52
>             Project: Maven 2.x Pmd Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Maarten Winkels
>         Attachments: maven-pmd-plugin.patch
>
>
> When using JXR with the aggregate property set, the XRef links generated by this plugin fail.
> The obvious solution would be to use:
> <configuration>
> 	<xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
> </configuration>
> But this fails. When the relative path is calculated, the PathTool used fails to recognize the paths as being relative to each other (on Windows, due to the forward, backword slashes).

-- 
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: (MPMD-52) XRef lnks do not work with aggregated XRef

Posted by "Daniel Kulp (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPMD-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp closed MPMD-52.
---------------------------

    Resolution: Fixed

> XRef lnks do not work with aggregated XRef
> ------------------------------------------
>
>                 Key: MPMD-52
>                 URL: http://jira.codehaus.org/browse/MPMD-52
>             Project: Maven 2.x Pmd Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Maarten Winkels
>         Assigned To: Daniel Kulp
>             Fix For: 2.2
>
>         Attachments: maven-pmd-plugin.patch
>
>
> When using JXR with the aggregate property set, the XRef links generated by this plugin fail.
> The obvious solution would be to use:
> <configuration>
> 	<xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
> </configuration>
> But this fails. When the relative path is calculated, the PathTool used fails to recognize the paths as being relative to each other (on Windows, due to the forward, backword slashes).

-- 
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: (MPMD-52) XRef lnks do not work with aggregated XRef

Posted by "Daniel Kulp (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPMD-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp updated MPMD-52:
----------------------------

         Assignee: Daniel Kulp
    Fix Version/s: 2.2

> XRef lnks do not work with aggregated XRef
> ------------------------------------------
>
>                 Key: MPMD-52
>                 URL: http://jira.codehaus.org/browse/MPMD-52
>             Project: Maven 2.x Pmd Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Maarten Winkels
>         Assigned To: Daniel Kulp
>             Fix For: 2.2
>
>         Attachments: maven-pmd-plugin.patch
>
>
> When using JXR with the aggregate property set, the XRef links generated by this plugin fail.
> The obvious solution would be to use:
> <configuration>
> 	<xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
> </configuration>
> But this fails. When the relative path is calculated, the PathTool used fails to recognize the paths as being relative to each other (on Windows, due to the forward, backword slashes).

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