Examples of JpsModuleSourceRoot


Examples of org.jetbrains.jps.model.module.JpsModuleSourceRoot

        String url = FilePaths.pathToIdeaUrl(folderPath);

        SourceFolder sourceFolder = contentEntry.addSourceFolder(url, type);

        if (generated) {
            JpsModuleSourceRoot sourceRoot = sourceFolder.getJpsElement();
            JpsElement properties = sourceRoot.getProperties();
            if (properties instanceof JavaSourceRootProperties) {
                ((JavaSourceRootProperties)properties).setForGeneratedSources(true);
            }
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.