IDEA-CR-30247 cleanup

This commit is contained in:
Ivan Bessonov
2018-03-06 17:07:50 +03:00
parent 8133d5e0d6
commit be1df0ad41
@@ -50,10 +50,8 @@ public class MavenCompilerAnnotationProcessorPathsImporter extends MavenImporter
MavenProjectChanges changes,
Map<MavenProject, String> mavenProjectToModuleName,
List<MavenProjectsProcessorTask> postTasks) {
String outputDirPath = mavenProject.getGeneratedSourcesDirectory(false) + "/annotations/";
String outputDirPath = mavenProject.getAnnotationProcessorDirectory(false);
rootModel.addGeneratedJavaSourceFolder(outputDirPath, JavaSourceRootType.SOURCE); //todo "ifNotEmpty" flag should be false like in regular source dir
WriteCommandAction.runWriteCommandAction(module.getProject(), () -> {
});
}
@Override