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 - Unable to pass configuration #41739

Closed
cescoffier opened this issue Jul 7, 2024 · 3 comments
Closed

Jbang - Unable to pass configuration #41739

cescoffier opened this issue Jul 7, 2024 · 3 comments
Labels
area/config area/jbang Issues related to when using jbang.dev with Quarkus kind/bug Something isn't working

Comments

@cescoffier
Copy link
Member

Describe the bug

The configuration cannot be passed anymore when using JBang:

For example, this fails:

//Q:CONFIG working-groups.project-prefix=wg

// ...

    @ConfigProperty(name = "working-groups.project-prefix")
    String prefix;

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
@quarkus-bot quarkus-bot bot added area/config area/jbang Issues related to when using jbang.dev with Quarkus labels Jul 7, 2024
Copy link

quarkus-bot bot commented Jul 7, 2024

/cc @maxandersen (jbang), @quarkusio/devtools (jbang), @radcortez (config)

@maxandersen
Copy link
Member

#30087 duplicate I haven't found good solution for.

Besides using //FILES application.properties

@gastaldi
Copy link
Contributor

gastaldi commented Jul 7, 2024

Duplicates #30087

@gastaldi gastaldi closed this as not planned Won't fix, can't repro, duplicate, stale Jul 7, 2024
cescoffier added a commit to cescoffier/quarkus that referenced this issue Jul 7, 2024
The existing configuration section was not functional due to issue quarkusio#30087. This commit addresses this by documenting alternative methods using `application.properties` or `application.yaml`, as recommended in issue quarkusio#41739.

Additionally, integrating Qute templates was not straightforward. This commit adds a dedicated section to the JBang documentation, providing instructions on how to include and use Qute templates.
holly-cummins pushed a commit to holly-cummins/quarkus that referenced this issue Jul 31, 2024
The existing configuration section was not functional due to issue quarkusio#30087. This commit addresses this by documenting alternative methods using `application.properties` or `application.yaml`, as recommended in issue quarkusio#41739.

Additionally, integrating Qute templates was not straightforward. This commit adds a dedicated section to the JBang documentation, providing instructions on how to include and use Qute templates.
danielsoro pushed a commit to danielsoro/quarkus that referenced this issue Sep 20, 2024
The existing configuration section was not functional due to issue quarkusio#30087. This commit addresses this by documenting alternative methods using `application.properties` or `application.yaml`, as recommended in issue quarkusio#41739.

Additionally, integrating Qute templates was not straightforward. This commit adds a dedicated section to the JBang documentation, providing instructions on how to include and use Qute templates.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/config area/jbang Issues related to when using jbang.dev with Quarkus kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants