public void setupRootModel(ModifiableRootModel rootModel) throws ConfigurationException {
String moduleRootPath = getContentEntryPath();
if (moduleRootPath != null) {
LocalFileSystem localFileSystem = LocalFileSystem.getInstance();
VirtualFile moduleContentRoot = localFileSystem.refreshAndFindFileByPath(FileUtil.toSystemIndependentName(moduleRootPath));
if (moduleContentRoot != null) {
ContentEntry contentEntry = rootModel.addContentEntry(moduleContentRoot);
List<Pair<String, String>> sourcePaths = getSourcePaths();
if (sourcePaths != null) {
for (Pair<String, String> sourcePath : sourcePaths) {