oracle / opengrok

OpenGrok is a fast and usable source code search and cross reference engine, written in Java
http://oracle.github.io/opengrok/
Other
4.34k stars 745 forks source link

Can't find some file in the xref #1794

Closed JustSong closed 5 years ago

JustSong commented 6 years ago

OpenGrok Version: opengrok-1.1-rc11 JDK: Oracle java version "1.8.0_144" OS: Ubuntu 12.04.5 LTS Tomcat: Tomcat8

Hi Sirs,

  1. I can't find some file in the "xref" but the file exist in the source code folder.

  2. If there is the file in the source root directory and we can't find it in the "xref" after OpenGrok index.

Can you provide some solution that I can index some missing file directly?

vladak commented 6 years ago

What's the filename ? There are certain filenames that are ignored implicitly.

JustSong commented 6 years ago

Hi vladak,

I found out the reseaon that Opengrok will ignored the file which exist in source root folder.

Ex: . └── Opengrok [folder]  ├── instance [folder]  ├── opengrok-1.1-rc11 [folder]  ├── source [folder]  │   ├── qt3d [folder]  │   │   ├── LICENSE.FDL.txt [file]  │   │   ├── qt.pro [file]  │   ├── configure.bat [file]  │   ├── configure.json [file]

The file in source file (configure.bat, configure.json) will not show in 'xref' link. If the file in sub folder (LICENSE.FDL.txt, qt.pro) , we can see the file in 'xref' link

tulinkry commented 5 years ago

As I read it now, this is duplicate of #409

vladak commented 5 years ago

I concur.