Examples of GradleImportOperation


Examples of org.springsource.ide.eclipse.gradle.core.wizards.GradleImportOperation

        File rootFolder = new File(location);
        sample.createAt(rootFolder);
        monitor.worked(1);

        //2:
        GradleImportOperation importOp = GradleImportOperation.importAll(rootFolder);
        importOp.setEnableDependencyManagement(false);
        importOp.setEnableDSLD(false);

        ErrorHandler eh = ErrorHandler.forImportWizard();
        importOp.perform(eh, new SubProgressMonitor(monitor, 1));

        //3: add spring nature
        addPringNature(importOp.getProjects(), eh, new SubProgressMonitor(monitor, 1));

        eh.rethrowAsCore();
      } catch (CoreException e) {
        throw new InvocationTargetException(e);
      } finally {
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.