facebook

Scaffolding Project is overwritten after adding DSL

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #309333 Reply

    estimmel
    Member

    I’ve followed the tutorial on creating a Spring Scaffolding project (http://www.myeclipseide.com/documentation/quickstarts/scaffoldingtutorial/scaffolding.html) which is really slick. However, when I try to add Spring Code Generation Capabilities, the project fails. It’s because the Spring Code Generation Capabilities overwrites web.xml, files in /resources, and some other Spring properties files. Is this a bug? How can I add the Spring DSL capabilities to my project so I can utilize some of those features? My hope was that the Spring DSL wizards would allow me to easily add features/pages to the project rather than having to do it by hand by editing web.xml, adding the jsp, updating sitemesh, adding the Controller and the Service, etc…

    Thank you

    #309378 Reply

    davemeurer
    Member

    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

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Scaffolding Project is overwritten after adding DSL

You must be logged in to post in the forum log in