Jaydeep Kulkarni <jpkulkarni at gmail.com> writes:

> I am unable to index files under a specific directory. There is no error in 
> the logs either. I am wondering if there is an issue with how deep can 
> opengrok crawl before it  silently starts ignoring directories..
>
> I can see files under
> ${SRC_ROOT}/ClientArchitecture/CommonComponents/src_web/com/ptc/core/components/jsp
>
> but not under 
> ${SRC_ROOT}/ClientArchitecture/CommonComponents/src_web/com/ptc/core/components/tags
>
> where ${SRC_ROOT} is /mnt/raid1/lxr/indexed-src/x-10
>
> Any idea what's going wrong?

OpenGrok ignores files called "tags" because it thinks they are tag
files generated by ctags. Unfortunately, it also ignores directories
with that name. I think there is some ongoing work to provide an
option to override the built-in list of file names to ignore. The
current list of ignored names looks like this:

    public static final String[] IGNORE = {
        "SCCS",
        "CVS",
        "RCS",
        "cscope.in.out",
        "cscope.out.po",
        "cscope.out.in",
        "cscope.po.out",
        "cscope.po.in",
        "cscope.files",
        "cscope.out",
        "Codemgr_wsdata",
        ".cvsignore",
        "CVSROOT",
        "TAGS",
        "tags",
        ".svn",
        ".hg",
        ".hgtags",
        ".ogcache",
        "*~",
    };

-- 
Knut Anders

Reply via email to