Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse JARing

 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Thanks.
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic