if ( !canGenerateReport() )
{
return;
}
ReportTask task = new ReportTask();
// task defaults
task.setLog( getLog() );
task.setPluginClasspathList( pluginClasspathList );
task.setQuiet( quiet );
// task specifics
task.setMaxmem( maxmem );
task.setDataFile( dataFile );
task.setOutputDirectory( outputDirectory );
task.setCompileSourceRoots( getCompileSourceRoots() );
task.setSourceEncoding( encoding );
if ( format != null )
{
formats = new String[] { format };