On Wed, Jun 08, 2011 at 05:07:05PM +0200, Lubos Kosco wrote:
> 
> Oh and did I say symlinks in source code is a messy practice?
> 
> Would be curious why you have them there in first place ...

I had a project some years ago, where symlinks were used in a repo to
reduce space consumption/build complexity wrt. [i18n] documentation.
Sources were docbook.xml s, which got xlated into javahelp, html doc
and pdf. W/O symlinks much more work and copying src to build area
was necessary to make all the xlators happy ...

> On 8.6.2011 17:06, Lubos Kosco wrote:
> >
> >When we are already talking about symlinks ...
> >there is still the bug with looping symlinks (which point to the same 
> >dir), where indexer will just get stuck and loops through them
> >so ... beware of such symlinks, they can make your indexing take days ;)

LOL. But, doesn't take lucene care of it? 

> >On 8.6.2011 16:51, Jens Elkner wrote:
> >>On Tue, Jun 07, 2011 at 10:46:39PM -0700, Sadanand Limaye wrote:
> >>>I have tried with -N option. But  in my case, source code where
> >>>there are around 500+ directories structure and lots of then
> >>>have sym links so i have to fire separate command with such
> >>>-N option because each time the path next to -N is different.
> >>Haven't looked into the related code yet, but in general symlinks
> >>should be silently accepted/indexed (even when pointing outside
> >>the project/repo dir), if the user wants that. Options like
> >>FollowSymlinks and FollowSymlinksIfOwnerMatch [otherwise IgnoreSymlinks]
> >>comes into mind ...
> >>However, wrt. this feature, IMHO waiting for JDK7 (java.nio.file.*)
> >>would be beneficial.
> >>

Regards,
jel.
-- 
Otto-von-Guericke University     http://www.cs.uni-magdeburg.de/
Department of Computer Science   Geb. 29 R 027, Universitaetsplatz 2
39106 Magdeburg, Germany         Tel: +49 391 67 12768
_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

Reply via email to