void () { VirtualFile a = createFile("src/a/A.java", "package a; class A{}"); createFile("src/b/B.java", "package b; class B{}"); Module m = addModule("m", a.getParent().getParent()); PsiTestUtil.addExcludedRoot(m, a.getParent()); make(m); assertOutput(m, fs().dir("b").file("B.class")); changeFile(a); make(m); assertOutput(m, fs().dir("b").file("B.class")); rebuild(); assertOutput(m, fs().dir("b").file("B.class")); }