• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Do you add External jars manually required for a project

 
Ranch Hand
Posts: 270
Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was running the examples given in the chapter 3 of Spring in Action examples.When i am running these examples i was getting some error so i googled and found out that it needs cglib.jar so added manually.

Do you add jars required for a project manually every time you create project.Whenever i create spring project in Eclipse i add commons-logging.jar,spring.jar etc..manually...

I feel adding required jar files for a project should be done automatically.
 
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe you should have a look at Maven then (or Ivy, if you prefer Ant).
 
Karnati Sudhakar
Ranch Hand
Posts: 270
Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not a professional developer just learning Java by my self so did not know about this fact.Anyway i will learn how to use maven to avoid that tedious task of adding jars manually.

I think this is the lamest doubt in the world of J2EE
 
Saloon Keeper
Posts: 28483
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Karnati Sudhakar wrote:
I think this is the lamest doubt in the world of J2EE



Nah. We get lots of lamer stuff than that.

Maven is good because once you get a whole raft full of projects going, you don't clutter up your system with duplicate copies of common jars.

Another approach I've used is to create a "lib" project that holds master copies of common jars and have the child projects copy from there when I do a build. I use this approach with Ant sometimes.
 
You learn how to close your eyes and tell yourself "this just isn't really happening to me." Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic