Saturday, June 29, 2013

Where are stored Grails temporary files ?

Grails stores temporary files in .grails directory.

  • On Unix system : $HOME/.grails
  • On windows : c:\Users\myUser\.grails

 You can clean with : grails clean
Here is the official description of clean command :

The clean command deletes all compiled resources from the application. Since Groovy is a compiled language, as with Java, this is sometimes useful to clear old instances of classes and ensure correct compilation. It's also a good idea to run this script before running tests or creating a WAR file to ensure a full compilation occurs.