This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 194730 - Netbeans doesnt detect recursive symbolic links while indexing
Summary: Netbeans doesnt detect recursive symbolic links while indexing
Status: RESOLVED DUPLICATE of bug 189004
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P4 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-26 12:09 UTC by mykola
Modified: 2011-06-03 10:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mykola 2011-01-26 12:09:12 UTC
Subj. module org.netbeans.modules.parsing.impl.indexing dont detect recursive symbolic links while indexing. 

How to reproduce:

Im using netbeans ide 6.9.1 with php module under linux.

# cd /usr/share/php5/ 
# mkdir Zend 
# ln -s /usr/share/php5/Zend Zend/Zend
# touch ./Zend/Test.php

Start netbeans. Go to Tools->Options->Php tab 'General'. Add /usr/share/php5 to global include path. 

As result task 'Scanning project' will never complete and eats 50% of my cpu.  

This is a part of ~/.netbeans/6.9/var/log/messages.log after few minutes of "indexing":


FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing file /usr/share/php5/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Z
end/Zend/Test.php using org.netbeans.modules.csl.core.EmbeddingIndexerFactoryImpl@3ade1520; mimeType='text/x-php5'
FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing file /usr/share/php5/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Zend/Z
end/Zend/Test.php using org.netbeans.modules.csl.core.TLIndexerFactory@a54a40c; mimeType='text/x-php5'
Comment 1 Tomas Mysik 2011-06-03 10:10:18 UTC

*** This bug has been marked as a duplicate of bug 189004 ***