2
2
3
3
4
4
<!--
5
- | Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/xdoc/anttask.xml.vm at 2025-01-26
5
+ | Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/xdoc/anttask.xml.vm at 2025-02-23
6
6
| Rendered using Apache Maven Fluido Skin 2.0.1
7
7
-->
8
8
< html xmlns ="http://www.w3.org/1999/xhtml " lang ="en ">
20
20
src ="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js "> </ script >
21
21
< script type ="text/javascript " src ="./js/anchors.js "> </ script >
22
22
< script type ="text/javascript " src ="./js/google-analytics.js "> </ script >
23
+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/prettify/r298/prettify.min.js "> </ script >
24
+ < script type ="text/javascript "
25
+ src ="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js "> </ script >
26
+ < link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/prettify/r298/prettify.min.css ">
23
27
< link rel ="icon " href ="./images/favicon.png " type ="image/x-icon " />
24
28
< link rel ="shortcut icon " href ="./images/favicon.ico " type ="image/ico " />
25
29
</ head >
28
32
< header >
29
33
< div id ="banner ">
30
34
< div class ="pull-left "> < div id ="bannerLeft "> < h1 > < a href ="./ "> < img class ="class java.lang.Object " src ="images/header-checkstyle-logo.png " alt ="Checkstyle " /> </ a > </ h1 > </ div > </ div >
31
- < div class ="pull-right "> < div id ="bannerRight "> < h1 > < a href =" ./ " > < img class ="class java.lang.Object " src ="images/header-right-ruller.png " alt ="Checkstyle " /> </ a > </ h1 > </ div > </ div >
35
+ < div class ="pull-right "> < div id ="bannerRight "> < h1 > < img class ="class java.lang.Object " src ="images/header-right-ruller.png " alt ="Checkstyle " /> </ h1 > </ div > </ div >
32
36
< div class ="clear "> < hr /> </ div >
33
37
</ div >
34
38
35
39
< div id ="breadcrumbs ">
36
40
< ul class ="breadcrumb ">
37
- < li id ="publishDate " class ="pull-right "> < span class ="divider "> |</ span > Last Published: 2025-01-26 </ li >
38
- < li id ="projectVersion " class ="pull-right "> < span class ="divider "> |</ span > Version: 10.21.2 </ li >
41
+ < li id ="publishDate " class ="pull-right "> < span class ="divider "> |</ span > Last Published: 2025-02-23 </ li >
42
+ < li id ="projectVersion " class ="pull-right "> < span class ="divider "> |</ span > Version: 10.21.3 </ li >
39
43
< li class ="pull-right "> < a > toTop</ a > </ li >
40
44
</ ul >
41
45
</ div >
@@ -157,7 +161,7 @@ <h1>Installation</h1>
157
161
158
162
< p >
159
163
The easiest way is to include
160
- < code > checkstyle-10.21.2 -all.jar</ code > in the
164
+ < code > checkstyle-10.21.3 -all.jar</ code > in the
161
165
classpath. This contains all the classes required to run
162
166
Checkstyle. Alternatively, you must include the
163
167
< code > compile</ code > third party dependencies listed in < a href ="dependencies.html "> Project Dependencies</ a > in the
@@ -171,10 +175,11 @@ <h1>Installation</h1>
171
175
</ p >
172
176
173
177
174
- < pre class ="prettyprint "> < code >
178
+ < div class ="wrapper ">
179
+ < pre class ="prettyprint "> < code class ="language-xml ">
175
180
<taskdef resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties"
176
- classpath="/path/to/checkstyle-10.21.2 -all.jar"/>
177
- </ code > </ pre >
181
+ classpath="/path/to/checkstyle-10.21.3 -all.jar"/>
182
+ </ code > </ pre > </ div >
178
183
179
184
180
185
< p >
@@ -184,10 +189,11 @@ <h1>Installation</h1>
184
189
</ p >
185
190
186
191
187
- < pre class ="prettyprint "> < code >
192
+ < div class ="wrapper ">
193
+ < pre class ="prettyprint "> < code class ="language-xml ">
188
194
<taskdef
189
195
resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties"/>
190
- </ code > </ pre >
196
+ </ code > </ pre > </ div >
191
197
192
198
193
199
< p >
@@ -198,7 +204,8 @@ <h1>Installation</h1>
198
204
</ p >
199
205
200
206
201
- < pre class ="prettyprint "> < code >
207
+ < div class ="wrapper ">
208
+ < pre class ="prettyprint "> < code class ="language-xml ">
202
209
<project name="foo" ...
203
210
xmlns:cs="antlib:com.puppycrawl.tools.checkstyle.ant">
204
211
...
@@ -207,7 +214,7 @@ <h1>Installation</h1>
207
214
</cs:checkstyle>
208
215
...
209
216
</project>
210
- </ code > </ pre >
217
+ </ code > </ pre > </ div >
211
218
212
219
</ section >
213
220
@@ -567,9 +574,10 @@ <h1>Examples</h1>
567
574
</ p >
568
575
569
576
570
- < pre class ="prettyprint "> < code >
577
+ < div class ="wrapper ">
578
+ < pre class ="prettyprint "> < code class ="language-xml ">
571
579
<checkstyle config="docs/sun_checks.xml" file="Check.java"/>
572
- </ code > </ pre >
580
+ </ code > </ pre > </ div >
573
581
574
582
575
583
< p >
@@ -579,14 +587,15 @@ <h1>Examples</h1>
579
587
</ b >
580
588
</ p >
581
589
582
- < pre class ="prettyprint "> < code >
590
+ < div class ="wrapper ">
591
+ < pre class ="prettyprint "> < code class ="language-xml ">
583
592
<checkstyle config="/path/to/site/sun_checks.xml">
584
593
<fileset dir="src/checkstyle" includes="**/*.java"/>
585
594
586
595
<!-- Location of cache-file. Something that is project specific -->
587
596
<property key="checkstyle.cache.file" file="target/cachefile"/>
588
597
</checkstyle>
589
- </ code > </ pre >
598
+ </ code > </ pre > </ div >
590
599
591
600
592
601
< p >
@@ -595,7 +604,8 @@ <h1>Examples</h1>
595
604
</ b >
596
605
</ p >
597
606
598
- < pre class ="prettyprint "> < code >
607
+ < div class ="wrapper ">
608
+ < pre class ="prettyprint "> < code class ="language-xml ">
599
609
<!-- Somewhere in your config -->
600
610
<path id="project.sourcepath">
601
611
<fileset dir="src"
@@ -608,7 +618,7 @@ <h1>Examples</h1>
608
618
<!-- Refer to a previously defined source path -->
609
619
<path refid="project.sourcepath" />
610
620
</checkstyle>
611
- </ code > </ pre >
621
+ </ code > </ pre > </ div >
612
622
613
623
614
624
< p >
@@ -618,14 +628,15 @@ <h1>Examples</h1>
618
628
</ b >
619
629
</ p >
620
630
621
- < pre class ="prettyprint "> < code >
631
+ < div class ="wrapper ">
632
+ < pre class ="prettyprint "> < code class ="language-xml ">
622
633
<checkstyle config="docs/sun_checks.xml">
623
634
<fileset dir="src/checkstyle" includes="**/*.java"/>
624
635
<formatter type="plain"/>
625
636
<formatter type="xml" toFile="build/checkstyle_errors.xml"/>
626
637
<formatter type="sarif" toFile="build/checkstyle_errors.sarif"/>
627
638
</checkstyle>
628
- </ code > </ pre >
639
+ </ code > </ pre > </ div >
629
640
630
641
631
642
< p >
@@ -636,11 +647,12 @@ <h1>Examples</h1>
636
647
</ b >
637
648
</ p >
638
649
639
- < pre class ="prettyprint "> < code >
650
+ < div class ="wrapper ">
651
+ < pre class ="prettyprint "> < code class ="language-xml ">
640
652
<checkstyle config="docs/sun_checks.xml"
641
653
packageNamesFile="myPackageNames.xml"
642
654
file="Check.java"/>
643
- </ code > </ pre >
655
+ </ code > </ pre > </ div >
644
656
645
657
646
658
< p >
@@ -650,7 +662,8 @@ <h1>Examples</h1>
650
662
</ b >
651
663
</ p >
652
664
653
- < pre class ="prettyprint "> < code >
665
+ < div class ="wrapper ">
666
+ < pre class ="prettyprint "> < code class ="language-xml ">
654
667
<target name="checkstyle"
655
668
description="Generates a report of code convention violations.">
656
669
@@ -681,7 +694,7 @@ <h1>Examples</h1>
681
694
files="checkstyle_report.html"/>
682
695
683
696
</target>
684
- </ code > </ pre >
697
+ </ code > </ pre > </ div >
685
698
686
699
687
700
< p >
0 commit comments