Browse Source

If we depracte 'style' we shouldnt use it for ourself :)

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278402 13f79535-47bb-0310-9956-ffa450edef68
master
Jan Materne 20 years ago
parent
commit
95d33bffac
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      check.xml

+ 8
- 8
check.xml View File

@@ -49,28 +49,28 @@


<target name="htmlreport" description="--> generates a html checkstyle report"> <target name="htmlreport" description="--> generates a html checkstyle report">
<mkdir dir="${checkstyle.reportdir}"/> <mkdir dir="${checkstyle.reportdir}"/>
<style in="${checkstyle.raw}" style="${stylesheet.html}"
<xslt in="${checkstyle.raw}" style="${stylesheet.html}"
out="${checkstyle.reportdir}/html/output.txt"> out="${checkstyle.reportdir}/html/output.txt">
<param name="basedir" expression="${checkstyle.basedir}"/> <param name="basedir" expression="${checkstyle.basedir}"/>
</style>
</xslt>
</target> </target>


<target name="textreport" description="--> generates a text checkstyle report"> <target name="textreport" description="--> generates a text checkstyle report">
<style in="${checkstyle.raw}" style="${stylesheet.text}"
<xslt in="${checkstyle.raw}" style="${stylesheet.text}"
out="${checkstyle.reportdir}/report.txt"> out="${checkstyle.reportdir}/report.txt">
</style>
</xslt>
</target> </target>
<target name="textreport-display" depends="textreport" description="--> generates a text checkstyle report and displays it immediately"> <target name="textreport-display" depends="textreport" description="--> generates a text checkstyle report and displays it immediately">
<loadfile property="report" srcfile="${checkstyle.reportdir}/report.txt"/> <loadfile property="report" srcfile="${checkstyle.reportdir}/report.txt"/>
<echo>${report}</echo> <echo>${report}</echo>
</target> </target>


<target name="xdocreport" description="--> generates a xdoc checkstyle report"> <target name="xdocreport" description="--> generates a xdoc checkstyle report">
<style in="${checkstyle.raw}" style="${stylesheet.xdoc}"
<xslt in="${checkstyle.raw}" style="${stylesheet.xdoc}"
out="${checkstyle.reportdir}/xdocs/index.xml"> out="${checkstyle.reportdir}/xdocs/index.xml">
<param name="basedir" expression="${checkstyle.basedir}"/> <param name="basedir" expression="${checkstyle.basedir}"/>
</style>
</xslt>
</target> </target>


<target name="dumphtml" depends="checkstyle, htmlreport" description="--> runs the checkstyle and generates a html report"/> <target name="dumphtml" depends="checkstyle, htmlreport" description="--> runs the checkstyle and generates a html report"/>
@@ -86,4 +86,4 @@
</simian> </simian>
</target> </target>


</project>
</project>

Loading…
Cancel
Save