Eclipse - Ignore Entire Directories

依然范特西╮ 提交于 2019-12-03 09:44:49

If you have a linked resource (pointing off to some other file/folder on disk) with the same name in the same location in the resource tree, then the real folder on disk will be hidden from the resource model.

Unfortunately you can't create the linked resource if the real directory is already there in the project structure. You can try something like this:

  1. On disk, rename/move the directory in question
  2. Refresh the project, the directory is gone
  3. Create a linked resource ( New -> File/Folder >> Advanced -> Link to file in the file system ). Name it the same as the original directory.
  4. On disk, restore the original name of the directory
  5. Refresh project.

Not sure about this aptana thing, but there is a convenient way to do it in native eclipse:

  1. Right-click a project folder in Project Explorer tree and go to "Properties".
  2. Resource -> Resource Filters.
  3. Add as much exclusion filters for files/folders as you like.

If your project tree is not refreshed immediately, press F5 to enforce it.

Consider also the 'Derived' checkbox: right-click an entry in the package explorer, choose properties, check Derived. This may solve part of your problem.

See http://robmayhew.com/eclipse-ignore-folder/

Try right-clicking "Properties" and unchecking all permissions.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!