Posts match “ Eclipse ” tag:

Eclipse build 排除特定文件夹的校验

使用Eclipse版本

Eclipse Luna

背景

项目引进了一些前端模块node_modules,使得build需要耗费很长的时间。

方法

  1. Window --> Navigator --> Show View
  2. 在Navigator窗口,鼠标右键点击先要排除的文件夹,选择properties --> Resouurce,在Attributes区域选中Derived。

其他版本Eclipse

  1. Right-click on your project and select Properties.
  2. Choose Validation from the left-nav menu.
  3. If it is not already selected choose "Enable project specific settings".
  4. Find the validator that is relevant for what you want to exclude and click the "..." in the Settings column.
  5. Highlight the Exclude Group and click Add Rule. (If you don't have any existing exclusions you may have to add an Exclude Group.)
  6. Select Folder or file name as the Filter Type.
  7. Click Next.
  8. Select Browse Folder and find the folder you want to exclude.

Reference

Exclude directories & subdirectories from validation in Eclipse