When I tried to build "docs.zip" using task "docsZip", I found that the files whitch were under directories "html5" and "pdf"
also appeared under directory "spring-framework-reference" within "docs.zip" file.
After debugging, I found that, with config "from (asciidoctor)", task "docsZip" not only copied files under ${project}/build/asciidoc/, but also copied files under ${project}/build/asciidoc/html5/ and ${project}/build/asciidoc/pdf/, so files were copied duplicately.
Besides, unnessesary directories like "images", "tocbot-3.0.2", also appeared under directory "pdf", because the plugin "asciidoctor-gradle-plugin" didn't copy specific per backend.
Affects: 5.0.5
Issue Links:
#21339 docs.zip does not contain resources at the root anymore
Zhang Jie opened SPR-16789 and commented
When I tried to build "docs.zip" using task "docsZip", I found that the files whitch were under directories "html5" and "pdf"
also appeared under directory "spring-framework-reference" within "docs.zip" file.
After debugging, I found that, with config "from (asciidoctor)", task "docsZip" not only copied files under ${project}/build/asciidoc/, but also copied files under ${project}/build/asciidoc/html5/ and ${project}/build/asciidoc/pdf/, so files were copied duplicately.
Besides, unnessesary directories like "images", "tocbot-3.0.2", also appeared under directory "pdf", because the plugin "asciidoctor-gradle-plugin" didn't copy specific per backend.
Affects: 5.0.5
Issue Links:
Referenced from: pull request #1816, and commits edb3333, cdf483f
The text was updated successfully, but these errors were encountered: