Skip to content
rjrudin edited this page Jun 16, 2015 · 19 revisions

Clearing the content database

Call "gradle mlClearContentDatabase" (or usually "gradle mlclearcon") to delete all documents in your content database. You must include the property -PdeleteAll=true. This property is required to decrease the chance that you run this task accidentally.

Clearing the modules database

gradle mlClearModules

Invokes the ClearModulesTask for clearing out all or most of the modules in a modules database. Useful for when you need to do a fresh load of modules because some of the ones in the modules database may have been deleted from your project.

This task depends on mlDeleteModuleTimestampsFile, as it's almost always the case that when you clear all the modules, you also want to delete the properties file that keeps track of when modules were last loaded.

Clone this wiki locally