Re: Create checkstyle reports in specifiled folder.

Oliver Burn <[email protected]> Tue, 13 Apr 2010 12:41:27 +1000
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <[email protected]>
In your example, the variable ${checkstyle.report} controls what directory
files are stored in.

You will need to set this variable in your ANT script.

On Tue, Apr 13, 2010 at 01:01, Chaminda Fernando <[email protected]>wrote:

> I am using  followign ant task to generate check-style report.Even though
>  check-style.xml and HTML  file generate with in correct folder
>  (checkstyle.report) some of other files  like files folder,stylesheet.css,
>  overview-frame.html, index.html are genearte under the root folder.
>
>  How can  i configute  check-style ant target to send above files  to
>  specified folder .
>
>  target name="checkstyle"
>  description="Generates a report of code convention violations.">
>  <checkstyle config="${CheckStyle.home}/sun_checks.xml"
>  failureProperty="checkstyle.failure"
>  failOnViolation="false">
>  <formatter type="xml"
>  tofile="${checkstyle.report}/checkstyle_report.xml"/>
>  <fileset dir="${websource}" includes="**/*.java"/>
>  </checkstyle>
>  <xslt in="${checkstyle.report}/checkstyle_report.xml"
>  out="${checkstyle.report}/checkstyle_report.html"
>  style="${CheckStyle.home}/contrib/checkstyle-simple.xsl"/>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Checkstyle-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/checkstyle-user
>
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
Checkstyle-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user