MyEclipse: How to update Spring libs to 3.1 from 3.0.5?
zoostar - May 23, 2012 - 09:11 PM
Post subject: How to update Spring libs to 3.1 from 3.0.5?
Is there a way to update the MyEclipse provided Spring libs from 3.0.5 to 3.1.0. I would like to use the @Cacheable annotation feature which is part of the 3.1.0 release. I am on ME for Spring 10. Thanks.
cconway - Jun 01, 2012 - 11:22 AM
There is no automated way to upgrade the libs. If you set your project up to use classpath containers, you would have to remove the classpath containers containing the spring libs and then add the corresponding Spring 3.1 jars to your classpath. If you used libraries, then you'd need to remove the libs from your project and replace them with the updated libraries.
mrum - Jul 31, 2012 - 05:13 AM
You have to be kidding surely! I have the same problem. If this is the answer then my first thought is to simply dump MyEclipse entirely. Its supposed to be a professional IDE not a freekin play pen for little kiddies.
Support-Brian - Aug 01, 2012 - 07:52 PM
MyEclipse 10.5 includes Spring 3.1 containers. You can get this update from within your software and workspace center (the update is available for both MyEclipse and MyEclipse for Spring users).
Once you take this update, you can go to project properties > Java Build Path and on the Libraries tab, select and remove the Spring 3.0.5 containers (or JARs if you had chosen to copy them into your project). You can then choose the "Add Library" button, followed by "MyEclipse Libraries" and then choose the Spring 3.1 containers you require for your project. Prior to 10.5, you would need to create User libraries for the JARs or simply dump them raw on the project's classpath.
mrum, could you give us an idea of how you would like this to work? Are you thinking about a context menu type action or an upgrade wizard that will do this for you?
All times are GMT - 6 Hours
Powered by PNphpBB2
© 2003-2004 The PNphpBB GroupCredits