title: How to include extra files when building a war?
body: <p>I am trying to add a dir (<code>garils-app/store</code>) to my war like this on my <code>BuildConfig.groovy</code>.  </p>
  
  <pre><code>grails.war.resources = {stagingDir,args-&gt;
      copy(file: "grails-app/store/**", toFile: "${stagingDir}/store")
  }
  </code></pre>
  
  <p>But when I try to build the war file I am getting this error:  </p>
  
  <hr>
  
  <p><code>| Error WAR packaging error: Warning: Could not find file  /home/codehx/git/appName/grails-app/store/** to copy</code>. </p>
  
  <p>It looks like grails is not considering the <code>**</code> as wild cards, am I having any error? Or if it is not  possible how can I recursively copy the content of <code>store</code> dir to my war file.</p>