You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The regression tester should be able to deal with both situations. It will relativize the paths on its own (relative to the project root, that is /home/runner/work/pmd/target/repositories/openjdk-11).
adangel
changed the title
Relative paths in pmd-report.xml result in missing code snippets
Relative paths in pmd report result in missing code snippets
Nov 24, 2022
Uh oh!
There was an error while loading. Please reload this page.
PMD6 reports absolute paths, PMD7 seems to report only relative paths (relative to the current working directory).
/home/runner/work/pmd/target/repositories/openjdk-11/src/java.base/aix/classes/sun/nio/ch/AixAsynchronousChannelProvider.java
target/repositories/openjdk-11/src/java.base/aix/classes/sun/nio/ch/AixAsynchronousChannelProvider.java
The regression tester should be able to deal with both situations. It will relativize the paths on its own (relative to the project root, that is
/home/runner/work/pmd/target/repositories/openjdk-11
).The problem is, that we generate wrong links to the source code, e.g. https://github.com/openjdk/jdk/tree/jdk-11+28/target/repositories/openjdk-11/src/java.base/share/classes/java/util/AbstractMap.java#L609 instead of https://github.com/openjdk/jdk/tree/jdk-11+28/src/java.base/share/classes/java/util/AbstractMap.java#L609
The text was updated successfully, but these errors were encountered: