title: Resources not copied to output path in IntelliJ 12.1.4
body: <p>I seem to have done something to tell IntelliJ to not copy source resources (e.g. XML and property files) to the compiler output folder.</p>
  
  <p>Resources are not being copied to the Compiler output path. <strong>Test</strong> resources are copied to the test ouput folder, but no <strong>source</strong> resources are copied.</p>
  
  <p><strong>Source folder:</strong> <code>src</code> </p>
  
  <p>(this is <code>C:\dev\myproject\src</code> and contains XML files)</p>
  
  <p><strong>Test Source folder:</strong> <code>tests\integration\src</code> </p>
  
  <p>(this is <code>C:\dev\myproject\tests\integration\src</code> and contains XML files)</p>
  
  <p><strong>Compiler output:</strong></p>
  
  <ul>
  <li>Use module compile output path</li>
  <li>Output path: <code>C:\dev\myproject\build\classes</code></li>
  <li>Test output path: <code>C:\dev\myproject\build\test</code></li>
  </ul>
  
  <p>Settings -> Compiler -> Resource patterns: 
  <code>?*.properties;?*.xml;?*.gif;?*.png;?*.jpeg;?*.jpg;?*.html;?*.dtd;?*.tld;?*.ftl</code></p>
  
  <p>This is preventing me from running integration tests which load files from the classpath. (I do not have full control over the structure of this legacy project and most of the other developers use Eclipse.)</p>
  
  <p>Can anyone give me some pointers as to what I need to do in order to have IntelliJ copy the resource to the output folders?</p>