void () { final String file = createFile("a/a.txt", "a"); JpsArtifact a = addArtifact(root().fileCopy(file)); buildAll(); assertOutput(a, fs().file("a.txt")); deleteFile("out/artifacts/a/a.txt"); assertOutput(a, fs()); buildAll(); assertOutput(a, fs().file("a.txt")); }