You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org> on 2011/01/18 16:17:58 UTC

[jira] Commented: (SUREFIRE-259) Calculation of relative path to xref is wrong

    [ http://jira.codehaus.org/browse/SUREFIRE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251924#action_251924 ] 

Kristian Rosenvold commented on SUREFIRE-259:
---------------------------------------------

And yes, you must be using internet explorer for this to fail.

> Calculation of relative path to xref is wrong
> ---------------------------------------------
>
>                 Key: SUREFIRE-259
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-259
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Report Plugin
>    Affects Versions: 2.0 Report Plugin
>         Environment: WinXp, Java5
>            Reporter: Martin Zeltner
>             Fix For: Backlog
>
>         Attachments: patch_maven-surefire-report-plugin_relative-path-to-xref.patch, patch_maven-surefire-report-plugin_relative-path-to-xref_2.patch, SUREFIRE-259.zip
>
>   Original Estimate: 15 minutes
>  Remaining Estimate: 15 minutes
>
> The calculation of the relative path to xref is wrong! I.e. it fails with the current config:
> <plugin>
>     <groupId>org.apache.maven.plugins</groupId>
>     <artifactId>maven-surefire-report-plugin</artifactId>
>     <version>2.1-SNAPSHOT</version>
>     <configuration>
>         <linkXRef>true</linkXRef>
>         <xrefLocation>target/site/framework-tests/xref</xrefLocation>
>         <outputDirectory>target/site</outputDirectory>
>     </configuration>
> </plugin>
> In appended patch I've changed the following:
>    * Parameter outputDirectory is now a java.io.File so there is even a chance to find out the relavtive path for the config above.
>    * I've replaced the code where the relative path is calculated with the static method invocation of my new util class (tests for util class included).
> Cheers,
> Martin

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