-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Properties with commas in the value #2224
Comments
You should be able to escape commas already with a
Feel free to reopen if that doesn't work for some reason. |
Hmm, actually, when you said "properties" I assumed you meant system properties. Is this about the JVM flags in the entrypoint itself? Maybe this actually could be a problem. |
I set <container>
<jvmFlags>
<flag>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005</flag>
</jvmFlags>
</container> and the entrypoint I get from
which is correct. So I think @ionfist was talking about system properties passed with |
The problem is if you use
Since |
Hello,
This did the trick, thank you very much!
Both seem to work, anyway thanks for the prompt help! |
Not sure if that is related to command line properties but building an image using
leads to the following entrypoint:
(note that the double backslashes are created by While using
splits them into individual arguments.
Both of which will not work and make it impossible to actually specify |
Yeah, as I mentioned in #2224 (comment), I see this is still the problem when providing a list or map value on the command-line. |
Will be fixed by #3522. Until that is merged and we release a new version, please use a workaround utilizing a Maven profile. |
Environment:
Description of the issue:
Cannot specify a property with comma in the value. Looking at the code it looks very simple, it would be good if there was a way to be able to specify comma as a value by, somehow, escaping it.
Expected behavior:
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
The above will split the jvmFlags on each comma. It would be nice if one can escape the commas and pass the whole value as is.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: