title: Whats best way to package a Java Application with lots of dependencies?
body: <p>I'm writing a java app using eclipse which references a few external jars and requires some config files to be user accessable.</p>
  
  <ol>
  <li><p>What is the best way to package it up for deployment?</p></li>
  <li><p>My understanding is that you cant put Jars inside another jar file, is this correct?</p></li>
  <li><p>Can I keep my config files out of the jars and still reference them in the code? Or should the path to the config file be a command line argument?</p></li>
  <li><p>Are there any third party plugins for eclipse to help make this easier? I'm using an ant build file at the moment but I'm not sure I know what I'm doing.</p></li>
  <li><p>Is there an equivelent of the deployment projects in Visual studio, that will figure out everything you need and just make an installer? I've used install4j before, and it was powerful if no where near as automated as  .Net deployment projects.</p></li>
  </ol>
  
  <p>Cheers.</p>