-
Notifications
You must be signed in to change notification settings - Fork 135
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
jvm options in ${name}.l4j.ini are not recognized on macOS #335
Comments
Hi @kia! The JavaPackager/src/main/resources/mac/Info.plist.vtl Lines 114 to 115 in fa1ca46
and stores the value in a variable of the same name ( JavaPackager/src/main/resources/mac/universalJavaApplicationStub.sh Lines 247 to 248 in fa1ca46
As can be seen here, the variable The problem is that the # read options file name
JVMOptionsFile=$(plist_get_java ':JVMOptionsFile')
JVMOptionsFile=$(eval echo "${JVMOptionsFile}") # I missed this line I hope I have explained myself! 😅 I am working on it!!! |
Ok, just fixed in If it works fine for you, this fix will be released in v1.7.3. |
Hi @fvarrui , |
Hi @fvarrui , best, |
Great 😃 |
Merged into |
1.7.3 released to Maven Central |
Hi @fvarrui Am i missing some configuration details that i have to consider in the new Version? The very last step during packaging seems to rename the build artifact jar file.
best, |
Ok, lets open a new issue for this, and I'll try to reproduce this issue in order to find out what's happening. |
I'm submitting a…
Short description:
the jvm options in ${name}.l4j.ini are not recognized on macOS:
Steps to reproduce the issue/enhancement:
take this source code as an example
java-packager-example.zip
mvn clean package
target/deploy/java-packager-example/java-packager-example
What is the expected behavior?
output:
hello.world: HelloWorld
What is the current behavior?
on Linux as above but on Mac
hello.world: null
Do you have outputs, screenshots, demos or samples which demonstrate the problem or enhancement?
see above
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Other information (e.g. related issues, suggestions how to fix, links for us to have context)
The text was updated successfully, but these errors were encountered: