Title: 602 BUG in Ignore Files and Folders

It appears that hidden (via prepending name with a dot) folders are NOT being ignored when a project is opened and the sources are scanned.

I work on windows, but my source is under Unix. The source tree is old, and some directories contain hidden circular links. In 2.5, I could set IDEA to ignore these directories.

To verify that scanning does not ignore specific directories do the following:
Under Unix make a directory and then create a link to that directory under that directory named '.m' .
(.m makes it a hidden link)
( ex.
mkdir ~/testignore
cd ~/testignore
ln -s ~/testignore .m
)

Under IDEA add .m to the IDE Options-> Ignore Files and Folders entry
Map the network drive under windows, open IDEA and any project( you don't care about),and then specify the newly created directory as a sourcepath.

When you click OK It gets stuck.

Close IDEA (read: kill with TaskManager), reopen IDEA and the project with the new sourcepath. It will get stuck in scanning the recursive link, even though it is meant to be ignored.

I know circular links are nasty and not good form, (so just don't have them), but they illustrate the point that scanning does not ignore specified hidden folders.

(If you want to fix your now damaged project, manually edit the ipr file and remove the sourcepath root and project path root.)

regards,
Andrew


Reply via email to