You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2023/02/16 18:12:08 UTC
[ofbiz-framework] branch trunk updated: Fixed: The README.html file is no longer copied on site (OFBIZ-12758)
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 b63f7e229c Fixed: The README.html file is no longer copied on site (OFBIZ-12758)
b63f7e229c is described below
commit b63f7e229c8693cfe4398e1da8e4cfcb610b3f3d
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Thu Feb 16 19:08:08 2023 +0100
Fixed: The README.html file is no longer copied on site (OFBIZ-12758)
The warning below was (hopefully) preventing to generate the HTML files
2023-02-14T16:10:20.983Z [main] WARN FilenoUtil :
Native subprocess control requires open access to the JDK IO subsystem
Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED
--add-opens java.base/java.io=ALL-UNNAMED' to enable.
Let's see how it goes on BB...
---
build.gradle | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/build.gradle b/build.gradle
index 31af6dcb19..570a5ff70f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -590,6 +590,10 @@ task createTenant(group: ofbizServer, description: 'Create a new tenant in your
// ========== Documentation tasks ==========
tasks.withType(AsciidoctorTask) { task ->
+ inProcess = JAVA_EXEC
+ forkOptions {
+ jvmArgs("--add-opens","java.base/sun.nio.ch=ALL-UNNAMED","--add-opens","java.base/java.io=ALL-UNNAMED")
+ }
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')) {