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
This commit is contained in:
Ryan Gustafson
2008-02-27 23:16:24 +00:00
parent d98eb82208
commit 63bbc45c1d

View File

@@ -504,7 +504,11 @@ public class PMDPropertyPage extends PropertyPage {
// log.debug("Adding rule " + rule.getName() + " in the project ruleset");
}
}
final RuleSet activeRuleSet = model.getProjectRuleSet();
ruleSet.addExcludePatterns(activeRuleSet.getExcludePatterns());
ruleSet.addIncludePatterns(activeRuleSet.getIncludePatterns());
return ruleSet;
}