在IntelliJ中清理Play框架内部版本 [英] Clean a Play framework build in IntelliJ

查看:110
本文介绍了在IntelliJ中清理Play框架内部版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 conf / routes 文件中出现拼写错误,导致Play Framework生成错误命名的类。重建项目甚至运行 Invalidate Caches 无法解决IntelliJ中的问题。

I had a spelling mistake in the conf/routes file which caused incorrectly named classes to be generated by Play Framework. Rebuilding project and even running Invalidate Caches does not solve the problem in IntelliJ.

当我从命令行手动运行 play clean 时,重新生成了错误的类文件。

The incorrect class files were re-generated when I manually run play clean from the command line.

IntelliJ中的Play Framework项目是否相当于 Build Clean

Is there an equivalent of Build Clean for Play Framework projects in IntelliJ?

推荐答案

你可以cd到项目并运行 play clean compile

You can either cd to the project and run play clean compile

创建一个直接来自IDEA的运行配置:

create a run configuration to make it directly from IDEA:

这篇关于在IntelliJ中清理Play框架内部版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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