AbstractCloverMojo.registerCloverAntTasks(antProject, getLog());
getLog().info( "Saving Clover history point for database [" + database + "] in ["
+ this.historyDir + "]" );
HistoryPointTask cloverHistoryTask = createHistoryTask(antProject);
cloverHistoryTask.init();
cloverHistoryTask.setInitString( database );
if (new File(this.historyDir).isAbsolute()) {
cloverHistoryTask.setHistoryDir( new File(this.historyDir) );
} else {
cloverHistoryTask.setHistoryDir( new File(getProject().getBasedir(), this.historyDir ) );
}
executeTask(cloverHistoryTask);
}