• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Eclipse JARing

 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic