Closed mai1015 closed 2 years ago
Hi,
You can add your customized classes relative path followed by the yeoman strategy you want to apply (here 'skip') to a '.yo-resolve' file located at your root of your project. It will ignore the regen next times: https://www.jhipster.tech/tips/035_tip_combine_generation_and_custom_code.html#pattern-2---split-generated-code-and-custom-code
Overview of the issue
cannot regenerate entity after modify the java file
Motivation for or Use Case
regenerate entity when edit or add extra entity
Reproduce the error
generate project then modify java file like mapper then regenerate the enetity again
Suggest a Fix
allow user to generate only specify entity or force regenerate file.
JHipster Version(s)
7.8.1
JHipster configuration
Entity configuration(s)
entityName.json
files generated in the.jhipster
directory