title: Eclipse CDT specify only some folders as resource
body: <p>In eclipse CDT 4.2 i want to include only few folders as resource.
  eg "/root" is the place where project "myproject" is created. I want to include only these folders and exclude any others.</p>
  
  <ul>
  <li>/root/A</li>
  <li>/root/B</li>
  <li>/root/C/D</li>
  </ul>
  
  <p>I am aware that this can be done in </p>
  
  <pre><code>   Project -&gt; Resource -&gt; Resource Filters
  </code></pre>
  
  <p>But the UI there is confusing me. </p>
  
  <ul>
  <li>What is the difference between Location and Relative path.  </li>
  <li>The check box "Apply recursively" is also confusing me a bit. </li>
  <li>There is a way to  specify regular expression but if I put a regex starting with *, like  */root/A/* or */myproject/A/*  it will give error saying "Dangling meta character near index 0".</li>
  </ul>
  
  <p>In short because of these seemingly confusing options (to me) I am not yet able to acheive above. Please clarify</p>
  
  <p>PS :  The way source lies in linux my file system and proprietary source control system they all are links. Not sure if this matters , but just mentioning.</p>
  
  <p>eg
  root/A/file.c  -->  [link to version control system for file.c]</p>