-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors and warnings in javadoc during verification build #1109
Comments
similar to #1103 (?) |
These are not similar, what @merks posted here is actually & that is not escaped aka & amp; |
I noticed very many such errors, ones that apparent to have been around for a very long time. It seems only the verification build logs/reports these errors, which really do look like things that ought to be fixed because it's really annoying for the verification build to be a sea of errors which appear to be ignored in terms of the build success/failure making it hard to find the "real" errors if any... |
Where do you see it ? E.g. in https://github.com/eclipse-platform/eclipse.platform.ui/pull/1099/checks?check_run_id=16887602248 I don't see them. |
Javadoc is still in terrible state and was even worse and I've spent days improving it bit by bit which is extremely tedious process. It got to a state where "certain" things are clean and new issues fail the build so I would like first to get to a point where verifications are stable so people don't have an excuse to ignore them. |
Why are Javadoc errors not "real"? ... the inital purpose of this is/was to make people aware of Javadoc errors that otherwise only reported on the next i-build (if one looks there at the logs). Nerveless no one really needs to scan the logs, we have scanners for this for example here (the linked PR is already merged so build logs are gone): https://ci.eclipse.org/platform/job/eclipse.platform.ui/job/master/23/ Also if you look at the summary here you get some parsed problems, I did this mostly for API Tools Errors/Warnings: https://github.com/eclipse-platform/eclipse.platform.ui/actions/runs/6171755924 Also the Github Action Checks give a comprehensive summary for the cautious reviewer: |
This is why I put "real" in quotes. Obviously they are real yet this has been this way for a long time. Clearly I did scan logs or I would not have been able to copy and paste the log content into this issue. The question now is why did I find such errors in "the log" yet the current the logs says everything is fine and good. Moreover, is it a "real" problem to use & in Javadoc directly rather than using & or is it not "real" a problem? And, if not a "real" problem, why was the log I saw full of such errors? If I'd known the problem of reported Javadoc errors wasn't generally reproducible, I would have take more care to keep track of where I found the errors... |
If you use the ampersand inside html tags, yes and that's what the tool complains about see: https://docs.oracle.com/javase/8/docs/technotes/tools/windows/javadoc.html > Write Comments in HTML
about reproducibility, as we have special builds that replace artifacts with baseline a tool like javadoc might decide to not run because everything seems up-to-date, but that's only a guess unless one can see a build log of "not reproducibility" (please note that this is a special maven term and eclipse builds are in general not reproducible anyways) |
By the way I noticed some unnecessary maven warnings in the logs, should be fixed with: |
I created an issue at p2 as well about another source of many warnings that fill the log here: |
If I scan the consoleLog of the build I see this error:
so it seems to be well reproducible but the Jenkins Javadoc scanner seems not to find it. by the way, currently the build is configured to not fails on javadoc problems ... so that why it show as |
Excellent detective work! |
It seems even that this is specific to the HTML encoding problem where it is currently not handled so nice in this PR I see javadoc annotations just as expected: (not that it seems people are bothering much more either if they are shown ;-) |
When building #1108 the following errors and warnings are reported:
The text was updated successfully, but these errors were encountered: