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'
}
}
% gradle war
FAILURE: Build failed with an exception.
* Where:
Build file '<myproject>/build.gradle' line: 66
* What went wrong:
A problem occurred evaluating root project 'testwicket-war'.
Cause: org.gradle.api.tasks.bundling.War_Decorated cannot be cast to
org.gradle.api.internal.file.copy.ReadableCopySpec
* Try:
Run with -s or -d option to get more details. Run with -S option to get the
full (very verbose) stacktrace.
BUILD FAILED
Total time: 2.779 secs
I'd appreciate some help getting started with gradle, looks like a fine
alternative to ant.
-Gianni
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email