54 Commits

Author SHA1 Message Date
Ryan Gustafson
508e7ca7e2 Preserve checked rules across table sorts on Project PMD Preferences.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5900 51baf565-9d33-0410-a72c-fc3788e3496d
2008-03-15 08:31:13 +00:00
Ryan Gustafson
e9ccc61428 Fix 1909929 - clean violation review is not selective enough
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5889 51baf565-9d33-0410-a72c-fc3788e3496d
2008-03-11 01:21:18 +00:00
Ryan Gustafson
8c0e1d6b3d Fix 1909929 - clean violation review is not selective enough
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5888 51baf565-9d33-0410-a72c-fc3788e3496d
2008-03-11 01:21:10 +00:00
Ryan Gustafson
1e810aa4e1 Correct logger class.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5887 51baf565-9d33-0410-a72c-fc3788e3496d
2008-03-10 08:53:19 +00:00
Ryan Gustafson
058b983b55 Don't die when selecting multiple projects, and one happens to be a non-Java project.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5886 51baf565-9d33-0410-a72c-fc3788e3496d
2008-03-10 06:59:34 +00:00
Xavier Le Vourch
7bfac6fd95 version updated to 3.2.4.v200803071500
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5883 51baf565-9d33-0410-a72c-fc3788e3496d
2008-03-07 23:06:44 +00:00
Xavier Le Vourch
9cdb5b2f8d version updated to 3.2.4.v200803071500
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5882 51baf565-9d33-0410-a72c-fc3788e3496d
2008-03-07 23:05:10 +00:00
Xavier Le Vourch
25fe8e6021 update to pmd 4.2rc1
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5881 51baf565-9d33-0410-a72c-fc3788e3496d
2008-03-07 22:40:03 +00:00
Romain Pelisse
dea79a1e39 Some "french" fixes in the messages.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5831 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-29 10:11:51 +00:00
Ryan Gustafson
4f89fdf8e6 Remove Workspace Preference DFA option, use DataflowAnomalyAnalysis rule instead
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5830 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-28 21:07:12 +00:00
Ryan Gustafson
5a9b99b353 Remove Workspace Preference DFA option, use DataflowAnomalyAnalysis rule instead
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5829 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-28 21:06:57 +00:00
Ryan Gustafson
103f965181 Remove Workspace Preference DFA option, use DataflowAnomalyAnalysis rule instead
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5828 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-28 21:06:50 +00:00
Ryan Gustafson
21d99c90af Allow enabling/disabling of use of Project Build Path as a Workspace PMD Preference.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5827 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-28 20:49:30 +00:00
Ryan Gustafson
3aa436aad2 Allow enabling/disabling of use of Project Build Path as a Workspace PMD Preference.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5826 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-28 20:49:20 +00:00
Ryan Gustafson
d14bed6bcb Allow enabling/disabling of use of Project Build Path as a Workspace PMD Preference.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5825 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-28 20:49:11 +00:00
Ryan Gustafson
f169b96678 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@5822 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-28 09:56:35 +00:00
Ryan Gustafson
f02e2f8cdc 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
2008-02-28 09:56:19 +00:00
Ryan Gustafson
9fe5813354 Fix 1903578 - Ensure plugin XML element ids are unique with the document.
Gah, guess those IDs are used in the code.  Reverted them to the minimum changes needed to fix the message from Eclipse.  I checked to ensure the changed IDs are not referenced in the code.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5818 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-28 04:46:07 +00:00
Ryan Gustafson
ac62ff53e5 Fix 1903578 - Ensure plugin XML element ids are unique with the document.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5816 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-28 02:19:22 +00:00
Ryan Gustafson
e4c2307bee Fix 1903578 - Ensure plugin XML element ids are unique with the document.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5815 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-28 02:19:08 +00:00
Ryan Gustafson
d0b4574c25 Changes to Workspace exclude/include patterns are now reflected on the Projects.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5814 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-27 23:17:41 +00:00
Ryan Gustafson
7ec60e57e3 Changes to Workspace exclude/include patterns are now reflected on the Projects.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5813 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-27 23:17:03 +00:00
Ryan Gustafson
a54b05b00a Changes to Workspace exclude/include patterns are now reflected on the Projects.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5812 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-27 23:16:41 +00:00
Ryan Gustafson
63bbc45c1d Changes to Workspace exclude/include patterns are now reflected on the Projects.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5811 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-27 23:16:24 +00:00
Ryan Gustafson
e99bde6f5f Message updates.
Last commit in the series.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5809 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-27 20:59:00 +00:00
Ryan Gustafson
34a7478ccb Update plugin version numbers in prep for next release.
Whole lotta UI updates.  See CHANGELOG.txt from pmd-eclipse project for full details.

