I am new to JBake, so perhaps I did something wrong. But I don't think so. This seems simple and straightforward: clone project, build, and fail on a Mac with Apple Silicon chip.
In IntelliJ IDEA 2025.1 RC (Ultimate Edition), on macOS Sequoia 15.4 with chip M1 Pro, with Java 17.0.4 Corretto, I did this:
- IntelliJ performed a git clone of https://github.com/jbake-org/jbake.git
- In the Gradle pane of IntelliJ, I ran bake-base > Tasks > clean
- In the Gradle pane of IntelliJ, I ran bake-base > Tasks > build
The smoke tests for templating in Thymeleaf, FreeMarker, and Jade all passed. But these two tests failed:
- shouldBakeWithProject[ groovy ]
- shouldBakeWithProject[ groovy-mte ]
In both cases, the error message was:
org.opentest4j.AssertionFailedError:
expected: 0
but was: 1
Workaround: In BuiltInProjectsTest.java file, comment out lines 40 & 41 to eliminate the "groovy" & "groovy-mte" array elements. This effectively omits these two templating systems from the smoke tests. The project then builds, tests pass.
// {"groovy", "gsp"},
// {"groovy-mte", "tpl"}
This should be easy for anyone to replicate. My first time posting an issue, so let me know if I can improve.
I am new to JBake, so perhaps I did something wrong. But I don't think so. This seems simple and straightforward: clone project, build, and fail on a Mac with Apple Silicon chip.
In IntelliJ IDEA 2025.1 RC (Ultimate Edition), on macOS Sequoia 15.4 with chip M1 Pro, with Java 17.0.4 Corretto, I did this:
The smoke tests for templating in Thymeleaf, FreeMarker, and Jade all passed. But these two tests failed:
In both cases, the error message was:
Workaround: In
BuiltInProjectsTest.javafile, comment out lines 40 & 41 to eliminate the "groovy" & "groovy-mte" array elements. This effectively omits these two templating systems from the smoke tests. The project then builds, tests pass.This should be easy for anyone to replicate. My first time posting an issue, so let me know if I can improve.