svnuc.setExternalsHandler(eventHandler); svnuc.setIgnoreExternals(location.isIgnoreExternalsOption()); SVNDepth svnDepth = location.getSvnDepthForCheckout(); SvnCheckout checkout = svnuc.getOperationsFactory().createCheckout(); checkout.setSource(SvnTarget.fromURL(location.getSVNURL(), SVNRevision.HEAD));