Package org.tigris.subversion.subclipse.ui.operations

Examples of org.tigris.subversion.subclipse.ui.operations.CheckoutAsProjectOperation


            ISVNRemoteFolder remote[] = { new RemoteFolder(loc, url,
                SVNRevision.HEAD) };
            IProject[] local = { SVNWorkspaceRoot.getProject(newProjectName) };
            // FIXME ndh: Use a CheckoutCommand instead. We should not depend on
            // org.tigris.subversion.subclipse.ui.
            final CheckoutAsProjectOperation checkoutAsProjectOperation = new CheckoutAsProjectOperation(
                null, remote, local);

            SVNRevision revision = getRevision(info.revision);
            if (revision != null)
                checkoutAsProjectOperation.setSvnRevision(revision);

            checkoutAsProjectOperation.run(monitor);
            result = local[0];
        } catch (SVNException e1) {
            log.debug("Undocumented exception", e1);
        } catch (MalformedURLException e1) {
            log.debug("Could not parse SVN URL", e1);
View Full Code Here

TOP

Related Classes of org.tigris.subversion.subclipse.ui.operations.CheckoutAsProjectOperation

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.