What do “grails clean” or “grails clean-all” actually do?

grails clean command:

When we use the compile or war command Grails will create files and stores them by default in the project’s working directory. The location of the project working directory can be customized in our grails-app/conf/BuildConfig.groovy configuration file. We remove the generated files with the grails clean command. This command will remove all compiled class files, the WAR file, cached scripts and test reports.

grails clean-all command:

The grails clean command, doesn’t remove all files in the project working directory. Like plugins or web.xml file. So, use the         clean-all command to remove those files from the project working directory completely.


ProsperaSoft offers Grails development solutions. You can email at info@prosperasoft.com to get in touch with ProsperaSoft Grails experts and consultants.

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>