CompilerConfiguration compilerConfig = configuration.getCompilerConfiguration();
// asdoc should always have -doc=true so that it emits doc info. If it is false force it back to true.
if(!compilerConfig.doc())
{
compilerConfig.cfgDoc(null, true);
}
// create a SourcePath...
SourcePath sourcePath = new SourcePath(sourceMimeTypes, compilerConfig.allowSourcePathOverlap());
sourcePath.addPathElements( compilerConfig.getSourcePath() );