void () { String file = createFile("src/a.xml"); JpsModule m = addModule("m", PathUtil.getParentPath(file)); JpsModuleSourceRoot sourceRoot = assertOneElement(m.getSourceRoots()); JpsTypedModuleSourceRoot<JavaSourceRootProperties> typed = sourceRoot.asTyped(JavaSourceRootType.SOURCE); assertNotNull(typed); typed.getProperties().setPackagePrefix("xxx"); rebuildAllModules(); assertOutput(m, fs().dir("xxx").file("a.xml")); }