On Thu, Apr 12, 2012 at 12:29 PM, Wayne Fay <[email protected]> wrote:
> Disclaimer: I don't use Checkstyle as a primary component in my builds.
>
>>        <property name="cacheFile" value="${checkstyle.cache.file}"/>
>>        <property name="cacheFile" value="${cacheFile}"/>
>
> Did you try leaving cacheFile out entirely? Did you try setting
> value=""? Samples at the Checkstyle site show
> value="target/cachefile", did you try that?

Are you running into http://jira.codehaus.org/browse/MCHECKSTYLE-159?

While I use Checkstyle, I have never set cacheFile myself and not sure
why you would.

In order to use the magic of property expansion, i.e. ${}, you need to
add a configuration section to the checkstyle plugin as documented in
the above JIRA, and define the key/vale pair for the expansion.
BEWARE: the comments in the Jira have a typo for the expansion, which
someone notes in a sub-comment.

Are you using the latest version of the checkstyle plugin?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to