Package org.teavm.eclipse

Examples of org.teavm.eclipse.TeaVMEclipsePlugin


            throws CoreException {
        maven = MavenPlugin.getMaven();
        mavenSession = configurationRequest.getMavenSession();
        List<MojoExecution> executions = configurationRequest.getMavenProjectFacade().getMojoExecutions(
                TEAVM_GROUP_ID, TEAVM_ARTIFACT_ID, monitor, TEAVM_MAIN_GOAL);
        TeaVMEclipsePlugin teaVMPlugin = TeaVMEclipsePlugin.getDefault();
        project = configurationRequest.getProject();
        boolean hasNature = project.hasNature(TeaVMEclipsePlugin.NATURE_ID);
        int sz = executions.size();
        if (!hasNature) {
            ++sz;
        }
        monitor.beginTask("Configuring TeaVM builder", sz * 1000);
        TeaVMProjectSettings settings = teaVMPlugin.getSettings(project);
        try {
            if (!hasNature) {
                teaVMPlugin.addNature(new SubProgressMonitor(monitor, 1000), project);
            }
            settings.load();
            Set<String> coveredProfiles = new HashSet<>();
            for (MojoExecution execution : executions) {
                if (monitor.isCanceled()) {
View Full Code Here

TOP

Related Classes of org.teavm.eclipse.TeaVMEclipsePlugin

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.