Package org.eclipse.egit.core.op.CloneOperation

Examples of org.eclipse.egit.core.op.CloneOperation.PostCloneTask


    configurePush(op, gitRepositoryInfo, remoteName);
    configureRepositoryConfig(op, gitRepositoryInfo);

    if (cloneDestination.isImportProjects()) {
      final IWorkingSet[] sets = cloneDestination.getWorkingSets();
      op.addPostCloneTask(new PostCloneTask() {
        public void execute(Repository repository,
            IProgressMonitor monitor) throws CoreException {
          importProjects(repository, sets);
        }
      });
View Full Code Here


        + repository1.getRepository().getDirectory().toString());
    CloneOperation clop = new CloneOperation(uri, true, null, workdir2,
        "refs/heads/master", "origin", 0);

    final File[] repoDir = new File[1];
    clop.addPostCloneTask(new PostCloneTask() {

      public void execute(Repository repository, IProgressMonitor monitor)
          throws CoreException {
        repoDir[0] = repository.getDirectory();
View Full Code Here

TOP

Related Classes of org.eclipse.egit.core.op.CloneOperation.PostCloneTask

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.