From f02e2f8cdc667e12a6a0bd67e153efe455bd98a3 Mon Sep 17 00:00:00 2001 From: Ryan Gustafson Date: Thu, 28 Feb 2008 09:56:19 +0000 Subject: [PATCH] Add JavaProjectClassLoader which serves as a ClassLoader for an IJavaProject. Pass this ClassLoader to the PMD instance. git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5821 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd-eclipse-plugin/pmd-eclipse/CHANGELOG.txt | 1 + pmd-eclipse-plugin/pmd-eclipse/RELNOTES.txt | 3 +++ pmd-eclipse-plugin/pmd-eclipse/TODO.txt | 2 ++ 3 files changed, 6 insertions(+) diff --git a/pmd-eclipse-plugin/pmd-eclipse/CHANGELOG.txt b/pmd-eclipse-plugin/pmd-eclipse/CHANGELOG.txt index 5fa000ac0f..087576110d 100644 --- a/pmd-eclipse-plugin/pmd-eclipse/CHANGELOG.txt +++ b/pmd-eclipse-plugin/pmd-eclipse/CHANGELOG.txt @@ -9,6 +9,7 @@ Runtime . PMD updated to v4.2 . Use new standard PMD RuleSet serialization mechanism . Use new PMD support for RuleReferences in RuleSets, instead of using Rule copies +. Use Java Project Build Path when invoking PMD to allow Type Resolution to work better . Error type PMD Violations now show in Problems View for manual PMD invocations . Workspace Rules Configuration Rule table now shows RuleSet name . Workspace Rules Configuration Rule table now shows Since attribute diff --git a/pmd-eclipse-plugin/pmd-eclipse/RELNOTES.txt b/pmd-eclipse-plugin/pmd-eclipse/RELNOTES.txt index 2aa3903a80..4fd6314648 100644 --- a/pmd-eclipse-plugin/pmd-eclipse/RELNOTES.txt +++ b/pmd-eclipse-plugin/pmd-eclipse/RELNOTES.txt @@ -8,7 +8,10 @@ NEW Workspace level Rule editor enhanced to show nearly all Rule details, lots of little things. New exclude/include patterns from PMD 4.2 are supported. +Support for storing RuleSets using Rule References (new PMD 4.2) is now default behavior. Projects can now specify a custom ruleset file explicitly, default remains .ruleset +Type Resolution using Project Build Path settings is now possible. To use this feature, the +Eclipse JVM must be able to read the version of .class files produced by the Projects. UPDATE ------ diff --git a/pmd-eclipse-plugin/pmd-eclipse/TODO.txt b/pmd-eclipse-plugin/pmd-eclipse/TODO.txt index 8e24a25b61..08589d5fd6 100644 --- a/pmd-eclipse-plugin/pmd-eclipse/TODO.txt +++ b/pmd-eclipse-plugin/pmd-eclipse/TODO.txt @@ -2,6 +2,8 @@ ### Short term (before next release) ### +Need to add support for disabling of Java Project Build Path by PMD, in case user cannot run Eclipse using JVM capable of reading Project .class files. + ### ### Medium term (following release, or soon after) ###