Package org.netbeans.spi.project

Examples of org.netbeans.spi.project.SubprojectProvider


        boolean containsSources = configureSourcesAndBinariesProperties(null, project);
        if(containsSources) {
            sourcesCounter++;
        }

        SubprojectProvider subprojectProvider = project.getLookup().lookup(SubprojectProvider.class);
        boolean hasSubprojects = false;
        if (subprojectProvider != null) {
            Set<? extends Project> subprojects = subprojectProvider.getSubprojects();
            hasSubprojects = !subprojects.isEmpty();
            for (Project subproject : subprojects) {
                String module = subproject.getProjectDirectory().getNameExt();
                boolean moduleContainsSources = addModuleProperties(module, subproject);
                if (moduleContainsSources) {
View Full Code Here


                    if (projectPreferences.isAllConfsSelected()) {
                        confs = getConfs(ivyFileLocation, ivy);
                    } else {
                        confs = projectPreferences.getSelectedConfs().toArray(new String[0]);
                    }
                    SubprojectProvider subprojectProvider = project.getLookup().lookup(SubprojectProvider.class);
                    transferListener.setConf(Arrays.deepToString(confs));
                    ResolveOptions resolveOption = new ResolveOptions().setConfs(confs);
                    resolveOption.setValidate(ivy.getSettings().doValidate());
                    ResolveReport report = ivy.resolve(ivyFileLocation, resolveOption);
View Full Code Here

        return helper;
    }

    private Lookup createLookup(final AuxiliaryConfiguration aux,
            final ActionProvider actionProvider) {
        final SubprojectProvider spp = refHelper.createSubprojectProvider();
        FileEncodingQueryImplementation encodingQuery = QuerySupport.createFileEncodingQuery(evaluator(), J2SEProjectProperties.SOURCE_ENCODING);
        @SuppressWarnings("deprecation") Object cpe = new org.netbeans.modules.java.api.common.classpath.ClassPathExtender(
            cpMod, ProjectProperties.JAVAC_CLASSPATH, null);
        final Lookup base = Lookups.fixed(new Object[]{
                    J2SEProject.this,
View Full Code Here

TOP

Related Classes of org.netbeans.spi.project.SubprojectProvider

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.