Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0 Report Plugin
-
Fix Version/s: 2.5
-
Component/s: Maven Surefire Report Plugin
-
Labels:None
-
Environment:WinXp, Java5
-
Testcase included:yes
-
Patch Submitted:Yes
-
Number of attachments :
Description
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
Attachments
Issue Links
| This issue depends upon: | ||||
| SUREFIRE-264 | XRef links do not work with aggregated reports on windows |
|
|
|
Sorry. Here's the full patch. Previously the two new files where not included. Please ignore the first patch file.
Cheers,
Martin