Provide full file path to PMD, instead of workspace relative path.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6557 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
1 parent
5b92ce62f7
commit
95d65ea2ec
1 file changed
+1
-1
+1
-1
@@ -288,7 +288,7 @@ public class BaseVisitor {
|
||||
Timer timer = new Timer();
|
||||
|
||||
final RuleContext context = new RuleContext();
|
||||
context.setSourceCodeFile(file.getFullPath().toFile());
|
||||
context.setSourceCodeFile(file.getRawLocation().toFile());
|
||||
context.setSourceCodeFilename(file.getName());
|
||||
context.setReport(new Report());
|
||||
|
||||
|
||||
Reference in new issue
Block a user