Custom build rules for Eclipse

大憨熊 提交于 2019-12-01 22:16:47

Right-click the Project, select Properties > Builders > New ... > Program.

There you can select a command line tool that will be run whenever the project is built.


For completeness: this is an Eclipse-only solution. I would recommend you to use a build system instead of plain Eclipse. Both Maven and Ant integrate nicely with Eclipse (Maven through m2eclipse, Ant through the same Builder mechanism as above), possibly others as well.

With Maven, you would use exec:exec (usage).

With Ant you would use the <Exec> task.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!