Hello,
The usual order of tasks is to Add Spring DSL Code Generation Capabilities first before scaffolding. With that said, the Spring DSL does contain roundtripping and merging technologies that should not overwrite what’s already in the project.
Would you be able to tell us more about your scenario, please?
1. Are you using 8.5 or 8.6 M1?
2. What specifically do you see being overwritten? A couple code examples would be very helpful.
Once enabled, the Spring DSL Capabilities will provide you with the ability to visually create and generate code artifacts in your Spring Project. However, the current set of Spring DSL capabilities do not provide the ability to generate business logic or JSPs. That capability is found in the Scaffolding feature.
Let me know if this helps and if you have any questions.
Kind regards,
Dave