support JAVA_HOME environment variable#756
Conversation
|
@wing328 unfortunately it was not possible to create a PR from the same branch, so i had to fork again. the props of course go to @adnbrownie |
|
is it possible to run a test locally? i am working on windows with the git-bash. i want to get rid of this errors to see exactly whether adjustments to the unit-test are necessary. |
|
it looks to me like i can't do anything about the build problem, can i? a manual generate with the versions that throw errors in the log works locally for me. |
one way is to repeat the issue in your fork. |
|
I am completly new to Github actions. I will do my best. |
|
sorry for messing up this PR but i dont know how to test this build locally. i thought if i do this in my fork this PR is free of my debuggings. i see that the agent is using |
|
this build should be successful |
|
@mok-liee thanks. all tests passed. one more minor request: can you please update the workflow file to run the build on |
|
i will implement this. unfortunately, the weekend will be difficult. i will try next week! |
|
I tried but looks like it will be very difficult as the tests won't work on both windows and linux: #757 e.g. |
|
we will get this merged and find another way to test it on windows later with another PR instead |
|
🎉 This PR is included in version 2.10.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
* support JAVA_HOME environment variable fixes OpenAPITools#661 * test(generator-cmd): add consideration of the JAVA_HOME variable * docs: add instructions for the use of JAVA_HOME * fix: add quotes to accept spaces in the JAVA_HOME path * fix: add quotation marks only for windows paths --------- Co-authored-by: Nils Braune <78608305+adnbrownie@users.noreply.github.com>
* support JAVA_HOME environment variable fixes OpenAPITools#661 * test(generator-cmd): add consideration of the JAVA_HOME variable * docs: add instructions for the use of JAVA_HOME * fix: add quotes to accept spaces in the JAVA_HOME path * fix: add quotation marks only for windows paths --------- Co-authored-by: Nils Braune <78608305+adnbrownie@users.noreply.github.com>

fixes #661