[ https://issues.apache.org/jira/browse/OFBIZ-12758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17689852#comment-17689852 ]
Jacques Le Roux edited comment on OFBIZ-12758 at 2/16/23 5:06 PM: ------------------------------------------------------------------ With locally the below change, I no longer get the error message. But it still does not create any README.adoc files :/ {code:java} @@ -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 { {code} was (Author: jacques.le.roux): With locally the below change, I no longer get the error message. But it still does not create the main README.adoc file :/ {code:java} @@ -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 { {code} > The README.html file is no longer copied on site > ------------------------------------------------ > > Key: OFBIZ-12758 > URL: https://issues.apache.org/jira/browse/OFBIZ-12758 > Project: OFBiz > Issue Type: Bug > Components: site > Affects Versions: 22.01.01, Upcoming Branch > Reporter: Jacques Le Roux > Assignee: Jacques Le Roux > Priority: Major > > It works well locally. There are few warnings in BB, but nothing that should > prevent to generate and copy the file. The other files (CHANGELOG.html and > CONTRIBUTING.html) are present but old (2022-01-11) for CHANGELOG in trunk > (see https://nightlies.apache.org/ofbiz/trunk/readme/html5/). CHANGELOG.html > and CONTRIBUTING.html are OK for 22.01: > https://nightlies.apache.org/ofbiz/next/readme/html5/ > So it seems it's a generating issue rather than a copy issue. > {noformat} > > Task :generateReadmeFiles > 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. > Feb 14, 2023 4:10:30 PM > uri:classloader:/gems/asciidoctor-pdf-1.5.3/lib/asciidoctor/pdf/converter.rb > convert_inline_image > WARNING: could not retrieve remote image: > https://sonarcloud.io/api/project_badges/measure?project=apache_ofbiz-framework&metric=alert_status; > 400 > Feb 14, 2023 4:10:31 PM > uri:classloader:/gems/asciidoctor-pdf-1.5.3/lib/asciidoctor/pdf/converter.rb > convert_paragraph > WARNING: could not embed image: > /tmp/image-20230214-1985344-75nu6k.svg?branch=trunk; image file is an > unrecognised format; install prawn-gmagick gem to add support > Feb 14, 2023 4:10:31 PM > uri:classloader:/gems/asciidoctor-pdf-1.5.3/lib/asciidoctor/pdf/converter.rb > convert_paragraph > WARNING: could not embed image: /tmp/image-20230214-1985344-1l13j8g; image > file is an unrecognised format; install prawn-gmagick gem to add support > {noformat} > WARNING: could not retrieve remote image: > {{[https://sonarcloud.io/api/project_badges/measure?project=apache_ofbiz-framework&metric=alert_status|https://sonarcloud.io/api/project_badges/measure?project=apache_ofbiz-framework&metric=alert_status]; > 400 }} > is weird. Again works locally and OK when clicked (it's then HTML not an > URI). It should be > [https://sonarcloud.io/api/project_badges/measure?project=apache_ofbiz-framework&] > metric=alert_status that works > When entered as is as an URL in browser the error msg is <<"The 'metric' > parameter is missing">> > I wonder why BB change it to > [{{&}}|https://sonarcloud.io/api/project_badges/measure?project=apache_ofbiz-framework&metric=alert_status] > and get lost. > Also in developers.tpl.php the reference to > svn.apache.org/repos/asf/ofbiz/tools/wiki-files/README.md.html is wrong -- This message was sent by Atlassian Jira (v8.20.10#820010)