Carlos Eduardo
Carlos Eduardo
There you go @guizmaii ... a sample app with zio-http and logback which can generate a native-image... I added all configuration needed in the scala file itself so it can...
Apparently you are using Graal 20 and the `--exclude-config` is available from Graal 23. The "Classes that should be initialized at run time got initialized during image building" error is...
This also happens when using `--log-format=pretty` since the web UI keeps printing in json format: ``` ❯ temporal server start-dev --log-level=warn --log-format=pretty --ip 0.0.0.0 --db-filename /tmp/temporal.db Starting UI server... ____...
I don't get it... will the web logs respect the "log-level" setting?
Yes, I believe so since I looked into the PR that merged the Kotlin kickstart and I think some stuff like the POM compiler parts are injected by the core......
That would be great and waaaay simpler :)
Thanks a lot for your amazingly complete answer Oyvind! That's a great solution using source-layout and sources/resources. Agree with you on nesting the test projects... sometimes we are so used...
Just for documenting, my sample project became: ```yaml # yaml-language-server: $schema=https://raw.githubusercontent.com/oyvindberg/bleep/master/schema.json $schema: https://raw.githubusercontent.com/oyvindberg/bleep/master/schema.json $version: 0.0.2 jvm: name: graalvm-java17:22.3.2 projects: httpserver: dependencies: - dev.zio::zio-http:3.0.0-RC2 - dev.zio::zio:2.0.15 extends: template-common platform: mainClass: ZioHttpApp...
BTW, to make the Json schema work on VSCode using the YAML extension (https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml), you need to either configure VSCode settings itself to load the schema or add a modeline...
Ah yes, it could add the settings above to the project's `.vscode/settings.json` file.