每次运行前在Intellij IDEA中重建项目 [英] Rebuild project in Intellij IDEA each time before run

查看:820
本文介绍了每次运行前在Intellij IDEA中重建项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果是我的项目,我需要在运行任何测试之前重建整个项目。是否有可能在每次运行前打开重建。 IDEA每次使用Make,但它只是重建修改后的文件。

In case of my project I need to rebuild whole project before run any test. Is it possible to turn on rebuilding each time before run. IDEA uses Make each time but it's just rebuild modified files.

推荐答案

感谢@AndreyMyatlyk,他的回答对我有帮助

Thanks to @AndreyMyatlyk his answer helped to me


使用一个目标创建Ant脚本以删除项目out,然后添加
步骤以在Make之前调用Ant脚本配置。可以
你详细说明你为什么需要完全重建? - @Andrey Myatlyuk

Create Ant script with one target to delete project "out", then add a step to call that Ant script prior to "Make" in the configuration. Can you elaborate on why do you need full rebuild? – @Andrey Myatlyuk

这篇关于每次运行前在Intellij IDEA中重建项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