-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 devmode not honoring properties #44400
Comments
/cc @quarkusio/devtools (jbang) |
Ok, it seems that Dev Mode uses a different path: quarkus/core/launcher/src/main/java/io/quarkus/launcher/JBangIntegration.java Lines 27 to 48 in e12a377
|
well that for sure explains why its not honoring any config as it returns early. Now I'm just wondering why it ever worked ...and how we can go about passing in Q:CONFIG properties in devmode...if at all. |
It may have worked before that code? I'm proposing a fix in #44415, which requires us to parse the source file again because we lose the comments section parameter. Also, can you confirm that the hot reload is working? When I change the file, I get an error: |
I guess we are lacking some integration tests |
Describe the bug
I think since #43160
jbang -Dquarkus.dev some.java
does not honor Q:CONFIG.run above using
jbang --fresh basicdev.java
and it will only print ERROR logging, but run it withjbang --fresh -Dquarkus.dev basicdev.java
it prints warn,info and error. As if it completely ignores Q:CONFIGExpected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: