[ 
https://jira.codehaus.org/browse/MCHECKSTYLE-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte updated MCHECKSTYLE-107:
---------------------------------------

    Description: 
The goal is to check not all classes of project, but only last commited.

If I start checkstyle with ant, I can define datetime:
{code:xml}
        <checkstyle config="${env.LOCAL_HOME}/ICC.checks.xml" 
failOnViolation="false">
          <fileset dir="${user.dir}">
            <include name="**/*.java"/>
            <exclude name="**/*Test*.java" />
            <date datetime="${start.qa.day}" when="after"/>
          </fileset>
          <formatter type="xml" tofile="${qalab.dir}/checkstyle-report.xml"/>
        </checkstyle>
{code}
I could not find this possibility for maven pmd plugin.

BTW: the same possibility required in PMD plugin.

  was:
The goal is to check not all classes of project, but only last commited.

If I start checkstyle with ant, I can define datetime:

        <checkstyle config="${env.LOCAL_HOME}/ICC.checks.xml" 
failOnViolation="false">
          <fileset dir="${user.dir}">
            <include name="**/*.java"/>
            <exclude name="**/*Test*.java" />
            <date datetime="${start.qa.day}" when="after"/>
          </fileset>
          <formatter type="xml" tofile="${qalab.dir}/checkstyle-report.xml"/>
        </checkstyle>

I could not find this possibility for maven pmd plugin.

BTW: the same possibility required in PMD plugin.


> Possibility to check classes, chosen with datetime filter
> ---------------------------------------------------------
>
>                 Key: MCHECKSTYLE-107
>                 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-107
>             Project: Maven Checkstyle Plugin
>          Issue Type: Improvement
>            Reporter: Sergey Petrovskiy
>
> The goal is to check not all classes of project, but only last commited.
> If I start checkstyle with ant, I can define datetime:
> {code:xml}
>         <checkstyle config="${env.LOCAL_HOME}/ICC.checks.xml" 
> failOnViolation="false">
>           <fileset dir="${user.dir}">
>             <include name="**/*.java"/>
>             <exclude name="**/*Test*.java" />
>             <date datetime="${start.qa.day}" when="after"/>
>           </fileset>
>           <formatter type="xml" tofile="${qalab.dir}/checkstyle-report.xml"/>
>         </checkstyle>
> {code}
> I could not find this possibility for maven pmd plugin.
> BTW: the same possibility required in PMD plugin.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to