Netbeans扫描符号链接目录 [英] Netbeans scanning symlinked directories
问题描述
我在netbeans中打开了许多项目,这些项目在其源代码根目录内具有指向库文件夹的符号链接.
I have many projects open in netbeans that have a symlink to a library folder inside their source code root.
netbeans是否扫描一次符号链接目录,或者为每个项目扫描一次?
Does netbeans scan the symlinked directory once, or once for each project?
我之所以这样问,是因为netbeans扫描我的项目需要很长时间,而且其中很大一部分是库.相比之下,这比任何一个项目都要大500%.
I ask this because it takes a very long time for netbeans to scan my projects, and the biggest part of them is the library. Which in comparison is about 500% larger than any 1 project.
推荐答案
我认为它对每个项目都扫描一次(最好:对指向它的每个符号链接).
I think it scans it once for each project (better: for each symlink pointing to it).
您可以在项目首选项->运行配置->高级->路径映射下手动添加符号链接.但是我还没有完全测试过这是否是不扫描符号链接目录两次的解决方案……
You can add symlinks manually under project preferences -> Run Configuration -> Advanced -> Path Mapping. But I didn't have fully tested if that's a solution for not scanning symlinked directories twice…
这篇关于Netbeans扫描符号链接目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!