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
sweepy
Post subject: How to STOP automatically updating Sring DSL form source  PostPosted: May 06, 2011 - 01:22 PM
Registered Member
Registered Member


Joined: Oct 22, 2008
Posts: 56

When I create a new class it automatically updates DSL. How do i get it not to generate any Spring DSL files and just leave the class as it is?[/list]

_________________
Thanks!
Peter
 
 View user's profile Send private message  
Reply with quote Back to top
cconway
Post subject: RE: How to STOP automatically updating Sring DSL form source  PostPosted: May 10, 2011 - 02:48 PM



Joined: Apr 04, 2011
Posts: 196

Hi Peter,

You can instruct the reverse engineering to ignore a class or method by adding the @AuxiliaryModelComponent annotation to a comment block above the class or method. For example, to ignore a whole class:

/**
* @AuxiliaryModelComponent
*/
@Service("MyService")
public class MyService implements IMyService {
}

If you add the annotation prior to saving the class the first time, it should remain untouched by the DSL.

Please let me know if this helps,

Cindy
 
 View user's profile Send private message Send e-mail  
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