This is Part 5 of a large series of commits.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5808 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-27 20:55:42 +00:00
Ryan Gustafson
787e30a954 Update plugin version numbers in prep for next release.
Use new standard PMD core ruleset serialization.
Provide java.io.File on RuleContext to support new PMD exclude/include mechanism.
Error type PMD Violations now show in Problems View for manual PMD invocations.
Use Rule references when building RuleSets, instead of Rule copies.
Add support for tracking RuleSet file on project properties.

Part 4 of a large series of commits.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5807 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-27 20:45:15 +00:00
Ryan Gustafson
303546c0cd Update plugin version numbers in prep for next release. Add trunk version of PMD, update once PMD 4.2 is out.
This is Part 3 of a large series of commits.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5806 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-27 19:53:47 +00:00
Ryan Gustafson
32929d250c Update plugin version numbers in prep for next release.
This is Part 2 of a large series of commits.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5805 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-27 19:49:46 +00:00
Ryan Gustafson
21c1d62926 Update plugin version numbers in prep for next release. Added TODO.txt initialized with thoughts on various things to look at in the future. Change log and release notes updated.
This is Part 1 of a large series of commits.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5804 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-27 19:49:00 +00:00
Ryan Gustafson
201f6b518c More detailed performance metric logging.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5803 51baf565-9d33-0410-a72c-fc3788e3496d
2008-02-27 19:41:09 +00:00
Xavier Le Vourch
b9d265a5aa Fix 1811828 RuntimeException in RuleSetFactory: default ruleset is used on error
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5698 51baf565-9d33-0410-a72c-fc3788e3496d
2007-12-12 23:12:40 +00:00
Xavier Le Vourch
e7bc8c7585 rerelease of pmd-eclipse 3.2.3 as previous version was compiled with jdk 1.6 by mistake
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5690 51baf565-9d33-0410-a72c-fc3788e3496d
2007-12-04 19:53:00 +00:00
Xavier Le Vourch
f679175f53 3.2.3 release date added
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5687 51baf565-9d33-0410-a72c-fc3788e3496d
2007-12-02 23:07:13 +00:00
Xavier Le Vourch
65bc7b0364 preparing eclipse plugin 3.2.3 release
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5686 51baf565-9d33-0410-a72c-fc3788e3496d
2007-12-02 22:50:36 +00:00
Xavier Le Vourch
282c546c2a bug fix: changing properties didn't trigger a rebuild prompt
Both the working set and "ruleSetStoredInProject" properties were ignored

Fixes: [ 1661524 ] Working set functionality doesn't work


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5685 51baf565-9d33-0410-a72c-fc3788e3496d
2007-12-02 20:19:32 +00:00
Xavier Le Vourch
b274df49ec use pmd core to test supported jdk values -> no need to keep updating the
code here for newly supported jdk versions.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5684 51baf565-9d33-0410-a72c-fc3788e3496d
2007-12-02 19:19:20 +00:00
Xavier Le Vourch
649d1a0751 support for jdk 1.6 added
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5683 51baf565-9d33-0410-a72c-fc3788e3496d
2007-12-02 04:11:15 +00:00
Xavier Le Vourch
ddf7d7c3a0 version update
changelog and release notes updated


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5679 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-29 06:47:39 +00:00
Xavier Le Vourch
00a259ab1c commons-logging update to 1.1.1
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5678 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-29 06:27:41 +00:00
Xavier Le Vourch
f8ab749979 4.1 doc update
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5677 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-29 03:24:23 +00:00
Xavier Le Vourch
bed4224563 new version number 3.2.3.alpha-200711191800
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5666 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-20 02:04:36 +00:00
Xavier Le Vourch
1fbc00927e bug fix: create new log appender in applyLogPreferences() if configureLogs() didn't manage to set it earlier
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5665 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-20 02:03:14 +00:00
Xavier Le Vourch
ff739f6cc7 pmd updated to 4.1
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5659 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-18 02:40:13 +00:00
Xavier Le Vourch
7488e9537d dependences updates: castor -> 1.1.2.1, log4j -> 1.2.15
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5643 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-12 17:35:46 +00:00
Xavier Le Vourch
741aca9fa8 code cleanup: junit rules output...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5625 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-03 00:25:45 +00:00
Xavier Le Vourch
74245a2c4a new rules added in basic.xml
output is now indented


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5624 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-03 00:25:13 +00:00
Xavier Le Vourch
a0c9856f4c change version info to 3.2.3.alpha-20071102-1
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5623 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-02 22:51:02 +00:00
Xavier Le Vourch
6c83a0d9e2 code cleanup: pmd violations removed
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5622 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-02 22:45:25 +00:00
Xavier Le Vourch
3b27635bf8 indentation is used when writing xml rulesets files
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5621 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-02 21:55:22 +00:00