return pathname.isDirectory() && !pathname.getName().equals(".svn");
return pathname.isDirectory() && !pathname.getName().equals(SVNConstants.SVN_DIRNAME);
    private void svnIgnorePattern(File dir, String pattern, boolean recursive) throws BuildException {                // first add the pattern to the directory        svnIgnorePattern(dir, pattern);                if (recursive) {            File file[] = dir.listFiles( new FileFilter() {                public boolean accept(File pathname) {                    return pathname.isDirectory() && !pathname.getName().equals(".svn");                 }            });            for (int i = 0; i < file.length;i++) {                svnIgnorePattern(file[i],pattern,true);            }        }    }