I am trying to build TC 8.5.24 from source and running into checkstyle
validation issues [1]. I looked at
https://tomcat.apache.org/tomcat-8.5-doc/building.html and couldn't find
anything that suggest that the default target would not build, neither
checkstyle is mentioned. It is not a problem, because i can turn off the
checkstyle validation can be turned off in a custome build.properties with
"execute.validate=false" but I was wondering if the TC devs would like to at
least mention it on the build instructions page OR fix the checkstyle issues....
George
[1]
validate:
[mkdir] Created dir: D:\work\My
Projects\java\Tomcat\8.5.24-src\output\res\checkstyle
[checkstyle] Running Checkstyle 6.17 on 3211 files
[checkstyle] [ERROR] D:\work\My
Projects\java\Tomcat\8.5.24-src\libraries-download\commons-daemon-1.1.0\LICENSE.txt:2:
Line does not match expected header line of '^(rem)?\W*Licensed to the Apache
Software Foundation \(ASF\) under one or mo
re$'. [RegexpHeader]
[checkstyle] [ERROR] D:\work\My
Projects\java\Tomcat\8.5.24-src\libraries-download\commons-daemon-1.1.0\NOTICE.txt:1:
Missing a header - not enough lines in file. [RegexpHeader]
[checkstyle] [ERROR] D:\work\My
Projects\java\Tomcat\8.5.24-src\libraries-download\commons-daemon-1.1.0\apidocs\index-all.html:125:
Line matches the illegal pattern '\s+$'. [RegexpSingleline]
[checkstyle] [ERROR] D:\work\My
Projects\java\Tomcat\8.5.24-src\libraries-download\commons-daemon-1.1.0\apidocs\org\apache\commons\daemon\Daemon.html:200:
Line matches the illegal pattern '\s+$'. [RegexpSingleline]
[checkstyle] [ERROR] D:\work\My
Projects\java\Tomcat\8.5.24-src\libraries-download\commons-daemon-1.1.0\apidocs\org\apache\commons\daemon\DaemonInitException.html:114:
Line matches the illegal pattern '\s+$'. [RegexpSingleline]
[checkstyle] [ERROR] D:\work\My
Projects\java\Tomcat\8.5.24-src\libraries-download\commons-daemon-1.1.0\apidocs\org\apache\commons\daemon\package-summary.html:142:
Line matches the illegal pattern '\s+$'. [RegexpSingleline]
[checkstyle] [ERROR] D:\work\My
Projects\java\Tomcat\8.5.24-src\libraries-download\commons-daemon-1.1.0\apidocs\org\apache\commons\daemon\package-use.html:110:
Line matches the illegal pattern '\s+$'. [RegexpSingleline]
[checkstyle] [ERROR] D:\work\My
Projects\java\Tomcat\8.5.24-src\libraries-download\commons-daemon-1.1.0\apidocs\org\apache\commons\daemon\support\DaemonWrapper.html:247:
Line matches the illegal pattern '\s+$'. [RegexpSingleline]
BUILD FAILED