This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 7dba6ac5d8 Improved: fix a PDF generation issue with Buildbot too now
7dba6ac5d8 is described below
commit 7dba6ac5d87783c1209e84189d1d57996b82737e
Author: Jacques Le Roux <[email protected]>
AuthorDate: Sat Oct 4 13:27:26 2025 +0200
Improved: fix a PDF generation issue with Buildbot too now
Comments out <<backends = ['html5'] >>
this is the default, so for now outputOptions is not needed
We could get back to generate PDF too if we upgrade Gradle, not sure...
---
build.gradle | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/build.gradle b/build.gradle
index 37646a712a..4a8a489e7b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -557,7 +557,7 @@ tasks.withType(AsciidoctorTask) { task ->
jvm {
jvmArgs("--add-opens","java.base/sun.nio.ch=ALL-UNNAMED","--add-opens","java.base/java.io=ALL-UNNAMED")
}
- outputOptions {
+// outputOptions {
// // I hate we have to do this - but JRuby (asciidoctorj-pdf) and
Windows don't mix well
// if (System.properties['os.name'].toLowerCase().contains('windows')) {
// backends = ['html5']
@@ -569,8 +569,8 @@ tasks.withType(AsciidoctorTask) { task ->
// at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
// at
RUBY.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85)
// at RUBY.<main>(<script>:1)
- backends = ['html5']
- }
+// backends = ['html5'] // this is the default, so for now
outputOptions is not needed
+// }
attributes \
'doctype': 'book',
'revnumber': getCurrentGitBranch(),