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
You can define an Ant builder which runs a jar task to jar all the class files in the project (With "Refresh project upon completion" set.)
Refresh project upon completion
(See also "Customizing Builds for Your Eclipse Projects")
See IBM article: How and why to create custom Ant tasks