From 95d65ea2ec2badf7b8b70e7d5297b8636a3f7258 Mon Sep 17 00:00:00 2001 From: Ryan Gustafson Date: Sat, 4 Oct 2008 00:52:32 +0000 Subject: [PATCH] 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 --- .../net/sourceforge/pmd/eclipse/runtime/cmd/BaseVisitor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmd-eclipse-plugin/plugins/net.sourceforge.pmd.eclipse.plugin/src/net/sourceforge/pmd/eclipse/runtime/cmd/BaseVisitor.java b/pmd-eclipse-plugin/plugins/net.sourceforge.pmd.eclipse.plugin/src/net/sourceforge/pmd/eclipse/runtime/cmd/BaseVisitor.java index 8b70c471c1..69916fc10e 100644 --- a/pmd-eclipse-plugin/plugins/net.sourceforge.pmd.eclipse.plugin/src/net/sourceforge/pmd/eclipse/runtime/cmd/BaseVisitor.java +++ b/pmd-eclipse-plugin/plugins/net.sourceforge.pmd.eclipse.plugin/src/net/sourceforge/pmd/eclipse/runtime/cmd/BaseVisitor.java @@ -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());