mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
enable annotation processors run on code from test source roots (IDEA-55836)
This commit is contained in:
+4
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user