Package org.springsource.ide.eclipse.gradle.core.samples

Examples of org.springsource.ide.eclipse.gradle.core.samples.SampleProject


    //ensure instantation of this Strategy fails if Gradle tooling is not installed.
    Class.forName("org.springsource.ide.eclipse.gradle.core.wizards.NewGradleProjectOperation");
  }

  private static SampleProject asSample(final String projectName, final CodeSet codeset) {
    return new SampleProject() {
      @Override
      public String getName() {
        //Probably nobody cares about the name but anyway...
        return projectName;
      }
View Full Code Here


    //@Override
    public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
      monitor.beginTask("Import "+projectName, 3);
      try {
        //1:
        SampleProject sample = asSample(projectName, codeset);
        File rootFolder = new File(location);
        sample.createAt(rootFolder);
        monitor.worked(1);

        //2:
        GradleImportOperation importOp = GradleImportOperation.importAll(rootFolder);
        importOp.setEnableDependencyManagement(false);
View Full Code Here

TOP

Related Classes of org.springsource.ide.eclipse.gradle.core.samples.SampleProject

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.