wood burning stoves 2.0
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse JARing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse JARing" Watch "Eclipse JARing" New topic

Eclipse JARing

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

Ok, I have created a simple little GUI project in Eclipse. Now, what I initially did was went into the project settings and added some external jars to the project. But I noticed that Eclipse does not copy the JARS into the project directory. So when I run the JAR utility, the external JARS of course don't end up in the JAR file. So I have to manually copy all the JAR files into the project folder and then run the JAR utility.
Is this just how Eclipse works? Or is there a setting somewhere that I can tell eclipse to pull those external JARS either into the project folder, or into the JAR file?

GenRocket - Experts at Building Test Data
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
What I've been doing, although I would certainly welcome a better way, is to create a folder in the project and then import the required jars into the folder. I then have my build properties point to the jars in the folder instead of on the external file system. If it is something I need for compiling purposes, but something I don't need to include in my jar, then it doesn't get imported into the folder.

Matthew Phillips
I agree. Here's the link: http://aspose.com/file-tools
subject: Eclipse JARing
It's not a secret anymore!