We are using gradle .7 and trying to filter a file on copy.
We are using the following:
task('gwtCopyFilter', type:Copy) {
from('src/com/itsolut/affiliate/client') {
include '**/*.properties'
filter(ReplaceTokens, tokens:[version:'2.3.1'])
}
into 'build/target/config'
}
Which was taken almost verbatim from the javadoc:
http://gradle.org/0.7/docs/javadoc/index.html?org/gradle/api/tasks/copy/CopySpec.html
We are getting the following error:
Cause: No such property: ReplaceTokens for class:
org.gradle.api.internal.tasks.copy.CopySpecImpl
Am I doing something wrong, or does this not work with .7?
Thanks,
Chris...
--
View this message in context:
http://old.nabble.com/Copy-with-Filter-.7-tp27726064p27726064.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email