-
-
Notifications
You must be signed in to change notification settings - Fork 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
Remove Java constraint to install and run jhipster cli #10467
Comments
Just tried it in a fresh container with only Node installed.
For me, there is 2 solutions for that:
I don't see what can be done in the main generator for removing these warnings. |
Hi @pascalgrimaud, |
I'm not an expert in blueprint, and as said, it's not recommanded to create your own CLI. About creating an option to add
|
Hi @pascalgrimaud, |
If I'm not wrong, it's the phase "prompt" |
Then, the function that reads the yo-rc.json is here.
For me it's more correct the second way, because if jhipster cli has the option, there is always the problem that the blueprint must be run with the option specifying the yo-rc template path (but because it is customizable for every blueprint it would be inside it, so not provided externally from the user runner). So we can create an AddAllJhipsterConfigFromYoRC function in the jhipster utils |
I close this issue because the solution for the app generator customization is in #10482 |
Overview of the feature request
Hi all wonderful community,
The jhipster CLI required to have installed java on machine to run the generator.
My request is to remove that constraint and change the test framework question:
In
Motivation for or Use Case
I have found a java check called from the general app index.js.
If there are other checks, we need to disable them because there are some blueprints (dotnet and nodejs) that not should require JAVA installed.
In my opionion those checks are not necessary, because when you run maven or gradle wrapper it logs the error and the mandatory installation.
Related issues or PR
The nodejs blueprint issue requires it.
The text was updated successfully, but these errors were encountered: