[
http://jira.codehaus.org/browse/MPMD-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=219620#action_219620
]
Herve Boutemy commented on MPMD-90:
-----------------------------------
FYI, date selection is only one possibility of a more general [selector feature
of Ant|http://ant.apache.org/manual/CoreTypes/selectors.html].
> Possibility to check classes, chosen with datetime filter
> ---------------------------------------------------------
>
> Key: MPMD-90
> URL: http://jira.codehaus.org/browse/MPMD-90
> Project: Maven 2.x PMD Plugin
> Issue Type: Improvement
> Components: PMD
> Reporter: Sergey Petrovskiy
>
> The goal is to check not all classes of project, but only last commited.
> If I start pmd with Ant, I can define datetime:
> {code:xml}
> <pmd shortFilenames="false">
> <ruleset>rulesets/basic.xml</ruleset>
> <ruleset>rulesets/unusedcode.xml</ruleset>
> <ruleset>rulesets/codesize.xml</ruleset>
> <ruleset>rulesets/imports.xml</ruleset>
> <formatter type="xml" toFile="${qalab.dir}/PMD-report.xml"
> toConsole="true"/>
> <fileset dir="${user.dir}">
> <include name="**/*.java"/>
> <exclude name="**/*Test*.java" />
> <date datetime="${start.qa.day}" when="after"/>
> </fileset>
> </pmd>
> {code}
> I could not find this possibility for maven pmd plugin.
> BTW: the same possibility required in checkstyle plugin.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira