2016-01-21 47 views
0

我做源排除在下列方式我的Eclipse項目:如果日食商店源排除

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

但是,在Eclipse中存儲這些刺?

回答

1

篩選器存儲在filteredResources條目中項目的.project文件中。

例如:

<?xml version="1.0" encoding="UTF-8"?> 
<projectDescription> 

    ... other things ... 

    <filteredResources> 
     <filter> 
      <id>1453390382837</id> 
      <name></name> 
      <type>5</type> 
      <matcher> 
       <id>org.eclipse.ui.ide.multiFilter</id> 
       <arguments>1.0-name-matches-false-false-xxx</arguments> 
      </matcher> 
     </filter> 
    </filteredResources> 
</projectDescription> 

注意:你不應該試圖直接改變.project文件。​​類具有插件可用於更改過濾器的方法。

+0

奇怪的是,我的.project文件中沒有 vico

+0

您是否設置了任何過濾器?它只在添加過濾器時出現。 –