• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jar resolution during web project deployement

 
subodh gupta
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am deploying the web application and i am having 50 odd jars which are included in the classpath and i am sure all of them are not in use. In last one hour i am able to remove 5 jars but to check for all of them it requires lot of time can you please tell me is their any shortcut to check which jars are required in the project and which are surplus.

I am using eclipse 3.2.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Remove them all, and add them back based on what your compiler tells you?
 
Rob Spoor
Sheriff
Pie
Posts: 20514
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or remove them one at a time (instead of all at the same time), adding them again if the compiler throws an error. This can decrease the number of simultaneous errors you get.

Of course this can lead to runtime exceptions if you use the classes using Class.forName, like database drivers.
[ September 30, 2008: Message edited by: Rob Prime ]
 
subodh gupta
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bingo but thats what i don't want. I don't wanna check each jar thats why i am here to seek your help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic