I am having issues using the "entity" sub generator when attempting update an existing entity.
After running:
jhipster entity <existingEntity>
..and answering the subsequent questions e.g. "Yes, add more fields and relationships", I am asked if I want to overwrite files (which I do), however one of those is master.xml. It adds 2 new entries:
include file="classpath:config/liquibase/changelog/20170604231923_added_entity_Car.xml" relativeToChangelogFile="false"/>
And
include file="classpath:config/liquibase/changelog/20170604231923_added_entity_constraints_Car.xml" relativeToChangelogFile="false"/>
This is in addition to:
include file="config/liquibase/changelog/20170604231923_added_entity_Car.xml" relativeToChangelogFile="false"/>
And
include file="config/liquibase/changelog/20170604231923_added_entity_constraints_Car.xml" relativeToChangelogFile="false"/>
... which already existed (from JDL import).
They both refer to the same files. Except the new entries include classpath. Anyway, the end result when selecting overwrite and doing a mvn clean install are errors about the entity and constraints already existing (as you would expect). Am I missing a trick here? Should I be not allowing the overwrite in this case? (I had assumed this would just work).
JHipster version is 4.6.2 (I recently updated it) and I've not used the sub generator before as originally did an import from JDL studio.
Thanks in advance for any help you can give.