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
venakatasreekanth
Post subject: add spring capabilities to maven spring project  PostPosted: Mar 07, 2012 - 07:48 PM



Joined: May 12, 2011
Posts: 21

Hi,

My current project uses spring, but it has been created using maven. How can I add spring capabilites to the project. I have seen the online documentation but that talks about sping libs etc. I already the jars configured in the pom and I would just like to add spring capabilities to the project. The version we have is myeclipse enterprise workbench.

I do not know if this question belongs here, moderators please feel free to move this topic to the appropriate thread.

Thanks in advance.
 
 View user's profile Send private message  
Reply with quote Back to top
cconway
Post subject:   PostPosted: Mar 08, 2012 - 12:12 AM



Joined: Apr 04, 2011
Posts: 196

The majority of the items added when adding spring capabilities are libraries. If you wanted to get the spring builder installed, you can use the Add Spring Capabilities wizard, but un-check all libraries on the wizard. Doing this will enable the spring builder and you'll see the Spring Elements node in the Project Explorer.

Note that after you've added that Spring Elements node in Project explorer, you may need to manually get your existing beans under the "Beans" node by right-clicking the node and selecting Properties, then add all of your existing beans.

In general, all of the menu options on the MyEclipse menu should work for maven projects just as they do for non-maven projects except that when adding libraries the pom will be updated.

HTH

_________________
Cindy
MyEclipse for Spring Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
venakatasreekanth
Post subject: can your add a feature where it picks up libraries from pom.  PostPosted: Mar 09, 2012 - 07:19 PM



Joined: May 12, 2011
Posts: 21

Can you add feature where it picks up the libraries from pom.xml
 
 View user's profile Send private message  
Reply with quote Back to top
cconway
Post subject:   PostPosted: Mar 10, 2012 - 12:02 PM



Joined: Apr 04, 2011
Posts: 196

Yes, that is exactly how it should work. If something else is happening, please post the problem on these forums.

_________________
Cindy
MyEclipse for Spring Support
 
 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