I have an Eclipse Java project. It contains a folder named \"dist\". In that folder is a .jar file.
How can I set things up in this project to make sure th
Thomas's answer works, but the jar file it produces isn't one that you can use to actually run the application.
I ended up with:
Don't know if something has changed in ant since this answer was given, but it took some digging to actually get it working. A lot of the solutions in tutorials were only partial answers...
Main changes:
Netbeans makes this so much easier - just check a couple of boxes.
[Edited to fix issue with incorrectly terminated jar tag and pull in the .jar files]