- This topic has 4 replies, 3 voices, and was last updated 18 years, 10 months ago by persist.
-
AuthorPosts
-
Guillermo CastroMemberHi,
I am creating a new Web Project. I want to add Spring support to the project, so I added ‘Spring Capabilities’ to the project, and selected the Core Library, and the option to copy the jars to WEB-INF/lib directory. The problem is that after that, I can’t change what Spring Libraries I want copied to the lib directory, I can only do that the first time I add Spring capabilities.
Basically, I want a way to add/remove Spring libraries as I see fit, and have the option to select which library set is to be copied to WEB-INF/lib. For example, I wouldn’t want to have ‘Spring Testing Libraries’ copied to the war file, but I want them referenced on my project for testing.
I don’t think there’s currently a way to do this.
System:
Windows XP SP2Eclipse 3.1.1
Build id: M20050929-0840MyEclipse: 4.0.2 GA
Build id: 20051010-4.0.2-GA
Riyad KallaMemberjavageek,
You should be able to navigate to your Build Path settings, then under Libraries, click Add Library, and then drill downt o MyEclipse LIbraries, there you should be able to add/remove the Spring libraries as yous ee fit. Let me know if you run into any hassle.
Guillermo CastroMemberYes, I can do that, but even though I already added ‘Spring Core Libraries’ to my WEB-INF/lib path (because I want that library distributed with my .war), when I select ‘Spring Testing Libraries’ MyEclipse also selects the core libraries, which means that now I have 2 copies of spring’s core jars in my project, one inside my lib/ path, and one referenced.
I’m not sure what are the implications of this, though. I might not be affected at all, but it doesn’t look right. 😉
Riyad KallaMemberI’m not sure what are the implications of this, though. I might not be affected at all, but it doesn’t look right. 😉
It is alright for now, the redundancy is just at runtime, if it really bothered you, you could just remove the JARs from your /lib directory from the lib path, but they will still be deployed.
persistMemberI have just been checking out Lombos and SpringIDE. It has me thinking that MyEclipse is a long way off providing the support that they are for free. I have run into numerous errors that were based in the MyEclipse ide which is totally unacceptable. Additionally the memory footprint of this product is terrible. Take a look at it. It installs easily and is clean and light.
-
AuthorPosts