arc42-generator icon indicating copy to clipboard operation
arc42-generator copied to clipboard

build is currently broken

Open gernotstarke opened this issue 4 months ago • 2 comments

The build currently encounters SEVERAL problems:

the local build behaves differently from the GitPod version (details see below) Local build issues The local build yields the following error after following the build-instructions from arc42-generator/readme verbatim:

Task :CZ:plain:generateDocbook 2025-07-14T20:40:38.216+02:00 [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. Converting /Users/gernotstarke/projects/arc42/arc42-generator/build/src_gen/CZ/asciidoc/plain/src/arc42-template.adoc Juli 14, 2025 8:40:38 PM uri:classloader:/gems/asciidoctor-2.0.18/lib/asciidoctor/reader.rb preprocess_include_directive SCHWERWIEGEND: arc42-template.adoc: line 17: include file not found: /Users/gernotstarke/projects/arc42/arc42-generator/build/src_gen/CZ/common/styles/arc42-help-style.adoc include file not found: /Users/gernotstarke/projects/arc42/arc42-generator/build/src_gen/CZ/common/styles/arc42-help-style.adoc :: arc42-template.adoc :: /Users/gernotstarke/projects/arc42/arc42-generator/build/src_gen/CZ/asciidoc/plain//Users/gernotstarke/projects/arc42/arc42-generator/build/src_gen/CZ/asciidoc/plain/src/arc42-template.adoc:17 (uri:classloader:/gems/asciidoctor-2.0.18/lib/asciidoctor/reader.rb:preprocess_include_directive)

Task :CZ:plain:convert2Docx FAILED

FAILURE: Build failed with an exception.

Gitpod build issues the revnumber (defined in version.properties) is not recognized in the output documents, there the version number is always "unknown" (although 9.0 or 8.x is defined in the language specific version.properties files)

Unresolved directive in arc42-template.adoc - include::../../common/styles/arc42-help-style.adoc{[}{]}

Please note: although this bug is blocking the release of V9, it is not urgent (as version 8 is working for everybody).

The build instructions are documented in readme.adoc, one has to update the submodules first, then create the GoldenMaster, and only then call the arc42 gradle target.

gernotstarke avatar Jul 15 '25 09:07 gernotstarke

the latest change should fix the problems with the common folder for gipod und github codespaces. It does not fix the revnumber yet.

rdmueller avatar Jul 25 '25 20:07 rdmueller

the latest change now fixes the version properties for gitpod and github codespaces. I guess this will also fix the local build

rdmueller avatar Jul 25 '25 21:07 rdmueller