On 17/10/2023 16:36, Mark Thomas wrote:

It looks like Javadoc generation is different between Linux and Windows with Java 21. That is still causing issues for the full-docs package for Tomcat 11. I'm still looking into options for fixing that. Other than that, I'm not seeing any reproducibility issues for those files.

I've got as far as figuring out what is causing the problem.

This commit

https://github.com/openjdk/jdk/commit/e9f3e325c274f19b0f6eceea2367708e3be689e9

causes the files from $JAVA_HOME/legal/jdk.javadoc to be added to the legal directory in the created javadoc. In Linux, some of those files are symlinks so the entire file gets copied whereas in Windows some of those files are text files that reference the symlink target.

I am currently leaning towards writing an Ant task that will replace those "link" files on Windows with the target of the link. It will need to run after the Javadoc.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to