Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Clean a Play framework build in 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.

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

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

like image 761
Hanxue Avatar asked Feb 15 '23 06:02

Hanxue


1 Answers

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

or

create a run configuration to make it directly from IDEA: enter image description here

like image 184
Leo Avatar answered Feb 17 '23 21:02

Leo