public void addDirectory(File dir, boolean recurse) throws SVNClientException { try { notificationHandler.setCommand(ISVNNotifyListener.Command.ADD); notificationHandler.logCommandLine( "add"+ (recurse?"":"-N")+ " "+dir.toString()); notificationHandler.setBaseDir(SVNBaseDir.getBaseDir(dir)); svnClient.add(fileToSVNPath(dir, false), recurse); } catch (ClientException e) { notificationHandler.logException(e); throw new SVNClientException(e); } }
public void addDirectory(File file, boolean recurse) throws SVNClientException { addDirectory(file, recurse, false); }
    public void addDirectory(File dir, boolean recurse)        throws SVNClientException {        try {            notificationHandler.setCommand(ISVNNotifyListener.Command.ADD);                        notificationHandler.logCommandLine(                "add"+                (recurse?"":"-N")+                " "+dir.toString());			notificationHandler.setBaseDir(SVNBaseDir.getBaseDir(dir));            svnClient.add(fileToSVNPath(dir, false), recurse);        } catch (ClientException e) {            notificationHandler.logException(e);            throw new SVNClientException(e);        }    }