Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JBang + Qute - Where should be the templates? #41740

Closed
cescoffier opened this issue Jul 7, 2024 · 3 comments · Fixed by #41744
Closed

JBang + Qute - Where should be the templates? #41740

cescoffier opened this issue Jul 7, 2024 · 3 comments · Fixed by #41744
Labels
area/jbang Issues related to when using jbang.dev with Quarkus area/qute The template engine kind/question Further information is requested
Milestone

Comments

@cescoffier
Copy link
Member

Describe the bug

It's more a question than a bug.

Where should the templates directory be when using JBang with Qute? I can recreate my Qute Engine, but I want to avoid this.

I tried in the src directory alongside my main.java file. I also tried from the root directory. None of them worked. It's more

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@cescoffier cescoffier added the kind/bug Something isn't working label Jul 7, 2024
Copy link

quarkus-bot bot commented Jul 7, 2024

/cc @maxandersen (jbang), @mkouba (qute), @quarkusio/devtools (jbang)

@quarkus-bot quarkus-bot bot added area/jbang Issues related to when using jbang.dev with Quarkus area/qute The template engine labels Jul 7, 2024
@ia3andy
Copy link
Contributor

ia3andy commented Jul 7, 2024

@maxandersen
Copy link
Member

You need to map in using //FILES as Andy shows. The locations are what quarkus uses anyway in the jar.

That will make it work at build/runtime but devmode might make assumptions that sources are in some special hardcode place dependent on how the extension you use are implemented.

@gastaldi gastaldi added kind/question Further information is requested and removed kind/bug Something isn't working labels Jul 7, 2024
@quarkus-bot quarkus-bot bot added this to the 3.13 - main milestone Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/jbang Issues related to when using jbang.dev with Quarkus area/qute The template engine kind/question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants