Create checkstyle reports in specifiled folder.

Chaminda Fernando <[email protected]> Mon, 12 Apr 2010 16:01:41 +0100
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <[email protected]>
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