MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
estimmel
Post subject: Scaffolding Project is overwritten after adding DSL  PostPosted: Jun 23, 2010 - 03:58 PM
Registered Member
Registered Member


Joined: Apr 29, 2009
Posts: 1

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
 
 View user's profile Send private message  
Reply with quote Back to top
davemeurer
Post subject: RE: Scaffolding Project is overwritten after adding DSL  PostPosted: Jun 25, 2010 - 01:31 PM



Joined: Jan 20, 2010
Posts: 191

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
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits