问题描述
在 Aptana Studio 2.0(实际上是 Eclipse 3.5)中,我有一个 Rails 项目 X,其中包含指向项目文件夹外的文件夹 Y 的符号链接.Y 文件夹很大.它包含许多文件和文件夹.构建项目和刷新工作区需要大量时间.因此,我不喜欢 Eclipse 在构建项目 X 和使用 Open Resource 命令确定资源时考虑文件夹 Y 的内容.
In Aptana Studio 2.0 (which is actually Eclipse 3.5) I have a Rails project X that includes a symbolic link to a folder Y outside the project folder. Folder Y is big. It contains a lot of files and folders. Building the project and refresing the workspace takes a lot of time. Therefore I do not like Eclipse to take the contents of folder Y into account when building project X and when determining resources with the Open Resource command.
我正在寻找一种从构建路径中排除符号链接的方法.我尝试从项目的 Ruby 加载路径中排除它,但 Aptana 仍然在排除的文件夹中构建文件.
I am looking for a way to exclude the symbolic link from the build path. I tried excluding it from the Ruby Load Path of the project, but Aptana still builds the files in the excluded folder.
所以我的问题是:
- 从构建路径中排除文件夹在 Aptana 中真的有效吗?
- 这是 Aptana 问题还是 Eclipse 问题?
- 有没有办法让 Eclipse/Aptana 不遵循符号链接?
感谢您的帮助.
推荐答案
您可以尝试使用 Aptana Studio 3 解决此问题,原因有两个:
You might try using Aptana Studio 3 for this issue for two reasons:
1) RadRails 2.X 中的构建过程存在一些问题,其中涉及大型文件目录.这已得到纠正.
1) There were some issues with the build process in RadRails 2.X where large directories of files are concerned. This has been corrected.
2) 您现在可以通过选择索引 > 从索引中排除"来从索引过程中排除某些目录
2) You can now exclude certain directories from the indexing process by choosing "Indexing > Exclude From Index"
这不一定会从打开资源命令中删除文件,但它应该可以解决长索引/内存不足错误.
This won't necessarily remove the files from the open resource command, but it should solve the long indexing/out of memory errors.
这篇关于如何使 Aptana (Eclipse) 不遵循符号链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!