Package org.jetbrains.jps.model.module

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

Related Classes of org.jetbrains.jps.model.module.JpsModuleSourceRoot

Copyright © 2018 www.massapicom. 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.