On 26/07/10 3:07 PM, Gianni wrote:
Just getting my feet wet with gradle and a basic java / Wicket project.
My html files are stored alongside the java sources and I need to copy these to 
the root of the war, maintaining the directory tree.

 From looking at the docs this should do it but I get the exception below.

war {
   from('src/main/java') {
     include '**/*.html'
   }
}

This should work. Which version of Gradle are you using? Could you run your build with the -s option, and send in the stacktrace?


--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to