enable annotation processors run on code from test source roots (IDEA-55836)

This commit is contained in:
Eugene Zhuravlev
2010-07-29 14:08:43 +04:00
parent aeb8d15486
commit 3e3fdcbb18
@@ -76,6 +76,10 @@ public class AnnotationProcessingCompiler implements TranslatingCompiler{
final String path = CompilerPaths.getAnnotationProcessorsGenerationPath(module);
return path != null? lfs.findFileByPath(path) : null;
}
public VirtualFile getModuleOutputDirectoryForTests(Module module) {
return getModuleOutputDirectory(module);
}
};
final JavacCompiler javacCompiler = getBackEndCompiler();
final boolean processorMode = javacCompiler.setAnnotationProcessorMode(true);