@@ -11,17 +11,17 @@ Just with `javac` and `jar`.
1111
1212    For the following steps, it is assumed, you are in that directory.
1313
14- 2 .   Get the binary distribution of PMD from < https://github.com/pmd/pmd/releases > , e.g. pmd-dist-7.0 .0-bin.zip:
14+ 2 .   Get the binary distribution of PMD from < https://github.com/pmd/pmd/releases > , e.g. pmd-dist-7.4 .0-bin.zip:
1515
16-         $ wget https://github.com/pmd/pmd/releases/download/pmd_releases%2F7.0 .0/pmd-dist-7.0 .0-bin.zip 
16+         $ wget https://github.com/pmd/pmd/releases/download/pmd_releases%2F7.4 .0/pmd-dist-7.4 .0-bin.zip 
1717
18- 3 .   Extract the zip file, e.g. ` unzip pmd-dist-7.0 .0-bin.zip ` 
18+ 3 .   Extract the zip file, e.g. ` unzip pmd-dist-7.4 .0-bin.zip ` 
1919
20-         $ unzip pmd-dist-7.0 .0-bin.zip 
20+         $ unzip pmd-dist-7.4 .0-bin.zip 
2121
22- 4 .   Now, the pmd binaries are installed under ` ~/code/pmd-bin-7.0 .0 ` .
22+ 4 .   Now, the pmd binaries are installed under ` ~/code/pmd-bin-7.4 .0 ` .
2323
24-     This also includes the libraries in ` ~/code/pmd-bin-7.0 .0/lib ` .
24+     This also includes the libraries in ` ~/code/pmd-bin-7.4 .0/lib ` .
2525
2626## Get the code from this example and build it  
2727
@@ -37,7 +37,7 @@ Just with `javac` and `jar`.
3737
38383 .   Compile the sources, that are located in ` src ` , using the PMD libraries
3939
40-         $ javac -d build -cp '../../../pmd-bin-7.0 .0/lib/*' src/*.java 
40+         $ javac -d build -cp '../../../pmd-bin-7.4 .0/lib/*' src/*.java 
4141
42424 .   Create a jar file
4343
@@ -48,5 +48,5 @@ Just with `javac` and `jar`.
4848
49491 .   Run PMD with the just created jar file on the classpath, e.g. on the folder ` testsrc ` 
5050
51-         $ CLASSPATH=custom-rule-example.jar ../../pmd-bin-7.0 .0/bin/pmd check --no-cache -f text -d testsrc -R myrule.xml 
51+         $ CLASSPATH=custom-rule-example.jar ../../pmd-bin-7.4 .0/bin/pmd check --no-cache -f text -d testsrc -R myrule.xml 
5252        /home/andreas/code/pmd-examples/testsrc/Test.java:2:	Avoid the identifier foo. 
0 commit comments