The moose likes IDEs, Version Control and other tools and the fly likes Eclipse and importing JARS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse and importing JARS" Watch "Eclipse and importing JARS" New topic

Eclipse and importing JARS

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

When I do an Import -> File System and import a JAR into my /WEB-INF/lib folder, would it not seem resonable that Eclipse should also add this jar to the Build Path of the project?
As it is now, I have to not only import that JAR file into the folder, but then I have to add that JAR to the build path.
Anyone know why this isn't automatic?

GenRocket - Experts at Building Test Data
Fred Grott
Ranch Hand

Joined: Oct 05, 2002
Posts: 346
Sounds like you just discover a nice Eclipse plugin to code
No I do not knwo why its not automatic...

MobileBytes blog - Sharing Technology - My Programming Knols
Fred Grott
Ranch Hand

Joined: Oct 05, 2002
Posts: 346
Gregg read this post..I found on weblog hoster)
Is there any way to work backwards from ant and read the web-inf/lib directory for jars and add them to build path as an ant task?
if done that way it would be IDE independent..just my 2 cents
I agree. Here's the link:
subject: Eclipse and importing JARS
It's not a secret anymore!