How Do I Automatically Generate A .jar File In An Eclipse Java Project

前端 未结 5 1742
失恋的感觉
失恋的感觉 2020-12-04 16:22

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

5条回答
  •  一个人的身影
    2020-12-04 17:02

    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.)

    alt text

    (See also "Customizing Builds for Your Eclipse Projects")

    See IBM article: How and why to create custom Ant tasks

    alt text

提交回复
热议问题